QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#583251#4218. Hidden GraphLeafSeekWA 0ms3768kbC++171.5kb2024-09-22 19:13:232024-09-22 19:13:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 2
1 3
2 3

output:

? 2 1 2
? 2 1 3
? 2 2 3
! 3
1 2
1 3
2 3

result:

ok correct

Test #2:

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

input:

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

output:

? 2 1 2
? 2 1 3
? 2 2 3
? 1 4
? 2 1 4
? 3 2 3 4
? 1 5
? 1 5
? 2 1 5
? 4 2 3 4 5
? 1 6
? 1 6
? 1 6
? 4 1 3 4 6
? 4 2 3 4 6
? 2 5 6
? 1 7
? 1 7
? 1 7
? 4 1 3 4 7
? 3 3 4 7
? 2 1 7
? 4 2 3 4 7
? 3 5 6 7
? 1 8
? 1 8
? 1 8
? 3 1 4 8
? 2 4 8
? 1 8
? 3 2 4 8
? 2 3 8
? 3 1 7 8
? 3 2 4 8
? 3 5 6 8
? 1 9
? 1 ...

result:

wrong answer read 15 edges but expected 12 edges