A question about FPC

Правка en2, от 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.

Теги fpc

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Delta-Sagittarius 2021-12-18 20:51:23 59
en1 Английский Delta-Sagittarius 2021-12-18 20:48:51 579 Initial revision (published)