Problem | boardvision |
---|---|
User | YSH2020 |
Submission Time | 2023-11-29 14:07:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
boardvision.cpp: In function ‘int main()’:
boardvision.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
boardvision.cpp:5:5: note: in expansion of macro ‘int’
5 | int n; cin >> n;
| ^~~
boardvision.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n; cin >> n;
| ^
| yn
boardvision.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
boardvision.cpp:6:5: note: in expansion of macro ‘int’
6 | int a[n+1], b[n+1], c[2*n+1], d[2*n+1];
| ^~~
boardvision.cpp:6:9: error: ‘a’ was not declared in this scope
6 | int a[n+1], b[n+1], c[2*n+1], d[2*n+1];
| ^
boardvision.cpp:6:17: error: ‘b’ was not declared in this scope
6 | int a[n+1], b[n