QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#475816#8649. Escape Route 2egypt_ioi2024b_05#0 30ms4724kbC++201.2kb2024-07-13 16:46:102024-07-13 16:46:11

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 6
Accepted
time: 29ms
memory: 3704kb

input:

2 1000000000
1
359893566 955414858
300000
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 2
1 ...

output:

595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
595521292
...

result:

ok 300000 lines

Test #2:

score: -6
Wrong Answer
time: 30ms
memory: 3712kb

input:

1384 702597566
1
93593482 288383752
1
483624997 516514674
1
217174776 378882844
1
381889032 694179867
1
143192510 343368096
1
20552425 654877612
1
34995000 223673833
1
86047336 507288111
1
58193455 564074888
1
543118270 579455813
1
42236607 257802041
1
244371899 634806939
1
173261583 634917538
1
245...

output:

152061320763
364193581975
101659406868
515885206553
274194849315
114948644944
78174598637
549857539900
166739547543
266640269522
36194858709
249707922175
12419530470
164111155048
607789899481
370597406072
100093371327
352403994035
72528927782
103159057004
26381006285
335577444460
126061743618
214062...

result:

wrong answer 5th lines differ - expected: '273965799122', found: '274194849315'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #1:

0%

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Wrong Answer

Test #39:

score: 0
Wrong Answer
time: 22ms
memory: 4724kb

input:

301 1000000000
300
863578477 865166395
261293731 262628986
290161866 292035987
31029640 32135494
288138979 289416854
321254857 322352244
163393949 166291828
897880953 899050317
840019366 842900569
100947276 102350870
520716771 522094941
820182602 822928836
766708508 769688128
727827782 728874133
740...

output:

139882722805
31650667000
139882722805
50270904865
58271873003
89144384981
4393639085
8462820269
57609971094
79346900593
15189199548
9131216746
34284753510
58475162582
4943174503
87080217989
25819357997
63551754937
24398281743
4875796947
1098614158
91305001310
15719452722
62444552824
83774376385
4224...

result:

wrong answer 1st lines differ - expected: '996840913', found: '139882722805'

Subtask #6:

score: 0
Skipped

Dependency #1:

0%