QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#144631#4186. Card TradingGuanYunchangWA 1ms5812kbC++141.7kb2023-08-21 17:18:472023-08-21 17:18:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1ms
memory: 5808kb

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:

21.04 21.04

result:

ok 

Test #3:

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

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: -100
Wrong Answer
time: 1ms
memory: 5812kb

input:

2
17.10 2 19
29.05 20 11

output:

551.95 29.05

result:

wrong answer Wrong answer: Author printed price and turnover but no sales happen at printed price.