Borderou de evaluare (job #1395724)
Utilizator | Data | 21 martie 2015 13:05:49 | |
---|---|---|---|
Problema | Cautare binara | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:14: error: expected ‘]’ before ‘;’ token
int v[1000001;
^
user.cpp: In function ‘int main()’:
user.cpp:12:13: error: ‘v’ was not declared in this scope
in>>v[i];
^
user.cpp:23:30: error: ‘v’ was not declared in this scope
if(j+pas<=N&&v[j+pas]<=x)
^
user.cpp:27:16: error: ‘v’ was not declared in this scope
if(v[j]==x) out<<j;
^
user.cpp:37:30: error: ‘v’ was not declared in this scope
if(j+pas<=N&&v[j+pas]<=x)
^
user.cpp:50:30: error: ‘v’ was not declared in this scope
if(j+pas<=N&&v[j+pas]<x)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !