foehn_phenomena.cpp:6:18: error: declaration does not declare anything [-fpermissive]
6 | #define int long long;
| ^~~~
foehn_phenomena.cpp:8:7: note: in expansion of macro 'int'
8 | const int maxn = 2e5+10;
| ^~~
foehn_phenomena.cpp:8:11: error: 'maxn' does not name a type
8 | const int maxn = 2e5+10;
| ^~~~
foehn_phenomena.cpp:6:18: error: declaration does not declare anything [-fpermissive]
6 | #define int long long;
| ^~~~
foehn_phenomena.cpp:10:1: note: in expansion of macro 'int'
10 | int n, q, a[maxn];
| ^~~
foehn_phenomena.cpp:10:5: error: 'n' does not name a type
10 | int n, q, a[maxn];
| ^
foehn_phenomena.cpp:6:18: error: declaration does not declare anything [-fpermissive]
6 | #define int long long;
| ^~~~
foehn_phenomena.cpp:11:1: note: in expansion of macro 'int'
11 | int sum, dif[maxn], s, t;
| ^~~
foehn_phenomena.cpp:11:5: error: 'sum' does not name a type
11 | int sum, dif[maxn], s, t;
| ^~~
foehn_phenomena.cpp: In function 'int32_t main()':
foehn_phenomena.cpp:15:9: error: 'n' was not declared in this scope
15 | cin >> n >> q >> s >> t;
| ^
foehn_phenomena.cpp:15:14: error: 'q' was not declared in this scope
15 | cin >> n >> q >> s >> t;
| ^
foehn_phenomena.cpp:15:19: error: 's' was not declared in this scope
15 | cin >> n >> q >> s >> t;
| ^
foehn_phenomena.cpp:15:24: error: 't' was not declared in this scope; did you mean 'tm'?
15 | cin >> n >> q >> s >> t;
| ^
| tm
foehn_phenomena.cpp:6:18: error: declaration does not declare anything [-fpermissive]
6 | #define int long long;
| ^~~~
foehn_phenomena.cpp:17:6: note: in expansion of macro 'int'
17 | for(int i = 0 ; i <= n ; i++) cin >> a[i];
| ^~~
foehn_phenomena.cpp:17:10: error: 'i' was not declared in this scope
17 | for(int i = 0 ; i <= n ; i++) cin >> a[i];
| ^
foehn_phenomena.cpp:17:24: error: expected ')' before ';' token
17 | for(int i = 0 ; i <= n ; i++) cin >> a[i];
| ~ ^~
| )
foehn_phenomena.cpp:17:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
17 | for(int i = 0 ; i <= n ; i++) cin >> a[i];
| ^~~
foehn_phenomena.cpp:17:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17 | for(int i = 0 ; i <= n ; i++) cin >> a[i];
| ^
foehn_phenomena.cpp:17:27: error: 'i' was not declared in this scope
foehn_phenomena.cpp:6:18: error: declaration does not declare anything [-fpermissive]
6 | #define int long long;
| ^~~~
foehn_phenomena.cpp:19:6: note: in expansion of macro 'int'
19 | for(int i = 1 ; i <= n ; i++)
| ^~~
foehn_phenomena.cpp:19:24: error: expected ')' before ';' token
19 | for(int i = 1 ; i <= n ; i++)
| ~ ^~
| )
foehn_phenomena.cpp:19:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
19 | for(int i = 1 ; i <= n ; i++)
| ^~~
foehn_phenomena.cpp:19:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
19 | for(int i = 1 ; i <= n ; i++)
| ^
foehn_phenomena.cpp:28:2: error: 'dif' was not declared in this scope; did you mean 'div'?
28 | dif[0] = dif[n+1] = 0;
| ^~~
| div
foehn_phenomena.cpp:6:18: error: declaration does not declare anything [-fpermissive]
6 | #define int long long;
| ^~~~
foehn_phenomena.cpp:33:6: note: in expansion of macro 'int'
33 | for(int i = 0 ; i < q ; i++)
| ^~~
foehn_phenomena.cpp:33:23: error: expected ')' before ';' token
33 | for(int i = 0 ; i < q ; i++)
| ~ ^~
| )
foehn_phenomena.cpp:33:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
33 | for(int i = 0 ; i < q ; i++)
| ^~~
foehn_phenomena.cpp:33:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
33 | for(int i = 0 ; i < q ; i++)
| ^