Borderou de evaluare (job #2368940)
Utilizator | Data | 5 martie 2019 19:46:04 | |
---|---|---|---|
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:15:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(poz <= n && d + v[poz] <= x)
^~~~~
main.cpp:17: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:35: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 !