0_0_39887725_21047.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
0_0_39887725_21047.cpp:4:1: note: in expansion of macro 'int'
4 | int dp[55];
| ^~~
0_0_39887725_21047.cpp:4:5: error: 'dp' does not name a type
4 | int dp[55];
| ^~
0_0_39887725_21047.cpp: In function 'void pre()':
0_0_39887725_21047.cpp:6:5: error: 'dp' was not declared in this scope
6 | dp[i] = 1,dp[2] = 2;
| ^~
0_0_39887725_21047.cpp:6:8: error: 'i' was not declared in this scope
6 | dp[i] = 1,dp[2] = 2;
| ^
0_0_39887725_21047.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
0_0_39887725_21047.cpp:7:9: note: in expansion of macro 'int'
7 | for(int i = 3;i <= 50;i++){
| ^~~
0_0_39887725_21047.cpp:7:26: error: expected ')' before ';' token
7 | for(int i = 3;i <= 50;i++){
| ~ ^
| )
0_0_39887725_21047.cpp: In function 'int main()':
0_0_39887725_21047.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
0_0_39887725_21047.cpp:13:5: note: in expansion of macro 'int'
13 | int n;
| ^~~
0_0_39887725_21047.cpp:13:9: error: 'n' was not declared in this scope
13 | int n;
| ^
0_0_39887725_21047.cpp:15:17: error: 'dp' was not declared in this scope
15 | cout << dp[n] << endl;
| ^~
|