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 1890. Money out of Thin Air

WA5
Posted by lzh 2 Jul 2016 06:30
i have used long long  and   scanf
still wa
who can help me?plz  0.0
Re: WA5
Posted by Smilodon_am [Obninsk INPE] 23 Feb 2019 00:46
Below test helped me to pass test 5 after WA verdict:
5 6 4
0 6
0 3
0 7
0 8
department 1 10 1
department 2 10 1
department 3 10 1
department 4 10 1
department 0 7 10
department 0 500000000 1000000000

As you can check manually, correct answer is:
1000000014
1000000017
1000000014
1000000018
1000000019
Re: WA5
Posted by YDZz 23 Sep 2019 01:58
it really helps,thanks bro