(Kengdie) Mua (II) - Expression Evaluator
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=279&page=show_problem&problem=3853
[PDF](https://uva.onlinejudge.org/external/124/p12422.pdf)
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12422/f9a65ec730a980001e1b16fcd121c5d421b7f798.png)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12422/4dfaaf8cee2830eaf19d2fec728f5c9a5dc93160.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12422/0900f57c1acdbde01c305ff9aa2ab8a7d4d955c7.png)
输入输出样例
输入样例 #1
print(1+2*3/4)
f = math.sin
print(f(1.57))
print(1<2 and 4+5==9)
print(math.max(3,-math.min(5*7,-4)))
a={}
a[1]={}
a[1][2]={}
a[1][3]="hehe\'\\"
a[1][1]=a
print(#a)
print(#a[1])
print(#a[1][3])
print(a)
print(f)
print(a[1][1][1][3] .. "\n" .. "..")
输出样例 #1
2.5
0.99999968293183
true
4
1
3
6
table
function
hehe'\
..