Borderou de evaluare (job #579601)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sword Art Online | Compilator | cpp-32 |
Rundă | lasm_24_01_2021_cl12 | Status | evaluat |
Dată | 24 ian. 2021 20:55:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:16:7: error: 'll' does not name a type; did you mean 'all'?
16 | const ll mod = 1000000007;
| ^~
| all
main.cpp:17:1: error: 'll' does not name a type; did you mean 'all'?
17 | ll n,x,y,mn=INT_MAX,c,cnt1,cnt2,k;
| ^~
| all
main.cpp:19:9: error: 'N' was not declared in this scope
19 | int t[4*N], lazy[4*N];
| ^
main.cpp:19:20: error: 'N' was not declared in this scope
19 | int t[4*N], lazy[4*N];
| ^
main.cpp: In function 'void push(int, int, int)':
main.cpp:21:47: error: 'N' was not declared in this scope
21 | void push(int v, int l, int r){ if(2*v + 1 >= N)return;
| ^
main.cpp:22:5: error: 'lazy' was not declared in this scope
22 | lazy[2*v] = max(lazy[2*v], lazy[v]);
| ^~~~
main.cpp:24:5: error: 't' was not declared in this scope
24 | t[2*v] = max(t[2*v], lazy[v]);
| ^
main.cpp: In function 'void chg(int, int, int, int, int)':
main.cpp:30:9: error: 't' was not declared in this scope
30 | t[v] += val;
| ^
main.cpp:36:5: error: 't' was not declared in this scope
36 | t[v] = max(t[2*v], t[2*v + 1]);
| ^
main.cpp: In function 'void upd(int, int, int, int, int, int)':
main.cpp:42:9: error: 'lazy' was not declared in this scope
42 | lazy[v] = val;
| ^~~~
main.cpp:43:9: error: 't' was not declared in this scope
43 | t[v] = max(t[v], val);
| ^
main.cpp:50:19: error: 'N' was not declared in this scope
50 | if(2*v + 1 >= N)return;
| ^
main.cpp:51:5: error: 't' was not declared in this scope
51 | t[v] = max(t[2*v], t[2*v + 1]);
| ^
main.cpp: In function 'int get(int, int, int, int)':
main.cpp:55:22: error: 't' was not declared in this scope
55 | if(l == r)return t[v];
| ^
main.cpp: In function 'void solve()':
main.cpp:66:10: error: 'i' was not declared in this scope; did you mean 'in'?