Блог пользователя sivakd

Автор sivakd, история, 4 года назад, По-английски

The output for https://codeforces.me/contest/1797/problem/C is supposed to be two integers. But in the test cases output, it shows 3 values.

Another interactive problem I attempted recently, https://codeforces.me/contest/1807/problem/E , expects a single value and the test cases show a single value.

So why there are 3 values for 1797/C ? It confused me during the contest making me think I was doing something wrong.

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

»
4 года назад, скрыть # |
 
Проголосовать: нравится +14 Проголосовать: не нравится

Three questions were asked and three answers were given, what's wrong about that?

»
4 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
  1. In interactive problem you do no need to care about the input and output. It is generated by the interactor to determine the verdict.
  2. In this problem, the third number is the number of queries asked.