Problem boxispull
User Jasper123
Submission Time 2026-05-01 09:43:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp:5:18: error: expected ‘;’ before ‘signed’
5 | using std::string
| ^
| ;
......
8 | signed main() {
| ~~~~~~
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:11:5: error: ‘stack’ was not declared in this scope; did you mean ‘obstack’?
11 | stack<int>a;
| ^~~~~
| obstack
boxispull.cpp:6:13: error: expected primary-expression before ‘long’
6 | #define int long long
| ^~~~
boxispull.cpp:11:11: note: in expansion of macro ‘int’
11 | stack<int>a;
| ^~~
boxispull.cpp:16:15: error: ‘a’ was not declared in this scope
16 | a.push_back(temp);
| ^
boxispull.cpp:21:16: error: ‘a’ was not declared in this scope
21 | if(a[1]==a[3]){
| ^
boxispull.cpp:33:15: error: ‘y’ was not declared