QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#141859#5538. Magical BarrierchenchiTL 1ms3596kbC++204.0kb2023-08-18 02:56:392023-08-18 02:56:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
0 0
0 6
6 0
6 6
1 4
1 2

output:

3

result:

ok single line: '3'

Test #2:

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

input:

2
0 0
0 1

output:

0

result:

ok single line: '0'

Test #3:

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

input:

4
-3 0
3 0
0 3
0 1

output:

0

result:

ok single line: '0'

Test #4:

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

input:

4
0 0
0 1
1 0
1 1

output:

1

result:

ok single line: '1'

Test #5:

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

input:

2
0 -1337
-5 -4

output:

0

result:

ok single line: '0'

Test #6:

score: -100
Time Limit Exceeded

input:

1000
496963365 -584310020
963238159 -571008004
18078662 -750762438
135156509 -968440195
77520950 -725908810
956053561 -538228505
806742035 -803854232
529068738 -825479182
64371444 -975013392
164324947 -824966981
629969244 -744727107
685160229 -787078273
985061882 -907085223
349370979 -716383138
4759...

output:


result: