IDLENESS_LIMIT_EXCEEDED in C# 10

Revision ru1, by orloffm, 2022-08-07 18:17:27

I can't figure out a way to unblock 1713D - Отсчет турнира. I used some wrappers over Console for easier testing, but even with pure Console usage it gets stuck on test 3: 167411234.

I do:

Console.WriteLine("? 1 2");
Console.Out.Flush();

And perform all reads by Console.ReadLine() only.

What can be the reason for this?

Tags c#, flush, interactive problem

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English orloffm 2022-08-07 18:22:30 396 changed submission
ru1 Russian orloffm 2022-08-07 18:17:27 396 Первая редакция (опубликовано)