QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#289668#7858. Basic Equation Solvingucup-team123#TL 2ms3584kbC++208.1kb2023-12-23 20:57:242023-12-23 20:57:25

詳細信息

Test #1:

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

input:

1
P=NP

output:

766136394

result:

ok single line: '766136394'

Test #2:

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

input:

1
2000CNY>3000USD

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 2ms
memory: 3544kb

input:

4
AB>CD
E<A
BC>FF
EF>F1

output:

23645065

result:

ok single line: '23645065'

Test #4:

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

input:

2
BC>DD
BD<EA

output:

27271695

result:

ok single line: '27271695'

Test #5:

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

input:

3
CE>ED
CC>BA
BB<AC

output:

426829091

result:

ok single line: '426829091'

Test #6:

score: -100
Time Limit Exceeded

input:

10
KG<EI
EJ>DA
EB<IH
EB>JG
KF<CF
JC>FC
IC<BJ
FI>HH
KD>AH
AE>GJ

output:


result: