Borderou de evaluare (job #2300499)
Utilizator | Data | 11 decembrie 2018 16:38:05 | |
---|---|---|---|
Problema | Sobo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:15: error: 'L' was not declared in this scope
f >> N >> L;
^
main.cpp:17:13: error: 'a' was not declared in this scope
a[i] = a[i] | (1 << c);
^
main.cpp:22:14: error: 'cost' was not declared in this scope
f >> cost[i];
^~~~
main.cpp:23:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
for(int i = 1; i < (1 << (N + 1) - 1); i++) {
~~~~~~~~^~~
main.cpp:24:13: warning: unused variable 'MIN' [-Wunused-variable]
int MIN = INF;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !