QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#153046#4218. Hidden GraphhyforcesWA 2ms3772kbC++202.3kb2023-08-29 09:56:482023-08-29 09:56:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 2ms
memory: 3712kb

input:

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

output:

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

result:

wrong answer read 8 edges but expected 12 edges