Borderou de evaluare (job #1802549)
Utilizator | Data | 10 noiembrie 2016 14:46:17 | |
---|---|---|---|
Problema | Cele mai apropiate puncte din plan | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read()’:
user.cpp:24:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.size(); i++)
^
user.cpp: In function ‘void solve()’:
user.cpp:43:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.size(); i++)
^
user.cpp:45:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=i+1; j<a.size(); j++)
^
user.cpp: At global scope:
user.cpp:54:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:57:30: error: ‘sort’ was not declared in this scope
sort(a.begin(),a.end(),xx);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !