Compile Error
/in/foo.cc: In function 'bool isOperator(char)': /in/foo.cc:8:62: error: expected ';' before '(' return c == '+' || c == '-' || c == '*' || c == '^' || c '(' || c == ')'; ^~~ /in/foo.cc:8:66: warning: statement has no effect [-Wunused-value] return c == '+' || c == '-' || c == '*' || c == '^' || c '(' || c == ')'; ~~~~^~~~~~~~~~~ /in/foo.cc: At global scope: /in/foo.cc:23:34: error: expected ')' std::string infixToPostfix(const std::& infix) { ^~~ /in/foo.cc:23:34: error: expected initializer
信息
- 递交者
- 类型
- 递交
- 题目
- P1000 等价表达式
- 语言
- C++
- 递交时间
- 2024-04-19 21:49:45
- 评测时间
- 2024-04-19 21:49:45
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes