ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1680. The First Nonqualifying

Be carefull !!! WA2 is simple
Posted by [RSU_Tash]Nodirbek_Kuklamov 3 Dec 2011 13:17
You must find the first team that may go final if q wil be q+1. You mustn't output the team after q th finalist.
Example:
2012 6 3
SPBU ITMO # 1   (finalist)
URAL SU # 1    (finalist)
SPBU ITMO # 2
SARATOV SU # 3  (finalist)
URAL SU # 2   (not finalist !!!)
SPBU SU # 1   (answer)

Edited by author 03.12.2011 13:18
Re: Be carefull !!! WA2 is simple
Posted by Tihon Molotkov`~ 16 Jun 2019 10:09
Thanks!
Re: Be carefull !!! WA2 is simple
Posted by Big_Smoke 26 Nov 2019 02:39


Edited by author 26.11.2019 02:40
Re: Be carefull !!! WA2 is simple
Posted by Hristo Nikolaev (B&W) 7 Dec 2022 21:12
And one more thing to look for - after the number is removed, make sure any white spaces are trimmed at the end.

i.e. "SPBU SU " should be "SPBU SU"