Borderou de evaluare (job #1797574)

Utilizator sergiunascaSergiu Nasca sergiunasca Data 4 noiembrie 2016 16:36:56
Problema Exp Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int getNr()’: user.cpp:31:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pozitie == strlen(buffer)) ^ user.cpp:40:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pozitie == strlen(buffer)) ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:88:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(poz == d.size()) ^ user.cpp:96:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < d.size(); ++i) ^ user.cpp:106:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < d.size(); ++i) ^ user.cpp: In function ‘void citire()’: user.cpp:22:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 50000, stdin); ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:50:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("exp.in", "r", stdin); ^ user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("exp.out", "w", stdout); ^ user.cpp:55:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %d ", &m, &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit464kbTime limit exceeded.0
2Depăşit460kbTime limit exceeded.0
30ms448kbOK10
40ms456kbOK10
50ms448kbOK10
60ms452kbOK10
70ms456kbOK10
88ms460kbOK10
940ms460kbOK10
100ms452kbOK10
Punctaj total80

Ceva nu functioneaza?