Borderou de evaluare (job #1347942)

Utilizator Mihai22eMihai Ionut Enache Mihai22e Data 19 februarie 2015 13:09:49
Problema Mine Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 48

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:102:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while(p < len && s[p] < '0' || s[p] > '9') ^ user.cpp:68:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mine.in", "r", stdin); ^ user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mine.out", "w", stdout); ^ user.cpp:71:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:72:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 3, stdin); ^ user.cpp:76:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 100, stdin); ^ user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &W); ^ user.cpp:99:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 3, stdin); ^ user.cpp:100:36: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, MAX_W * 10 - 5, stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms400kbOK4
20ms424kbOK4
316ms1264kbOK4
40ms592kbOK4
516ms1228kbOK4
692ms4056kbOK4
784ms3948kbOK4
888ms3952kbOK4
9Depăşit6092kbTime limit exceeded.0
10Depăşit6392kbTime limit exceeded.0
110ms400kbOK4
120ms448kbOK4
138ms868kbOK4
14Depăşit7660kbTime limit exceeded.0
15Depăşit7236kbTime limit exceeded.0
16Depăşit7428kbTime limit exceeded.0
1772ms4032kbOK4
18Depăşit6132kbTime limit exceeded.0
19Depăşit7512kbTime limit exceeded.0
20Depăşit7940kbTime limit exceeded.0
21Depăşit7460kbTime limit exceeded.0
22Depăşit7200kbTime limit exceeded.0
23Depăşit7032kbTime limit exceeded.0
24Depăşit7276kbTime limit exceeded.0
25Depăşit7288kbTime limit exceeded.0
Punctaj total48

Ceva nu functioneaza?