QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#438752#8649. Escape Route 2egypt_ioi2024b_03#0 215ms5960kbC++23741b2024-06-11 04:23:122024-06-11 04:23:13

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 6
Accepted
time: 30ms
memory: 5960kb

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: 0
Wrong Answer
time: 215ms
memory: 5584kb

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:

1737465403
-878638185
-1419808236
489131033
-912107822
-1015472048
798718486
101726012
-927208405
352297170
1835120341
599819007
-465371418
902397800
-2095456551
1230218616
1309123519
-298928732
-485516250
-435762595
484367741
569995372
1507692034
-686309986
-763966629
31350422
-900800492
1705037545...

result:

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

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: 36ms
memory: 4816kb

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:

-1851197963
1251427532
-1851197963
-1268702687
-1857669141
-1049928235
-120856026
-218139354
923789359
1945786289
2035430706
541282154
-244309677
-1654379562
648207207
675402834
-309018450
-872754503
-1371522033
580829651
1098614158
1110688094
1990029102
1886892689
1736949664
-1134045753
-1899664720...

result:

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

Subtask #6:

score: 0
Skipped

Dependency #1:

0%