Buu-Zaid's blog

By Buu-Zaid, history, 9 years ago, In English

i get Idleness limit exceeded on test 1,

Problem: 680C — Bear and Prime 100 [Submission]

What that's mean or how can i fix it, please.

  • Vote: I like it
  • -4
  • Vote: I do not like it

| Write comment?
»
9 years ago, hide # |
 
Vote: I like it +13 Vote: I do not like it

Change printf("%dn", a); to printf("%d\n", a); in bool divisible(int).

AC solution: 32737927

  • »
    »
    9 years ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    why it get Idleness limit exceeded and not Wrong Answer
    and what that mean ?

    • »
      »
      »
      9 years ago, hide # ^ |
       
      Vote: I like it +2 Vote: I do not like it

      Idleness limit exceeded occurs when your program stays idle (waiting for user/interaction program) for long time.

      I'm not sure why is it not WA instead of Idleness limit exceeded. My guess is that interaction program expects a newline and thus keeps on waiting for your program.