QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#72765#4583. Concerto de PandemicGuanYunchangTL 4ms11616kbC++173.8kb2023-01-19 02:36:222023-01-19 02:36:25

詳細信息

Test #1:

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

input:

10 4 3 2
1 2
4 4
6 2
7 5
2 5 8

output:

4

result:

ok single line: '4'

Test #2:

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

input:

8 1 3 5
1 5
4 2 7

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 4ms
memory: 11552kb

input:

5 2 2 1
1 14
2 14
3 5

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 4ms
memory: 11616kb

input:

2 1 1 1
1 200000
2

output:

0

result:

ok single line: '0'

Test #5:

score: -100
Time Limit Exceeded

input:

190976 113222 55610 23475
51263 120558
10007 171596
46671 108981
117183 169457
18187 84735
149298 124718
79376 129184
28117 76880
109791 87521
114840 59510
38014 178362
41701 11344
27561 192741
173835 54534
71368 76692
122745 95537
152595 158352
43901 162441
98927 105784
22484 96000
19443 113614
370...

output:

500000000000
250000000000
125000000000
62500000000
31250000000
15625000000
7812500000
3906250000
1953125000
976562500
488281250
244140625
122070312
61035156
30517578
15258789
7629394
3814697
1907348
953674
476837
238418
119209
178814
149012
163913
171364
167639
165776
166708
167174
167407

result: