Borderou de evaluare (job #2368942)
Utilizator | Data | 5 martie 2019 19:48:38 | |
---|---|---|---|
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:19:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(poz <= n && d + v[poz] <= x)
^~~~~
main.cpp:21: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:42:14: error: 'x' was not declared in this scope
sol1 = x;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !