QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#329358#7371. 空中恋爱论locsey60 1120ms4412kbC++201.1kb2024-02-16 16:29:212024-02-16 16:29:21

详细

Test #1:

score: 10
Accepted
time: 1ms
memory: 3848kb

input:

1000
1 -1 0 1 0 1 1 0 0 1 1 0 0 1 1 0 -1 -1 1 0 1 1 1 0 1 -1 -1 1 -1 -1 -1 -1 0 -1 0 -1 1 1 1 -1 0 0 1 1 -1 0 -1 0 0 0 -1 0 1 1 1 1 1 1 0 -1 0 1 1 1 -1 -1 0 -1 0 1 0 -1 1 0 -1 1 1 -1 -1 1 -1 -1 -1 1 0 0 0 1 -1 1 1 1 -1 0 0 0 1 -1 -1 0 0 1 0 1 0 1 1 1 -1 -1 -1 1 -1 -1 1 -1 -1 1 -1 -1 0 0 0 -1 1 0 1 -...

output:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

result:

ok single line: '0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 '

Test #2:

score: 10
Accepted
time: 1ms
memory: 3876kb

input:

1000
0 1 1 1 1 1 1 1 1 1 -1 1 -1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 -1 1 1 1 1 0 1 1 1 0 1 -1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 -1 1 1 1 1 1 0 0 1 1 1 -1 -1 1 1 1 1 0 1 1 1 -1 1 1 1 0 0 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0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

result:

ok single line: '0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 '

Test #4:

score: 10
Accepted
time: 1115ms
memory: 4412kb

input:

50000
0 -1 1 1 1 1 1 1 1 -1 0 0 1 0 0 1 1 1 1 1 1 -1 -1 1 1 1 1 0 1 1 -1 1 0 1 -1 1 1 1 1 -1 1 0 1 1 1 -1 1 1 1 1 1 1 1 0 1 -1 0 0 1 0 1 1 1 0 1 1 -1 0 1 -1 0 1 1 -1 1 1 1 -1 0 1 1 -1 1 1 1 0 -1 1 -1 -1 1 0 -1 1 1 0 1 -1 0 1 -1 0 1 0 0 -1 1 1 0 1 1 1 1 1 1 -1 1 1 1 1 1 1 1 1 1 1 1 1 0 -1 1 1 1 1 1 1...

output:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

result:

ok single line: '0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 '

Test #5:

score: 10
Accepted
time: 1087ms
memory: 4408kb

input:

50000
-1 -1 -1 -1 -1 0 -1 -1 -1 0 -1 0 -1 -1 1 1 -1 0 -1 1 -1 -1 -1 0 -1 -1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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

result:

ok single line: '0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 '

Test #7:

score: 0
Time Limit Exceeded

input:

100000
0 1 1 1 -1 1 -1 1 0 1 1 1 -1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 -1 1 1 0 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 -1 0 1 1 1 1 1 1 -1 1 0 1 1 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 -1 1 1 0 0 -1 -1 1 1 1 1 1 -1 -1 1 1 1 1 1 1 1 1...

output:


result:


Test #8:

score: 0
Time Limit Exceeded

input:

100000
1 1 1 1 1 -1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 -1 1 1 1 1 1 -1 1 1 1 1 1 1 1 -1 1 1 1 1 1 0 1 1 1 1 1 -1 1 1 1 -1 1 1 1 1 -1 1 1 -1 1 1 1 1 1 1 1 1 -1 1 1 1 1 1 1 1 1 0 -1 1 1 -1 1 1 0 0 -1 1 0 1 1 1 1 1 -1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 -1 1 1 1 -1 1 0 1 -1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1...

output:


result:


Test #9:

score: 0
Time Limit Exceeded

input:

100000
1 1 -1 -1 -1 0 1 -1 -1 -1 -1 -1 -1 0 -1 -1 -1 0 -1 -1 -1 -1 -1 -1 -1 1 -1 -1 -1 -1 -1 1 -1 -1 -1 1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 -1 -1 0 -1 -1 -1 -1 -1 -1 0 0 -1 -1 1 -1 -1 -1 -1 0 0 -1 1 -1 -1 -1 -1 -1 -1 1 -1 -1 1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 -1 -1 -1 -1 1 -1 -1 -1...

output:


result:


Test #10:

score: 0
Time Limit Exceeded

input:

100000
-1 -1 -1 -1 -1 1 -1 -1 -1 -1 -1 -1 -1 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 -1 -1 0 1 0 -1 0 -1 -1 1 -1 1 -1 -1 -1 -1 -1 -1 0 -1 0 -1 -1 1 0 -1 1 -1 0 1 -1 -1 0 -1 -1 0 -1 -1 -1 1 -1 -1 -1 -1 -1 -1 -1 -1 0 -1 1 0 -1 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 -1 -1 1 1 1 -1 -1 0 0 -1 -1 -1 -1 -1 -1 -1 -1 -...

output:


result: