QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#570141#4218. Hidden GraphZ_301WA 1ms3700kbC++171.7kb2024-09-17 14:13:502024-09-17 14:13:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 2
-1 -1
1 3
-1 -1
2 3
-1 -1

output:

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

result:

ok correct

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3700kb

input:

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

output:

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

result:

wrong answer read 13 edges but expected 12 edges