Borderou de evaluare (job #1979026)
Utilizator | Data | 9 mai 2017 13:43:50 | |
---|---|---|---|
Problema | Subsir crescator maximal | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:5: error: ‘in’ was not declared in this scope
in>>N;
^
user.cpp:26:17: warning: statement has no effect [-Wunused-value]
v[i].idx;
^
user.cpp:29:19: error: ‘sort’ was not declared in this scope
sort(v+1,v+N+1);
^
user.cpp:32:9: error: ‘out’ was not declared in this scope
out<<v[1].idx<<' '<<v[2].idx<<' '<<v[N].idx<<'\n';
^
user.cpp:42:26: error: expected unqualified-id before ‘&&’ token
while (v[i].val. && v[i+1].val) {
^
user.cpp: In function ‘void moveCandy(int, int, int)’:
user.cpp:74:5: error: ‘out’ was not declared in this scope
out<<v[x].idx<<' '<<v[y].idx<<' '<<v[t].idx<<'\n';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !