Borderou de evaluare (job #1191978)
Utilizator | Data | 28 mai 2014 19:55:12 | |
---|---|---|---|
Problema | Litere2 | Status | done |
Runda | Infoarena Monthly 2014 - Runda 5 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < word.size(); j++)
^
user.cpp:48:31: error: ‘sort’ was not declared in this scope
sort (A.begin(), A.end(), cmp);
^
user.cpp:51:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < A.size(); i++)
^
user.cpp:56:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A.size(); i++)
^
user.cpp:28:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets (str, MAX_LENGTH, f);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !