QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#409529#5314. Zombie's Treasure ChestZhangYiDeAC ✓24ms3740kbC++141.1kb2024-05-12 10:50:342024-05-12 10:50:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 24ms
memory: 3740kb

input:

200
2147483647 1 2147483647 2147483647 1
1000000000 30000 30000000 20000 19999999
999999999 10000 2147483647 9999 2137483647
999999999 100000 2147483647 99998 2137483647
2000000000 12345 54321 54321 200000
1000000 10000007 9 1 1
1 2 2 2 2
9 9 8 9 10
1000000005 876 875 567 566
2000000000 10000001 100...

output:

Case #1: 4611686014132420609
Case #2: 999999999998
Case #3: 214748354700000
Case #4: 21474826470000
Case #5: 8800436568
Case #6: 1000000
Case #7: 0
Case #8: 10
Case #9: 998858410
Case #10: 199003333267
Case #11: 2666666666
Case #12: 2666666664
Case #13: 268435455010000
Case #14: 4294967288
Case #15:...

result:

ok 200 lines