Problem shamelessad2
User dakingwawin
Submission Time 2024-12-07 15:10:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shamelessad2.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
shamelessad2.cpp:4:1: note: in expansion of macro ‘int’
4 | int main(){
| ^~~
shamelessad2.cpp: In function ‘int main()’:
shamelessad2.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
shamelessad2.cpp:5:2: note: in expansion of macro ‘int’
5 | int n = 0;
| ^~~
shamelessad2.cpp:5:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n = 0;
| ^
| yn
shamelessad2.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
shamelessad2.cpp:7:2: note: in expansion of macro ‘int’
7 | int arr[n];
| ^~~
shamelessad2.cpp:7:6: error: ‘arr’ was not declared i