QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#60873#4654. TreeHolyKWA 803ms8112kbC++174.1kb2022-11-07 23:40:422022-11-07 23:40:43

詳細信息

Test #1:

score: 0
Wrong Answer
time: 803ms
memory: 8112kb

input:

100
7 12
1 3
2 1
1 4
5 1
4 7
6 5
2 3
4 6
3 1
6 4
7 1
1 2
2 2
2 1
1 2
50 49
49 29
41 33
41 48
27 46
41 36
9 1
41 7
17 12
23 10
8 15
32 6
21 45
18 40
49 21
41 17
41 8
2 35
17 16
38 31
13 5
32 20
36 3
25 18
29 47
29 37
15 23
11 13
29 9
47 44
29 39
41 27
25 28
36 25
19 42
27 38
45 34
15 19
14 24
11 43
1...

output:

2 3 1 4 2 6 2
1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 0
275294437 275294437 275294437 275294437 275294437 275294437 275294437 275294...

result:

wrong answer 7th lines differ - expected: '850518977 850518977 850518977 ...7 850518977 850518977 850518977', found: '275294437 275294437 275294437 ...7 275294437 275294437 275294437'