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.