Блог пользователя baal-hammon

Автор baal-hammon, история, 9 лет назад, По-английски

hello

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

here is my code : (http://mirror.codeforces.com/contest/550/submission/11450063)

can anyone help me

thanks!

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

»
9 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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.