QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#212731#4186. Card TradingHuangHanShengWA 1ms5956kbC++202.5kb2023-10-13 20:05:512023-10-13 20:05:51

詳細信息

Test #1:

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

input:

5
12.00 0 3
11.99 2 0
11.98 5 0
10.00 1 0
12.01 0 6

output:

impossible

result:

ok 

Test #2:

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

input:

6
2.85 14 0
4.50 0 1
5.26 3 3
6.17 1 0
14.78 0 2
21.04 1 0

output:

5.26 21.04

result:

ok 

Test #3:

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

input:

6
2.85 14 0
4.50 0 1
5.26 2 3
14.78 0 2
1.83 0 1
21.04 1 0

output:

21.04 21.04

result:

ok 

Test #4:

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

input:

2
17.10 2 19
29.05 20 11

output:

29.05 581.00

result:

ok 

Test #5:

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

input:

5
12.10 5 3
15.00 7 0
16.84 4 0
21.20 1201 0
28.10 3 0

output:

28.10 84.30

result:

ok 

Test #6:

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

input:

5
5.12 10 2
13.99 0 10
14.02 0 2910
7.12 0 20
10.81 0 12

output:

5.12 10.24

result:

ok 

Test #7:

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

input:

100
5106.50 0 420
5647.73 0 140
4384.77 0 323
7.35 441 0
5131.09 0 348
8153.31 0 474
3657.73 0 434
2096.41 190 0
7662.17 0 92
3957.59 0 238
1508.36 466 0
5900.07 0 307
9080.20 0 71
4338.20 0 46
2928.67 0 261
5600.58 0 499
2101.17 426 0
8716.93 0 442
6915.79 0 333
4551.97 0 309
5066.55 0 225
6273.77 ...

output:

impossible

result:

ok 

Test #8:

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

input:

200
5171.23 0 122
5808.37 0 371
4190.17 997 0
3293.86 345 0
9817.15 0 705
8863.74 0 878
4995.64 140 0
6618.92 0 303
7090.58 0 858
8446.03 0 418
3236.52 945 0
1458.66 403 0
1104.90 795 0
2780.13 221 0
13.54 124 0
8447.64 0 104
1583.13 563 0
2275.28 90 0
3404.38 681 0
5946.32 0 660
4152.10 94 0
4940.5...

output:

impossible

result:

ok 

Test #9:

score: -100
Wrong Answer
time: 0ms
memory: 3804kb

input:

100
7155.14 416 12
163.14 81 166
7962.24 352 1
6825.21 415 435
2090.45 425 288
8119.88 283 295
4277.91 492 334
7693.51 157 402
4657.80 363 193
881.99 355 311
7607.73 217 60
2556.32 121 121
4961.12 4 353
2204.87 133 252
4477.32 24 161
9919.17 137 52
7274.38 391 49
5414.28 304 429
372.51 415 180
3007....

output:

5219.93 62858399.18

result:

wrong answer Wrong answer: Author price / turnover mismatch (Only 12042 fulfilled orders for a total turnover of 62858397.06 instead of 62858399.18).