bigdamdam's blog

By bigdamdam, history, 6 hours ago, In English

Hey guys , can someone tell me why my submission keeps getting idleness limit exceed, and what does it exactly mean, i did not find much of material about this.

https://codeforces.me/contest/2001/submission/307267974

  • Vote: I like it
  • +1
  • Vote: I do not like it

»
6 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

use stdout.flush or something like that after taking inputs it should solve it. It's usually due to this only!

  • »
    »
    6 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    i did , but i keep getting the same message

    • »
      »
      »
      5 hours ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      you should add it after print obviously

      • »
        »
        »
        »
        5 hours ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        I did it after print, after input and still getting the same message

»
5 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Actually your logic has issues i believe as i am personally not comfortable with py py so i had it converted to c++ using o3. So you're asking too many inputs i believe the rest part is ok, maybe try a different logic cause your code is asking more inputs then problem statement allows you! you can take reference of the editorial or my solution https://codeforces.me/contest/2001/submission/277395284