Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:21:38: error: invalid use of non-static member function 'void std::stack<_Tp, _Sequence>::pop() [with _Tp = long long int; _Sequence = std::deque<long long int, std::allocator<long long int> >]'
21 | desk.pop;
| ~~~~~^~~
In file included from /usr/include/c++/12/stack:61,
from /usr/include/x86_64-linux-gnu/c++/12/bits/stdc++.h:89,
from /in/foo.cc:1:
/usr/include/c++/12/bits/stl_stack.h:293:7: note: declared here
293 | pop()
| ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P3200 纸牌游戏
- 语言
- C++
- 递交时间
- 2026-11-21 18:46:18
- 评测时间
- 2026-11-21 18:46:18
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes