QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#183219#7249. Jimi HendrixcnyzWA 3ms17444kbC++142.0kb2023-09-19 11:41:032023-09-19 11:41:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

9 3
1 2 a
2 3 b
2 4 a
4 5 b
4 6 c
6 7 d
6 8 a
8 9 b
acb

output:

8 5

result:

ok Both jury and contestant have lovely and correct paths :)

Test #2:

score: 0
Accepted
time: 3ms
memory: 17304kb

input:

2 1
1 2 b
b

output:

2 1

result:

ok Both jury and contestant have lovely and correct paths :)

Test #3:

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

input:

2 1
1 2 k
p

output:

-1

result:

wrong output format Unexpected end of file - int32 expected