Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя Delta-Sagittarius

Автор Delta-Sagittarius, история, 3 года назад, По-английски

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
  • Проголосовать: нравится
  • +12
  • Проголосовать: не нравится