QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#458274#6852. Escape The MazeHuangHanShengWA 1332ms29208kbC++202.9kb2024-06-29 16:30:382024-06-29 16:30:39

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1332ms
memory: 29208kb

input:

5
6 -23131
2 1 -65179
3 2 -4529
4 3 869
5 4 -43646
6 3 72319
6
1
2
3
4
5
6
100000 -89702
2 1 90843
3 2 -51373
4 3 -37208
5 4 50738
6 4 -56753
7 2 -22185
8 6 -2522
9 5 6214
10 6 51682
11 2 97227
12 11 -72521
13 3 20844
14 9 -63596
15 1 -811
16 1 -63314
17 14 33366
18 11 -13974
19 5 82109
20 10 -35290...

output:

662650564
584430625
385965316
420865225
2475186580
662650564
-145400116901
-153986039720
-136161682761
-163130993463
-127059672952
-119843706980
-147417316426
-153631252584
-70096852302
-136760444291
25
4
2401
441
400
10201
361
1600
36
5184
-4294967292
-7514816070
316393353
-4117171740
-8377678831
-...

result:

wrong answer 5th lines differ - expected: '2352464929', found: '2475186580'