Borderou de evaluare (job #1046931)
Utilizator | Data | 3 decembrie 2013 18:34:27 | |
---|---|---|---|
Problema | Cuvinte | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:28:24: warning: integer overflow in expression [-Woverflow]
const int oo = (1<<31)-1;
^
user.cpp: In function ‘void BuildDynamic()’:
user.cpp:52:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a[i] > a[j])
^
user.cpp: In function ‘int main()’:
user.cpp:75:31: error: invalid types ‘int[int]’ for array subscript
if(K <= nr[maxi][i]) {
^
user.cpp:76:17: error: ‘actNode’ was not declared in this scope
actNode = v[maxi][i];
^
user.cpp:79:33: error: invalid types ‘int[int]’ for array subscript
else K -= nr[maxi][i];
^
user.cpp:81:23: error: ‘actNode’ was not declared in this scope
Ans.push_back(actNode);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !