QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#523937#9162. COVID testsMinaRagy0690 565ms4080kbC++202.9kb2024-08-19 00:02:542024-08-19 00:02:55

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 27ms
memory: 4080kb

input:

1000 0.789673 1
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
N
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
N
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
N
P
P
P
P
P
P
P
P
P
P
N
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
...

output:

Q 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

points 0.0 0.0 translate:wrong

Subtask #2:

score: 90
Accepted

Test #18:

score: 90
Accepted
time: 10ms
memory: 3784kb

input:

1000 0.001 300
N
N
C
N
P
P
N
P
N
N
N
N
P
N
N
C
N
P
N
P
N
P
N
P
P
P
P
P
P
N
N
N
P
N
N
P
P
P
N
N
N
P
N
N
C
N
N
C
N
N
C
P
N
P
N
P
N
P
P
N
N
N
N
C
N
P
N
P
P
P
N
N
P
N
P
N
C
N
N
C
N
N
C
P
N
P
P
P
P
P
N
P
P
N
N
C
N
N
C
N
P
N
P
N
P
P
N
N
N
P
P
P
N
N
P
P
N
N
N
N
C
N
P
P
N
P
P
N
P
P
P
P
P
P
N
N
P
P
N
N
P
P
N...

output:

Q 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

points 1.0 1.0 Output is correct (P=0.001, F=15.1, Q=10.9) -> 90.00 points

Test #19:

score: 90
Accepted
time: 36ms
memory: 4036kb

input:

1000 0.005256 300
P
N
P
N
N
N
P
N
P
P
P
P
N
P
P
N
N
N
P
N
P
N
P
P
N
N
N
N
P
N
P
N
P
P
P
N
N
P
N
P
P
P
P
N
N
C
N
N
N
N
P
N
P
N
N
N
P
N
N
P
N
N
N
N
P
P
P
P
P
N
N
P
N
P
N
N
C
N
N
N
N
N
N
N
P
P
P
N
N
N
N
P
N
C
N
P
P
P
N
N
P
P
N
N
P
P
P
N
P
P
N
P
P
P
P
P
P
N
P
N
N
N
N
P
N
P
P
N
P
P
P
N
P
N
P
N
P
N
P
N
N
...

output:

Q 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 1.0 Output is correct (P=0.005256, F=51.1, Q=46.5) -> 90.00 points

Test #20:

score: 90
Accepted
time: 51ms
memory: 4040kb

input:

1000 0.011546 300
P
P
N
P
P
P
P
P
P
P
N
P
P
P
N
N
N
P
P
N
P
N
P
N
P
N
N
N
N
N
N
P
P
P
P
P
P
N
P
P
P
P
P
P
N
P
P
N
N
P
N
N
P
P
P
P
N
N
N
N
N
N
N
N
N
N
P
P
N
P
P
P
N
P
N
P
N
P
N
N
N
P
P
N
P
P
N
N
P
P
N
N
N
N
N
N
C
N
P
N
P
P
P
P
N
N
N
N
N
P
P
P
P
N
N
P
N
N
N
N
N
N
N
P
P
P
P
P
P
N
N
P
N
N
N
N
N
N
N
C
P
...

output:

Q 1111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 1.0 Output is correct (P=0.011546, F=94.9, Q=90.8) -> 90.00 points

Test #21:

score: 90
Accepted
time: 151ms
memory: 3936kb

input:

1000 0.028545 300
P
P
P
P
P
P
N
N
P
P
N
N
N
P
N
P
N
P
N
N
N
P
P
P
P
N
N
N
N
P
P
P
N
N
P
P
P
P
P
N
N
P
N
N
P
P
N
N
N
P
N
N
N
N
N
P
N
P
N
P
P
P
P
N
N
N
P
P
P
N
N
P
P
P
N
P
N
P
N
P
P
P
P
P
P
P
P
P
N
N
P
P
P
P
N
P
P
N
P
P
N
N
P
N
N
N
P
P
P
P
N
N
N
P
P
N
N
P
N
P
P
N
N
P
P
P
N
P
P
N
N
N
N
P
P
P
N
P
P
N
P
...

output:

Q 1111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 1.0 Output is correct (P=0.028545, F=191.5, Q=189.6) -> 90.00 points

Test #22:

score: 90
Accepted
time: 224ms
memory: 3940kb

input:

