baal-hammon's blog

By baal-hammon, history, 8 years ago, In English


I'm getting an error that I couldn't inderstand : "wrong output format Unexpected end of file — int32 expected"

here is my code : (

can anyone help me


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

8 years ago, # |
  Vote: I like it 0 Vote: I do not like it

It seems to be pretty straightforward.

Unexpected end of file — int32 expected

Checker expected an int when it encountered EOF. Why it was expecting an integer? Probably because you said that there will X integers and then didn't output the correct number of integers. In this problem you're saying to checker how many numbers you will output (b), so check that for every possible k you output exactly the same number of ints as you tell.