Borderou de evaluare (job #1548805)
Utilizator | Data | 11 decembrie 2015 15:32:29 | |
---|---|---|---|
Problema | KBetray | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:24: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘int [100002]’
int suma=accumulate(a.begin(),a.begin()+n-1,0);
^
user.cpp:30:34: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘int [100002]’
int suma=accumulate(a.begin(),a.begin()+n-1,0);
^
user.cpp:31:9: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘int [100002]’
sort(a.begin(),a.begin()+n-1);
^
user.cpp:31:19: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘int [100002]’
sort(a.begin(),a.begin()+n-1);
^
user.cpp:33:9: error: request for member ‘begin’ in ‘b’, which is of non-class type ‘int [100002]’
sort(b.begin(),b.begin()+n-1,functie_mai_mare);
^
user.cpp:33:19: error: request for member ‘begin’ in ‘b’, which is of non-class type ‘int [100002]’
sort(b.begin(),b.begin()+n-1,functie_mai_mare);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !