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 1755. Cake

if you have WA # 15 try this test cases
Posted by Adhambek 17 Dec 2015 10:38
input 1:
1 2 0 1
10 10

output 1:
10 5

input 2:
1 2 1 0
10 10

output 2:
5 10

input 3:
1 2 0 0
10 10

output 3:
10 10


Edited by author 17.12.2015 10:39
Re: if you have WA # 15 try this test cases
Posted by grandmike 19 Mar 2016 17:06
Thank you
And it's really strange that in these three cases if I output
0 5
5 0
0 0
I will get a WA...., if I output the another answers I will get AC...
why?