Borderou de evaluare (job #2352162)
Utilizator | Data | 23 februarie 2019 01:03:37 | |
---|---|---|---|
Problema | Costuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int bsearch(int)':
main.cpp:31:10: error: expected ';' before 'k'
lint k = 1LL << 18;
^
main.cpp:31:23: warning: statement has no effect [-Wunused-value]
lint k = 1LL << 18;
^
main.cpp:32:10: error: expected ';' before 'cr'
lint cr = 0LL;
^~
main.cpp:32:18: warning: statement has no effect [-Wunused-value]
lint cr = 0LL;
^
main.cpp:33:11: error: 'k' was not declared in this scope
while(k)
^
main.cpp:35:12: error: 'cr' was not declared in this scope
if(cr + k <= n && v[cr + k].c < x)
^~
main.cpp:41:12: error: 'cr' was not declared in this scope
return cr + 1;
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !