Borderou de evaluare (job #1111319)
Utilizator | Data | 18 februarie 2014 19:51:41 | |
---|---|---|---|
Problema | Statistici de ordine | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:16: error: expected ‘]’ before numeric constant
#define maxn 3 000 010
^
user.cpp:10:7: note: in expansion of macro ‘maxn’
int v[maxn];
^
user.cpp: In function ‘int main()’:
user.cpp:17:13: error: ‘v’ was not declared in this scope
in>>v[i];
^
user.cpp:19:17: error: ‘v’ was not declared in this scope
nth_element(v+1,v+k,v+n+1);
^
user.cpp:21:10: error: ‘a’ was not declared in this scope
out<<a[k];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !