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 1628. White Streaks

give some tests
Posted by {AESC MSU}Vadim Kaushanskiy 12 Oct 2008 17:09
Re: give some tests
Input #1:
1 1 0
Output #1:
1

Input #2:
1 1 1
1 1
Output #2:
0

Input #3:
30000 1 0
Output #3:
1

Input #4:
30000 30000 0
Output #4:
60000

Input #5:
3 3 1
2 2
Output #5:
4

Input #6:
3 3 4
1 2
2 1
2 3
3 2
Output #6:
5

Input #7:
3 3 2
2 1
2 2
Output #7:
3
Re: give some tests
Posted by fishpear 10 Oct 2011 19:10
Input #4:
30000 30000 0
Output #4:
60000

why? I think the answer should be 2
Re: give some tests
Posted by David 8 May 2020 10:58
I'm afraid no