410800: GYM104118 B Better than Bitcoin
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
B. Better than Bitcointime limit per test1.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputExamplesInput
2 3 7 7 8 2 5Output
2 4Input
3 1859 19 7 1967 2 17 2000 29 29Output
213519321 1086566377 0