QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505529#5940. New Lottery Gamexiaowuc132 ✓3ms3764kbC++172.5kb2024-08-05 05:57:022024-08-05 05:57:04

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 8
Accepted

Test #1:

score: 8
Accepted
time: 2ms
memory: 3684kb

input:

100
107 561 44
19 49 404
198 395 134
310 963 858
99 57 33
355 722 221
244 350 366
684 13 5
512 512 1
293 716 38
409 880 100
513 513 256
1 4 1
95 630 19
1 3 1
776 308 881
370 818 237
1000 1000 1
222 952 162
384 765 35
461 679 352
364 909 291
19 400 10
5 3 3
152 265 505
825 332 300
631 142 198
1 4 5
2...

output:

Case #1: 46539
Case #2: 931
Case #3: 72746
Case #4: 298530
Case #5: 5043
Case #6: 228876
Case #7: 85400
Case #8: 6597
Case #9: 19683
Case #10: 111700
Case #11: 239920
Case #12: 197632
Case #13: 4
Case #14: 35711
Case #15: 3
Case #16: 239008
Case #17: 266945
Case #18: 58779
Case #19: 200904
Case #20:...

result:

ok 100 lines

Subtask #2:

score: 24
Accepted

Test #2:

score: 24
Accepted
time: 3ms
memory: 3764kb

input:

100
223 527 104
2 4 5
512 512 257
370 818 237
512 512 513
691 575 800
491 414 138
3 2 1
152 265 505
492 858 53
1 1 1
1 1 2
846712610 321450866 947043398
47 149 790
89912840 508867156 894493829
45 56 35
3 4 2
908 591 727
1 4 5
495198651 529166847 616884788
2 3 5
772 502 350
244 923 237
1 4 1
72353043...

output:

Case #1: 91409
Case #2: 8
Case #3: 203169
Case #4: 266945
Case #5: 262144
Case #6: 397325
Case #7: 146852
Case #8: 5
Case #9: 40280
Case #10: 197477
Case #11: 1
Case #12: 1
Case #13: 272176501737620260
Case #14: 7003
Case #15: 45753691178683040
Case #16: 2411
Case #17: 10
Case #18: 536628
Case #19: ...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed