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 1701. Ostap and Partners

Anton juver++ Postnikov WA 10 [1] // Problem 1701. Ostap and Partners 11 Apr 2009 01:15
Please, give some useful tests.
ibra (TNU) Re: WA 10 // Problem 1701. Ostap and Partners 21 Aug 2012 18:44
Input:
5 1
1 2 1
Output:
Possible
0
1
0
0
0