QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#496731#4218. Hidden GraphGuanYunchangWA 1ms3764kbC++231.8kb2024-07-28 15:25:352024-07-28 15:25:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1ms
memory: 3608kb

input:

10
1 2
1 3
-1 -1
1 4
-1 -1
-1 -1
2 5
-1 -1
2 6
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1

output:

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

result:

wrong answer read 5 edges but expected 12 edges