A question about FPC

Revision en2, by Delta-Sagittarius, 2021-12-18 20:51:23

https://codeforces.me/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.me/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.

Tags fpc

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Delta-Sagittarius 2021-12-18 20:51:23 59
en1 English Delta-Sagittarius 2021-12-18 20:48:51 579 Initial revision (published)