Problem | mao |
---|---|
User | Dolphy |
Submission Time | 2024-05-25 14:14:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mao.cpp: In function ‘void mao_to_cpp(int)’:
mao.cpp:4:23: error: ‘INT_MIN’ was not declared in this scope
4 | if (N == 1) cout << INT_MIN;
| ^~~~~~~
mao.cpp:2:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
1 | #include <iostream>
+++ |+#include <climits>
2 | using namespace std;
mao.cpp:8:5: error: ‘stack’ was not declared in this scope
8 | stack<int> s;
| ^~~~~
mao.cpp:2:1: note: ‘std::stack’ is defined in header ‘<stack>’; did you forget to ‘#include <stack>’?
1 | #include <iostream>
+++ |+#include <stack>
2 | using namespace std;
mao.cpp:8:11: error: expected primary-expression before ‘int’
8 | stack<int> s;
| ^~~
mao.cpp:9:5: error: ‘s’ was not declared in this scope
9 | s.push((int)c);
| ^
mao.cp