QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#421978#4216. Funny Salesmanegypt_ioi2024_10WA 1ms3632kbC++202.3kb2024-05-26 15:38:422024-05-26 15:38:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3628kb

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

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: -100
Wrong Answer
time: 0ms
memory: 3632kb

input:

2
2 1 20

output:

2097152

result:

wrong answer 1st numbers differ - expected: '1048576', found: '2097152'