Borderou de evaluare (job #2874061)

Utilizator cadmium_Voicu Mihai-Valeriu cadmium_ Data 19 martie 2022 12:42:01
Problema Dice Array Status done
Runda Algoritmiada 2022 - Runda 3 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:42:10: error: expected unqualified-id before 'int' 42 | int l, int r, Zarceplm val; | ^~~ main.cpp: In function 'void AINT::upd(int, int, int)': main.cpp:44:25: error: 'r' was not declared in this scope; did you mean 'cr'? 44 | if(l <= cl && cr <= r) { | ^ | cr main.cpp:45:21: error: 'val' was not declared in this scope 45 | lazy[node] *= val; | ^~~ main.cpp:48:8: error: 'r' was not declared in this scope; did you mean 'cr'? 48 | if(r < cl || cr < l) | ^ | cr main.cpp:50:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 50 | int mid = cl + cr >> 1; | ~~~^~~~ main.cpp:51:12: error: 'r' was not declared in this scope; did you mean 'cr'? 51 | upd(l, r, val, 2 * node , cl, mid); | ^ | cr main.cpp:51:15: error: 'val' was not declared in this scope 51 | upd(l, r, val, 2 * node , cl, mid); | ^~~ main.cpp: In function 'int AINT::solve(int, int, int)': main.cpp:60:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 60 | int mid = cl + cr >> 1; | ~~~^~~~ main.cpp: In function 'int main()': main.cpp:86:11: error: 'r' is not a member of 'AINT' 86 | AINT::r = l; | ^ main.cpp:88:13: error: 'val' is not a member of 'AINT' 88 | AINT::val = Z; | ^~~ main.cpp:90:13: error: 'val' is not a member of 'AINT' 90 | AINT::val = Y; | ^~~ main.cpp:92:13: error: 'val' is not a member of 'AINT' 92 | AINT::val = X; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?