Borderou de evaluare (job #2426364)
Utilizator | Data | 27 mai 2019 16:19:32 | |
---|---|---|---|
Problema | Biscuiti | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void update(int, int, int, int, int)':
main.cpp:44:22: error: 't' was not declared in this scope
lazy[nod] += t;
^
main.cpp:52:19: error: no match for 'operator+=' (operand types are 'Node' and 'int')
aint[nod] += lazy[nod];
~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:82:12: error: 'n' was not declared in this scope
cin >> n;
^
main.cpp:85:16: error: 'v' was not declared in this scope
cin >> v[i];
^
main.cpp:81:9: warning: unused variable 'sum' [-Wunused-variable]
int sum = 0,x,i,init = 0;
^~~
main.cpp:81:17: warning: unused variable 'x' [-Wunused-variable]
int sum = 0,x,i,init = 0;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !