QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#51202#852. JellyfishMaMengQiWA 182ms3860kbC++171.3kb2022-10-01 13:49:112022-10-01 13:49:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
6
1 2
2 3
3 4
4 1
2 5
2 6
4
1 2
2 3
3 4
4 1

output:

4
3

result:

ok 2 number(s): "4 3"

Test #2:

score: -100
Wrong Answer
time: 182ms
memory: 3768kb

input:

85665
6
3 2
4 1
4 6
2 1
2 6
5 1
7
6 2
6 3
5 1
1 2
2 4
4 7
3 7
7
6 1
6 7
1 4
1 3
7 5
5 3
4 2
7
6 2
7 4
7 5
3 1
3 4
2 5
1 4
7
7 2
2 6
5 4
5 6
5 1
3 1
4 6
7
3 5
3 1
3 7
3 2
5 1
5 4
4 6
7
4 5
4 1
3 6
3 7
6 7
6 1
2 1
7
5 3
7 3
1 4
6 2
6 3
2 3
4 3
7
2 3
2 6
2 4
7 5
3 5
5 1
1 4
7
3 4
3 7
5 6
2 7
4 6
6 7
6 ...

output:

3
4
4
4
4
4
4
5
4
4
4
5
3
4
5
4
4
4
4
4
4
4
4
4
3
5
4
31
3
4
3
4
11
4
100
4
4
4
5
4
4
5
4
4
4
4
4
4
4
4
5
4
4
4
101
4
4
4
4
5
4
4
3
5
4
4
3
4
4
4
4
4
5
4
4
5
4
4
3
3
4
5
4
4
4
4
4
5
4
4
4
4
4
4
5
4
4
4
4
3
4
3
4
4
4
4
4
6
5
4
5
4
4
3
4
4
4
3
4
18
5
4
3
4
4
4
4
4
5
4
4
4
4
4
3
4
3
4
5
101
4
101
4
4
4...

result:

wrong answer 1st numbers differ - expected: '4', found: '3'