Problem | card |
---|---|
User | Ningja |
Submission Time | 2023-11-09 23:37:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:7:9: error: ‘n’ was not declared in this scope
7 | cin >> n;
| ^
card.cpp:8:9: error: ‘m’ was not declared in this scope
8 | cin >> m;
| ^
card.cpp:10:2: error: ‘deque’ was not declared in this scope
10 | deque <int> d;
| ^~~~~
card.cpp:2:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
1 | #include <iostream>
+++ |+#include <deque>
2 | using namespace std;
card.cpp:10:9: error: expected primary-expression before ‘int’
10 | deque <int> d;
| ^~~
card.cpp:12:3: error: ‘d’ was not declared in this scope
12 | d.insert(i);
| ^
card.cpp:14:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | while (input != ".") {
| ^~~
card.cpp:16:15: error: