ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1102. Strange Dialog

TLE on first test
Posted by SergeiEgorov 12 Jul 2015 03:29
I don't know why my O(N) solution is crashing on 1st test.

Code on C++11: http://ideone.com/BZIoKv

Maybe I don't know some disadvantages of C++? Or it's my algorithm error?