QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#318035#5133. Imperfect Imperial Unitslmq26052003WA 43ms4248kbC++201.7kb2024-01-30 11:15:262024-01-30 11:15:26

详细

Test #1:

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

input:

4 3
1 foot = 12 inch
1 yard = 3 foot
1 meter = 100 centimeter
1 centimeter = 10 millimeter
750 millimeter to meter
42 yard to inch
10 meter to foot

output:

0.750000012018584
1512.000198886557622
impossible

result:

ok 

Test #2:

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

input:

4 3
1 fortnight = 14 day
1 microcentury = 0.036525 day
1 microcentury = 1000 nanocentury
1 week = 7 day
22.2 fortnight to nanocentury
2.5 nanocentury to week
3.14 day to fortnight

output:

8509243.562713606275793
0.000013044641314
0.224285711464339

result:

ok 

Test #3:

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

input:

10 2
1 micrometer = 1000 nanometer
1 millimeter = 1000 micrometer
1 meter = 1000 millimeter
1 kilometer = 1000 meter
1 megameter = 1000 kilometer
1 lightsecond = 299.792458 meter
1 lightminute = 60 lightsecond
1 lighthour = 60 lightminute
1 lightday = 24 lighthour
1 lightyear = 365.25 lightday
42 na...

output:

0.000000000000000
397350702573982922176.000000000000000

result:

ok 

Test #4:

score: -100
Wrong Answer
time: 43ms
memory: 4248kb

input:

100 10000
1 ooooooooooooooooolol = 913.613760987 ooooooooooooolooooll
1 oooooooooooooloollol = 626.088582061 ooooooooooooololooll
1 oooooooooooooolololo = 955.470952951 oooooooooooooloolooo
1 oooooooooooooooooool = 942.991120183 oooooooooooooooloolo
1 oooooooooooooooloooo = 537.689261619 ooooooooooo...

output:

7540566699.308183249086142
0.000000000007480
6.212727899462828
107.446585702071788
537.476363794167769
0.000000480843373
2.500691579933638
43554778.998778623914404
436.991444097828525
16358983635.622845964506269
0.000006089180302
70214.214084016530165
2.962394986740131
0.019265579246269
291425113638...

result:

wrong answer