QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#294920#3106. Cleaning Pipeslmq26052003WA 7ms29356kbC++203.1kb2023-12-30 17:26:542023-12-30 17:26:55

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 27584kb

input:

2 7
0 0
2 -1
1 0 10
1 0 -10
1 10 0
1 10 -10
1 10 10
2 -2 3
2 -10 -3

output:

possible

result:

ok single line: 'possible'

Test #2:

score: 0
Accepted
time: 6ms
memory: 29040kb

input:

3 8
0 0
2 -1
-3 2
1 0 10
1 0 -10
1 10 0
1 10 -10
1 10 10
2 -2 3
2 -10 -3
3 10 2

output:

impossible

result:

ok single line: 'impossible'

Test #3:

score: 0
Accepted
time: 7ms
memory: 27892kb

input:

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

output:

impossible

result:

ok single line: 'impossible'

Test #4:

score: 0
Accepted
time: 0ms
memory: 29356kb

input:

5 5
0 1
1 1
0 2
1 3
4 0
1 3 4
2 5 1
3 3 0
4 6 3
5 6 4

output:

impossible

result:

ok single line: 'impossible'

Test #5:

score: -100
Wrong Answer
time: 3ms
memory: 27692kb

input:

10 20
-888 23
24 485
448 -868
146 98
-627 651
318 -945
-515 793
-961 315
-847 -151
-793 271
1 -709 -129
2 -193 239
3 377 -927
4 -76 -73
5 -890 564
6 617 -985
7 -689 577
8 -777 25
9 -1062 -117
10 -985 259
1 -1128 238
2 282 438
3 549 -695
4 291 -152
5 -749 819
6 275 -1188
7 -798 585
8 -797 261
9 -813 ...

output:

impossible

result:

wrong answer 1st lines differ - expected: 'possible', found: 'impossible'