QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#72778#4583. Concerto de PandemicHuangHanShengWA 1900ms70316kbC++173.3kb2023-01-19 03:50:592023-01-19 03:51:01

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 5572kb

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: 2ms
memory: 5568kb

input:

8 1 3 5
1 5
4 2 7

output:

0

result:

ok single line: '0'

Test #3:

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

input:

5 2 2 1
1 14
2 14
3 5

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 2ms
memory: 5496kb

input:

2 1 1 1
1 200000
2

output:

0

result:

ok single line: '0'

Test #5:

score: 0
Accepted
time: 1133ms
memory: 40380kb

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:

170531

result:

ok single line: '170531'

Test #6:

score: -100
Wrong Answer
time: 1900ms
memory: 70316kb

input:

198722 26425 169256 110599
33948 74442
51729 66300
40369 173859
42274 73043
117803 108716
149794 151005
147161 2675
148063 166634
132585 51612
141999 182365
32951 159790
120932 290
82655 150138
49337 10396
171146 129572
33311 193079
195115 171691
180568 77905
65397 110312
156436 149966
9377 55490
12...

output:

25000000000
37500000000
43750000000
46875000000
48437500000
49218750000
49609375000
49804687500
49902343750
49951171875
49975585938
49987792969
49993896485
49996948243
49998474122
49999237061
49999618531
49999809266
49999904633
49999952317
49999976159
49999988080
49999994040
49999997020
49999998510
...

result:

wrong answer 1st lines differ - expected: '1', found: '25000000000'