Borderou de evaluare (job #1192215)
Utilizator | Data | 28 mai 2014 20:54:59 | |
---|---|---|---|
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:21:20: error: ‘strlen’ was not declared in this scope
int N = strlen(buf);
^
user.cpp:50:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<words.size(); ++i)
^
user.cpp:52:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
printf("%s%s", words[i].c_str(), i+1 == words.size() ? "":" ");
^
user.cpp:20:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sz, stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !