Блог пользователя maviator

Автор maviator, 10 лет назад, По-английски

[contest:http://codeforces.com/contest/471] Hey guys,

I'm trying to solve the D problem of the Codeforces Round 269 Div2, I used Z-algorithm for solving it. For the first test case given, the code gives me the correct output when testing on local PC but gives different output when submitted. Anyone has an idea why is this problem ? Thanks This is my submission

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор maviator, 10 лет назад, По-английски

377A - Maze [contest:http://codeforces.com/contest/377] Hello guys,

I need help for identifying what's wrong with my solution for problem Maze. It is getting me TLE on test case 11, I found out that the test never passes the first input. I can't find why my solution passes larger input and get TLE on this one. Any help please ?

P.S: This is my first post and I don't know if this is the proper place to ask this kind of questions.

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится