QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#464252#6303. Inversionegypt_ioi2024b_05WA 40ms18684kbC++201.8kb2024-07-05 23:29:542024-07-05 23:29:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
0
0

output:

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

result:

ok OK, guesses=3

Test #2:

score: -100
Wrong Answer
time: 40ms
memory: 18684kb

input:

1993
0
1
0
0
0
0
1
1
0
0
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
0
1
1
1
0
0
1
1
0
0
0
0
1
1
1
1
0
1
1
0
0
1
1
1
1
1
1
0
0
1
0
1
1
1
0
1
1
0
1
1
1
1
0
0
1
1
0
1
0
0
1
0
0
0
1
1
0
1
1
0
1
1
1
1
0
0
1
1
1
1
0
1
0
0
0
1
0
1
1
0
1
0
1
0
1
0
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
1
1
0
0
1
0
0
0
1
0
1
0
1
1
0
0
0
0
1
0
1...

output:

? 1992 1993
? 1990 1991
? 1991 1992
? 1990 1992
? 1990 1993
? 1991 1993
? 1988 1989
? 1986 1987
? 1987 1989
? 1987 1988
? 1986 1988
? 1989 1991
? 1989 1990
? 1989 1992
? 1989 1993
? 1987 1993
? 1988 1993
? 1987 1992
? 1988 1992
? 1986 1993
? 1986 1992
? 1984 1985
? 1982 1983
? 1982 1984
? 1983 1984
...

result:

wrong output format Unexpected end of file - int32 expected