1000 0.039856 300
P
N
P
P
N
N
P
P
P
N
N
P
P
P
N
N
N
N
N
N
N
N
N
P
N
P
N
N
N
P
N
P
P
N
P
P
P
P
N
P
P
N
P
N
P
P
N
N
P
P
P
N
N
N
P
P
P
N
N
N
N
P
P
N
N
N
P
N
N
N
N
N
P
P
P
P
P
N
P
P
P
P
P
N
P
P
N
N
P
N
N
N
N
N
N
N
P
P
P
P
P
N
P
N
P
N
N
N
N
P
P
P
P
N
N
P
N
P
P
N
N
P
N
N
N
P
N
P
P
P
P
N
P
P
P
P
P
P
P
P
N
...

output:

Q 1111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 1.0 Output is correct (P=0.039856, F=246.3, Q=244.0) -> 90.00 points

Test #23:

score: 90
Accepted
time: 347ms
memory: 4068kb

input:

1000 0.068648 300
N
P
N
N
P
P
P
N
N
P
P
N
N
P
P
P
P
N
P
P
N
N
P
P
P
P
P
P
P
N
N
P
P
P
P
P
N
P
P
N
N
P
N
N
P
N
P
P
P
P
N
P
P
P
P
N
N
N
P
P
P
N
N
N
P
N
P
N
N
N
N
N
N
N
N
N
P
N
P
N
N
P
P
P
P
P
P
P
P
P
P
P
P
N
P
N
P
N
N
N
P
P
N
N
N
P
P
N
N
N
N
N
P
P
N
P
N
P
P
P
P
N
N
N
P
N
N
N
P
N
P
N
P
N
P
N
N
N
N
P
P
...

output:

Q 1111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 1.0 Output is correct (P=0.068648, F=366.2, Q=365.8) -> 90.00 points

Test #24:

score: 90
Accepted
time: 439ms
memory: 4076kb

input:

1000 0.104571 300
N
N
N
P
P
P
N
P
N
N
P
P
P
N
P
P
P
P
N
N
P
N
N
N
P
P
N
N
P
N
N
P
P
P
N
N
P
N
N
N
P
P
N
N
P
P
P
P
N
N
N
P
P
N
P
N
N
N
N
P
N
N
P
N
N
P
P
N
P
N
N
P
P
N
N
N
N
N
N
P
P
P
P
P
N
P
P
N
P
P
P
P
N
N
P
N
P
P
N
P
N
P
P
N
P
N
P
P
N
N
P
P
N
N
P
P
N
N
P
P
P
P
N
P
N
P
N
N
P
P
N
P
P
N
P
P
N
P
N
P
P
...

output:

Q 1111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 1.0 Output is correct (P=0.104571, F=490.3, Q=489.2) -> 90.00 points

Test #25:

score: 90
Accepted
time: 458ms
memory: 3724kb

input:

1000 0.158765 300
N
N
N
N
P
P
P
N
P
P
N
N
N
P
P
N
P
P
P
N
N
N
N
N
N
N
N
P
N
N
P
P
N
N
N
N
N
P
P
N
N
N
N
P
P
N
N
N
N
P
N
N
N
P
N
N
N
N
P
N
P
N
N
N
P
N
P
P
N
P
N
P
P
P
N
P
N
P
N
N
N
N
N
N
P
P
P
P
P
P
P
P
P
N
N
P
P
N
N
N
N
N
N
P
N
N
N
N
P
P
N
P
N
P
P
P
P
P
P
N
P
N
N
N
P
N
P
P
N
N
P
N
P
N
P
P
N
P
N
P
N
...

output:

Q 1111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 1.0 Output is correct (P=0.158765, F=639.1, Q=633.1) -> 90.00 points

Test #26:

score: 90
Accepted
time: 565ms
memory: 3788kb

input:

1000 0.2 300
N
P
N
P
N
P
N
P
P
N
P
N
N
N
N
N
P
N
N
P
N
P
P
P
N
P
N
P
P
N
P
P
N
N
P
N
P
N
P
P
P
N
P
N
P
P
P
P
N
P
N
N
P
N
N
N
N
N
N
P
N
N
P
P
P
P
N
P
N
N
N
P
N
N
N
P
P
N
P
P
N
N
N
N
P
N
P
P
N
P
P
P
P
N
N
N
N
P
P
P
P
P
N
P
P
N
N
N
P
N
N
P
N
P
P
N
P
N
N
N
N
P
N
P
P
P
P
P
P
N
N
N
N
P
N
P
N
N
N
P
N
P
N
N...

output:

Q 1110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 1.0 Output is correct (P=0.2, F=731.4, Q=729.4) -> 90.00 points