QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#109570#4915. 海胆slime0 3517ms215328kbC++1410.2kb2023-05-29 19:23:112023-05-29 19:23:15

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Accepted
time: 6ms
memory: 27064kb

input:

10
1 3
3 4
1 2
5 2
5 6
2 6
3 4
2 9
2 1
3 1
5
1 10
9 10
3 10
1 7
4 9

output:

4
0
3
3
1

result:

ok 5 number(s): "4 0 3 3 1"

Test #2:

score: -5
Wrong Answer
time: 13ms
memory: 28672kb

input:

97
4 1
1 2
6 7
1 3
7 6
3 1
4 5
1 2
3 5
3 2
29 2
31 94
8 80
32 8
46 8
8 31
31 29
32 29
12 32
2 1
1 3
7 2
6 8
3 2
3 2
3 4
5 1
2 3
3 2
4 1
4 8
5 3
1 2
2 1
4 9
1 3
2 4
6 5
62 9
7 27
27 64
88 27
88 64
27 9
6 9
2 3
8 5
5 7
8 4
5 4
1 2
3 2
10 5
2 1
1 2
2 5
2 1
2 1
5 3
9 2
1 3
3 2
1 3
3 5
3 4
2 4
4 6
3 1
2 ...

output:

71
0
4
19
9
0
44
1
12
16
0
56
12
5
44
52
40
4
0
46
33
25
12
0
4
62
50
28
59
25
10
27
43
21
27
2
13
46
0
46
33
66
1
40
32
32
62
45
8
3
38
32
26
50
52
22
3
0
12
21
14
33
2
9
21
58
4
39
14
0
52
33
10
20
20
45
52
45
22
29
24
4
40
0
16
21
47
40
33
27
22
24
38
8
49
26

result:

wrong answer 1st numbers differ - expected: '87', found: '71'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Wrong Answer

Test #22:

score: 0
Wrong Answer
time: 3517ms
memory: 215328kb

input:

1000000
1 2
1 4
2 1
3 6
6 5
1 3
10 5
2 4
9 6
3 2
1 2
5 1
4 3
1 3
1 4
2 9
6 4
1 2
1 2
1 2
3 4
3 4
7 5
1 2
1 2
2 1
7 8
1 2
5 4
1 3
2 1
4 2
1 4
1 4
4 2
1 3
1 3
7 4
3 4
3 2
2 1
1 2
1 2
2 5
10 6
2 3
2 5
7 2
5 4
4 5
5 7
2 1
8 5
2 1
2 1
1 3
4 6
3 1
2 5
4 8
6 3
1 4
1 2
1 3
9 8
6 5
3 4
3 2
1 3
4 2
1 6
2 1
1 ...

output:

574119

result:

wrong answer 1st numbers differ - expected: '11235160', found: '574119'

Subtask #6:

score: 0
Time Limit Exceeded

Test #27:

score: 0
Time Limit Exceeded

input:

1000000
194603 719066
675018 226509
79442 45350
917512 353429
61308 216895
411878 891116
152492 299355
285259 500703
362450 305858
809620 298590
353068 307896
594296 243696
962716 546635
865529 461074
454115 255260
569303 319052
266164 139614
575510 107514
840723 802795
583117 41941
891173 661899
94...

output:


result:


Subtask #7:

score: 0
Skipped

Dependency #4:

0%