/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:10: error: 'stack' is not a member of 'std'
   10 |     std::stack<psi> st;
      |          ^~~~~
/in/foo.cc:4:1: note: 'std::stack' is defined in header '<stack>'; did you forget to '#include <stack>'?
    3 | #include <utility>
  +++ |+#include <stack>
    4 | 
/in/foo.cc:10:19: error: expected primary-expression before '>' token
   10 |     std::stack<psi> st;
      |                   ^
/in/foo.cc:10:21: error: 'st' was not declared in this scope; did you mean 'std'?
   10 |     std::stack<psi> st;
      |                     ^~
      |                     std

信息

递交者
类型
递交
题目
P1293 后缀转中缀
语言
C++
递交时间
2026-07-27 17:36:28
评测时间
2026-07-30 07:02:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes