Sie sind auf Seite 1von 4

SPOJ.com - Problem ONP http://www.spoj.

com/problems/ONP/

PROBLEMS (/problems) STATUS (/status) RANKS (/ranks)

DISCUSS (http://spoj.com/forum) CONTESTS (/contests) (/manageaccount/)

PROFILE

t[thenumberofexpressions<=100]
expression[length<=400]
[otherexpressions]

TheexpressionsinRPNform,oneperline.

Input:
3
(a+(b*c))
((a+b)*(z+x))
((a+t)*((b+(a+c))^(c+d)))

Output:
abc*+
ab+zx+*
at+bac++cd+^*

1 of 4 12-10-2017, 07:48 PM
SPOJ.com - Problem ONP http://www.spoj.com/problems/ONP/

Last edit: 2017-06-19 10:16:04

2 of 4 12-10-2017, 07:48 PM
SPOJ.com - Problem ONP http://www.spoj.com/problems/ONP/

3 of 4 12-10-2017, 07:48 PM
SPOJ.com - Problem ONP http://www.spoj.com/problems/ONP/

1 vote

103 4

# # # # # # # # # # # #
# #

4 of 4 12-10-2017, 07:48 PM

Das könnte Ihnen auch gefallen