Borderou de evaluare (job #579602)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sword Art Online | Compilator | cpp-32 |
Rundă | lasm_24_01_2021_cl12 | Status | evaluat |
Dată | 24 ian. 2021 20:56:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:18:5: error: conflicting declaration 'int n'
18 | int n, m, k;
| ^
main.cpp:17:4: note: previous declaration as 'll n'
17 | ll n,x,y,mn=INT_MAX,c,cnt1,cnt2,k;
| ^
main.cpp:18:11: error: conflicting declaration 'int k'
18 | int n, m, k;
| ^
main.cpp:17:33: note: previous declaration as 'll k'
17 | ll n,x,y,mn=INT_MAX,c,cnt1,cnt2,k;
| ^
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 solve()':
main.cpp:26:10: error: 'i' was not declared in this scope; did you mean 'in'?
26 | forn(i,1,n){
| ^
| in
main.cpp:26:5: error: 'forn' was not declared in this scope
26 | forn(i,1,n){
| ^~~~
main.cpp: In function 'int32_t main()':
main.cpp:12:13: error: 'in' was not declared in this scope; did you mean 'mn'?
12 | #define cin in
| ^~
main.cpp:40:33: note: in expansion of macro 'cin'
40 | ios_base :: sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~
main.cpp:13:14: error: 'out' was not declared in this scope; did you mean 'cout'?
13 | #define cout out
| ^~~
main.cpp:40:45: note: in expansion of macro 'cout'
40 | ios_base :: sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~~