QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#212873#4186. Card TradingGuanYunchangWA 1ms3672kbC++17850b2023-10-13 21:49:112023-10-13 21:49:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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:

0.00 -36196467976606790308368873603398299180750398145110220454340577352002331423959351697944231098074536072468484392751912835583147605790972618587702781487119417807560754666731413139697733038497261744436635904735453380608.00

result:

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