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!