QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#808173 | #9865. Dolls | ucup-team1721 | Compile Error | / | / | C++17 | 2.7kb | 2024-12-10 17:36:57 | 2024-12-10 17:36:58 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:47:9: error: ‘stack’ was not declared in this scope 47 | stack<int> a_stk, d_stk; | ^~~~~ answer.code:11:1: note: ‘std::stack’ is defined in header ‘<stack>’; did you forget to ‘#include <stack>’? 10 | #include <unordered_map> +++ |+#include <stack> 11 | answer.code:47:15: error: expected primary-expression before ‘int’ 47 | stack<int> a_stk, d_stk; | ^~~ answer.code:50:9: error: ‘a_stk’ was not declared in this scope 50 | a_stk.push(0); d_stk.push(0); | ^~~~~ answer.code:50:24: error: ‘d_stk’ was not declared in this scope 50 | a_stk.push(0); d_stk.push(0); | ^~~~~