QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#502042#8468. Collinear Arrangementsahihi1234WA 3ms3852kbC++174.9kb2024-08-03 00:41:202024-08-03 00:41:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3556kb

input:

5 3
0 0
2 0
2 1
1 2
0 2
1 1 1
2 1 1 2 2
1 2 2

output:

1
1
2

result:

ok 3 number(s): "1 1 2"

Test #2:

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

input:

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

output:

1

result:

ok 1 number(s): "1"

Test #3:

score: 0
Accepted
time: 1ms
memory: 3644kb

input:

1000 1
-139438978 -172098481
-125097652 -169056403
155419484 -28898293
186215972 6874955
240691742 77644763
334255616 236444333
342049790 274206233
342049766 274611851
342049472 275025569
342049298 275242193
342048794 275724449
341967248 297262013
341966000 297569423
341963012 298092233
341960624 29...

output:

2

result:

ok 1 number(s): "2"

Test #4:

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

input:

1000 1000
-468718512 100559444
-466285968 100587272
-463035240 100649294
-461326068 100761398
-459427038 100900610
-455064924 101233256
-452216364 101462348
-450021522 101653544
-449086266 101738960
-433665372 103152428
-429959922 103532498
-427457166 103795826
-418983006 104802926
-416443854 105124...

output:

1
2
2
1
1
2
1
2
1
2
1
1
1
0
0
1
2
-1?813?0
1
2
0
0
0
2
0
2
2
1
1
1
1
1
1
0
0
1
1
2
1
0
1
1
0
1
1
0
0
1
0
0
1
0
0
0
2
0
2
1
0
0
1
1
2
1
1
0
1
1
2
0
1
0
0
2
1
0
1
0
0
0
1
2
1
2
0
1
0
0
1
1
0
0
0
2
2
1
0
2
0
0
1
1
0
1
1
0
1
1
1
0
2
1
1
2
1
2
2
0
2
2
0
0
0
2
1
0
0
0
0
1
1
0
0
1
0
1
0
1
0
0
0
1
1
1
1
0
0...

result:

wrong output format Expected integer, but "-1?813?0" found