Borderou de evaluare (job #2368941)
Utilizator | Data | 5 martie 2019 19:47:18 | |
---|---|---|---|
Problema | Orase1 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int cnt(int)':
main.cpp:18:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(poz <= n && d + v[poz] <= x)
^~~~~
main.cpp:20:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
poz++;
^~~
main.cpp: In function 'int main()':
main.cpp:38:19: error: 'x' was not declared in this scope
int aux = cnt(x);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !