1输入一个标准后缀式保证每个运算数 都是一位数输出其结果。输入12+输出3输入321-9231+-+输出4 cpp code
#include
int main() {
string postfix;
cin >> postfix; // 输入后缀式
stack
原文地址: https://www.cveoy.top/t/topic/fyVV 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
#include
int main() {
string postfix;
cin >> postfix; // 输入后缀式
stack
原文地址: https://www.cveoy.top/t/topic/fyVV 著作权归作者所有。请勿转载和采集!