Borderou de evaluare (job #2441936)
Utilizator | Data | 22 iulie 2019 02:43:14 | |
---|---|---|---|
Problema | Minmaxtree | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void choose(int)':
main.cpp:104:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (num.first == 0)
^~
main.cpp:106:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
x = t[x].first;
^
main.cpp:108:13: error: 'else' without a previous 'if'
else
^~~~
main.cpp: In function 'int main()':
main.cpp:189:18: warning: array subscript has type 'char' [-Wchar-subscripts]
op[ch].push_back((Query){a, h[v], i});
^
main.cpp:191:18: warning: array subscript has type 'char' [-Wchar-subscripts]
op[ch].push_back((Query){b, h[v] - 1, i});
^
main.cpp:193:18: warning: array subscript has type 'char' [-Wchar-subscripts]
op[ch].push_back((Query){b, h[v], i});
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !