Problem | brick |
---|---|
User | boaznumberd5555 |
Submission Time | 2023-03-24 15:10:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
brick.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
brick.cpp:4:1: note: in expansion of macro ‘int’
4 | int main(){
| ^~~
brick.cpp: In function ‘int main()’:
brick.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
brick.cpp:5:2: note: in expansion of macro ‘int’
5 | int n; cin >> n;
| ^~~
brick.cpp:5:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n; cin >> n;
| ^
| yn
brick.cpp:3:18: error: template argument 1 is invalid
3 | #define int long long;
| ^~~~
brick.cpp:6:8: note: in expansion of macro ‘int’
6 | stack<int> stack;
| ^~~
brick.cpp:3:18: error: template argument 2 is invalid
3 | #define int long long;