Delta-Sagittarius's blog

By Delta-Sagittarius, history, 3 years ago, In English

https://codeforces.net/contest/1620/submission/139785121

Here is my code, anyone can find this code is O(n) time complexity. I tried to read the string using different read methods, but I got a verdict of exceeding the time limit at the fifth test point.

https://codeforces.net/contest/1620/submission/139786622

After converting the FPC code to C++ code, I get the Accepted verdict.

I would like to know why FPC is getting out of time limit.

Thanks in advance for reading and replying.

Full text and comments »

Tags fpc
  • Vote: I like it
  • +12
  • Vote: I do not like it