Avaluacio d'una expressio amb parentesis (programator)
X59126
Statement
Donada una expressió amb parentesis, escriviu un programa que avalui
la seva correctesa utilitzant piles.
: 1 :
1%
Entrada
Una seqüencia de parentesis (, ), [, ] acabada en punt.
Sortida
Escriu “Correcte” o “Incorrecte” segons sigui el cas.
Observació
Heu d’enviar un sol fitxer amb el programa.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.