QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#535089#6852. Escape The Mazerotcar08WA 1087ms20780kbC++201.7kb2024-08-27 19:41:362024-08-27 19:41:36

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1087ms
memory: 20780kb

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:

2352464929
584430625
385965316
420865225
2352464929
662650564
641601
568516
18003913
9663737
33396841
2050624
2577665
307307405
1674773776
21335161
7171211
71644611
99225
17161
3139984
2541456
724201
46057505
77471798
4471616
4
1
4611360649
177795556
0
0
1
834747664
1387786009
0
10673289
51022449
10...

result:

wrong answer 1st lines differ - expected: '662650564', found: '2352464929'