QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#424185#8649. Escape Route 2egypt_ioi2024_01#0 1700ms376228kbC++233.6kb2024-05-29 01:26:122024-05-29 01:26:12

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 6
Accepted
time: 92ms
memory: 7764kb

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: 99ms
memory: 23416kb

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:

5524492058
2931751026
3204229770
3296009411
140432675
5585607910
410490728
1185739789
1600683513
5524492058
-466605547
1897420373
1778801671
5524492058
1137998993
-33401825
1064843882
3511460479
-939012822
7891517608
4244614710
3530174573
-778700707
8337621631
-1248544714
3738829090
800701515
335922...

result:

wrong answer 1st lines differ - expected: '152061320763', found: '5524492058'

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: 1700ms
memory: 376228kb

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:

996840913
213467673
996840913
423398125
423378897
850077389
23398481
103459749
423597503
633470641
210017859
103407643
243415666
690115595
50052816
850090375
423410974
576757441
210250569
50087559
10186037
726690680
103435144
670215539
773437503
423408419
846859835
796694371
850061441
326853179
1034...

result:

wrong answer 4th lines differ - expected: '350088722', found: '423398125'

Subtask #6:

score: 0
Skipped

Dependency #1:

0%