QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#590711#4811. Be CarefulhanjinghaoWA 1ms5744kbC++233.8kb2024-09-26 10:25:452024-09-26 10:25:46

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3736kb

input:

5
1 2
1 3
2 4
2 5

output:

55
127
34
0
0
0

result:

ok 6 numbers

Test #2:

score: 0
Accepted
time: 1ms
memory: 5700kb

input:

8
1 2
1 3
1 4
1 5
1 6
6 7
6 8

output:

69632
265534
133905
47790
12636
1944
0
0
0

result:

ok 9 numbers

Test #3:

score: 0
Accepted
time: 1ms
memory: 5564kb

input:

3
1 2
2 3

output:

1
3
0
0

result:

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

Test #4:

score: 0
Accepted
time: 0ms
memory: 3492kb

input:

2
1 2

output:

2
1
0

result:

ok 3 number(s): "2 1 0"

Test #5:

score: -100
Wrong Answer
time: 1ms
memory: 5744kb

input:

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

output:

1755647
612579511
225159022
835982886
448562397
61141908
671965772
284545283
895369147
507948658
0

result:

wrong answer 3rd numbers differ - expected: '359376750', found: '225159022'