Borderou de evaluare (job #1713024)
Utilizator | Data | 4 iunie 2016 15:07:19 | |
---|---|---|---|
Problema | Fetite | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int caut(int, int)’:
user.cpp:11:13: error: ‘m’ was not declared in this scope
m =(s+d)/2;
^
user.cpp:12:17: error: ‘x’ was not declared in this scope
if (x==v[m])
^
user.cpp:14:17: error: ‘x’ was not declared in this scope
if (x<v[m])
^
user.cpp: In function ‘int main()’:
user.cpp:23:7: error: expected initializer before ‘>>’ token
in>>n;
^
user.cpp:25:5: error: expected ‘;’ before ‘out’
out<<(n-p)*2+1
^
user.cpp: In function ‘int caut(int, int)’:
user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !