It prints 11 and 10 for
2
Qb 999999999 1000000000
Qr 999999999 1000000000
and it should be 10 and 11…
It prints 11 and 10 for
2
Qb 999999999 1000000000
Qr 999999999 1000000000
and it should be 10 and 11…
Can you inspect this solution also. Only one subtask was giving WA and rest all were accepted. Can’t figure out the problem in this.
http://www.codechef.com/viewsolution/5345645
It prints 22 and 23 for
2
Qb 999999999 1000000000
Qr 999999999 1000000000
first subtask has x and y less than 1000
I missed from your comment, that you are interested only in subtask 1, sorry…
Getting all cases I could think of right. Submitted 3 times… still couldn’t get any points. I checked against all test cases in above editorial but working for all and giving right answer but on submission getting WA. Any help would be appreciated.
http://www.codechef.com/viewsolution/5403607
I know it’s easier to ask, but please read the forum before asking. It’s not working for http://ideone.com/hH1YKh , and it mentioned already…
Hello all
If someone need setter’s solution here is the link…
Can someone help me with the 2 test cases where my code fails to give the correct answer?
My solution: http://www.codechef.com/viewsolution/5648945
It would be really helpful.Thank You.