QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505463#5815. Fair Warningxiaowuc133 ✓94ms10948kbPython3391b2024-08-05 05:34:012024-08-05 05:34:01

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 15ms
memory: 10780kb

input:

100
3 11000000 6000000 26000000
3 1 10 11
3 84815862 84815862 36597948
3 2394376 93617267 2394376
2 34594759 10193477
2 31316082 98629191
3 27769983 27769983 95605217
3 39892856 39892856 282255
2 45688842 93423114
3 45117151 91470788 91470788
2 38747780 88907855
3 26408962 26408962 69014035
3 406909...

output:

Case #1: 4000000
Case #2: 0
Case #3: 11619966
Case #4: 88828515
Case #5: 14207805
Case #6: 35997027
Case #7: 40065251
Case #8: 39328346
Case #9: 2045430
Case #10: 1236486
Case #11: 11412295
Case #12: 16196111
Case #13: 31776111
Case #14: 19080647
Case #15: 24425780
Case #16: 3143529
Case #17: 262356...

result:

ok 100 lines

Subtask #2:

score: 23
Accepted

Test #2:

score: 23
Accepted
time: 94ms
memory: 10948kb

input:

100
2 900000000000000000001 800000000000000000001
50 136843742375290588405581036 258482624486660000321653068 182458323167054117874108048 91229161583527058937054024 212868043694896470853126056 121638882111369411916072032 273687484750581176811162072 212868043694896470853126056 167253462903132941384599...

output:

Case #1: 99999999999999999999
Case #2: 0
Case #3: 3535015614145262170061421
Case #4: 0
Case #5: 3243479586566191913274662390377680584353
Case #6: 0
Case #7: 1
Case #8: 9999999999999999999999999999999999999999999999999
Case #9: 456439853299441
Case #10: 10320107876204731343551090104230485099
Case #11...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed