QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#151264#5555. Chaotic ConstructionZhangYiDeWA 158ms3760kbC++171.6kb2023-08-26 16:12:072023-08-26 16:12:10

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3760kb

input:

10 12
? 1 5
- 2
- 8
? 9 2
? 9 8
? 9 7
? 6 7
? 3 7
? 1 9
? 9 1
+ 8
? 10 3

output:

possible
impossible
impossible
impossible
possible
possible
possible
possible
possible

result:

ok 9 lines

Test #2:

score: 0
Accepted
time: 2ms
memory: 3476kb

input:

20 20
? 17 4
- 11
+ 11
? 16 1
- 8
- 13
? 18 12
? 17 11
? 9 16
+ 8
? 18 4
? 8 4
- 20
- 14
? 7 12
? 19 20
? 6 10
+ 13
? 5 11
+ 20

output:

possible
possible
impossible
impossible
impossible
possible
possible
possible
impossible
possible
possible

result:

ok 11 lines

Test #3:

score: -100
Wrong Answer
time: 158ms
memory: 3484kb

input:

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

output:

possible
impossible
possible
possible
possible
possible
possible
possible
impossible
impossible
impossible
possible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
possible
possible
possible
possible
possible
possible
impossible
possible
possible
possible
impossible
poss...

result:

wrong answer 115th lines differ - expected: 'impossible', found: 'possible'