Borderou de evaluare (job #1784862)
Utilizator | Data | 20 octombrie 2016 16:26:34 | |
---|---|---|---|
Problema | Elementul majoritar | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:20:27: error: ‘sort’ was not declared in this scope
sort(a.begin(),a.end());
^
user.cpp:22:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.size(); i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !