QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#73934#4811. Be CarefuldcmfqwWA 2ms5400kbC++143.6kb2023-01-29 17:03:412023-01-29 17:03:44

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3348kb

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: 3332kb

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: 0ms
memory: 5400kb

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: 1ms
memory: 1880kb

input:

2
1 2

output:

2
1
0

result:

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

Test #5:

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

input:

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

output:

1755647
612579511
359376750
200038110
104287680
49974120
21379680
7771680
2177280
362880
0

result:

ok 11 numbers

Test #6:

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

input:

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

output:

56953279
100000000
0
0
0
0
0
0
0
0
0

result:

wrong answer 1st numbers differ - expected: '114358881', found: '56953279'