QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#212782#4186. Card TradingHuangHanShengWA 0ms4100kbC++111.3kb2023-10-13 20:31:542023-10-13 20:31:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3940kb

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: 3816kb

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: 3840kb

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: 4100kb

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

input:

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

output:

impossible

result:

wrong answer Wrong answer: Author claims impossible but solution exists.