QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#466702#4216. Funny Salesmanegypt_ioi2024b_05WA 0ms3804kbC++203.4kb2024-07-08 03:25:082024-07-08 03:25:09

詳細信息

Test #1:

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

input:

5
1 2 0
2 3 0
3 4 0
4 5 1

output:

6

result:

ok 1 number(s): "6"

Test #2:

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

input:

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

output:

42

result:

ok 1 number(s): "42"

Test #3:

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

input:

2
2 1 20

output:

1048576

result:

ok 1 number(s): "1048576"

Test #4:

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

input:

5
4 2 25
5 4 0
5 3 16
5 1 28

output:

603979776

result:

ok 1 number(s): "603979776"

Test #5:

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

input:

8
3 2 2
3 4 27
6 3 2
1 6 9
5 7 24
8 5 23
8 1 3

output:

318767616

result:

ok 1 number(s): "318767616"

Test #6:

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

input:

4
1 2 6
4 1 26
4 3 10

output:

201326592

result:

ok 1 number(s): "201326592"

Test #7:

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

input:

3
2 1 2
2 3 3

output:

16

result:

ok 1 number(s): "16"

Test #8:

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

input:

3
1 2 10
1 3 26

output:

134217728

result:

ok 1 number(s): "134217728"

Test #9:

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

input:

10
1 4 15
6 2 23
1 7 20
1 9 29
1 3 1
6 1 4
10 6 12
8 5 13
8 10 20

output:

1095761920

result:

ok 1 number(s): "1095761920"

Test #10:

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

input:

5
2 3 2
2 5 16
4 1 14
4 2 26

output:

268435456

result:

ok 1 number(s): "268435456"

Test #11:

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

input:

9
7 8 3
3 5 13
7 3 3
2 9 20
4 2 21
1 4 0
7 1 30
6 7 14

output:

8589934592

result:

ok 1 number(s): "8589934592"

Test #12:

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

input:

4
4 3 5
2 4 25
1 2 10

output:

100663296

result:

ok 1 number(s): "100663296"

Test #13:

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

input:

3
3 1 19
3 2 22

output:

8388608

result:

ok 1 number(s): "8388608"

Test #14:

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

input:

8
2 5 13
2 4 10
6 1 14
8 2 8
6 8 8
3 7 6
6 3 8

output:

51456

result:

ok 1 number(s): "51456"

Test #15:

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

input:

2
1 2 12

output:

4096

result:

ok 1 number(s): "4096"

Test #16:

score: -100
Wrong Answer
time: 0ms
memory: 3636kb

input:

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

output:

15041037456

result:

wrong answer 1st numbers differ - expected: '34225520640', found: '15041037456'