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

[RSU_Tash]Nodirbek_Kuklamov Be carefull !!! WA2 is simple [3] // Problem 1680. The First Nonqualifying 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
Tihon Molotkov`~ Re: Be carefull !!! WA2 is simple // Problem 1680. The First Nonqualifying 16 Jun 2019 10:09
Thanks!
Big_Smoke Re: Be carefull !!! WA2 is simple [1] // Problem 1680. The First Nonqualifying 26 Nov 2019 02:39


Edited by author 26.11.2019 02:40
Hristo Nikolaev (B&W) Re: Be carefull !!! WA2 is simple // Problem 1680. The First Nonqualifying 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"