QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505430#5794. Decision Treexiaowuc121 ✓24ms10816kbPython31.2kb2024-08-05 05:19:182024-08-05 05:19:19

详细

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 14ms
memory: 10816kb

input:

100
7
(0.589063 yn
  (0.677836 sc
    (0.189561)
    (0.968044)
  )
  (0.066076)
)
8
vsl 1 yn
vvxvaq 1 sc
rmx 0
hrlqf 0
pxm 1 yn
zfrni 1 sc
xvp 2 sc yn
xvd 0
7
(0.498964 ek
  (0.594127)
  (0.813302 yr
    (0.288269)
    (0.356712)
  )
)
7
gggvle 0
xrz 2 ek yr
qjgegn 1 yr
wlpmcb 2 ek yr
rre 2 ek yr
n...

output:

Case #1:
0.3865284568993614
0.038922926787999995
0.038922926787999995
0.038922926787999995
0.3865284568993614
0.038922926787999995
0.07568945297765375
0.038922926787999995
Case #2:
0.14475673280398713
0.29644798442799997
0.11698198717360943
0.29644798442799997
0.29644798442799997
0.11698198717360943...

result:

ok correct! (100 test cases)

Subtask #2:

score: 11
Accepted

Test #2:

score: 11
Accepted
time: 24ms
memory: 10728kb

input:

35
64
(0.198813 vv
(0.7294 jx
(0.475088 d
(0.776228 q
(0.269452)
(0.648226)
)
(0.214278)
)
(0.310735 ot
(0.427365 s
(0.202627 fd
(0.763525 hf
(0.882775)
(0.408238)
)
(0.340534 ls
(0.234255)
(0.650196)
)
)
(0.051517)
)
(0.892223 yd
(0.154418)
(0.997184 b
(0.771257)
(0.78602)
)
)
)
)
(0.327347 qq
(0.6...

output:

Case #1:
0.01440971245488081
0.01440971245488081
0.014762577234113783
0.00012864023051475872
0.0005252185527131845
0.00012864023051475872
0.01440971245488081
0.01721298273392982
0.023297873434181517
0.01721298273392982
0.0006761854127980455
0.023297873434181517
0.014762577234113783
0.003647820239538...

result:

ok correct! (35 test cases)

Extra Test:

score: 0
Extra Test Passed