Borderou de evaluare (job #1347931)

Utilizator Mihai22eMihai Ionut Enache Mihai22e Data 19 februarie 2015 13:04:14
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
20ms428kbOK4
316ms1268kbOK4
40ms592kbOK4
516ms1232kbOK4
692ms4048kbOK4
788ms3948kbOK4
884ms3952kbOK4
9Depăşit5972kbTime limit exceeded.0
10Depăşit6420kbTime limit exceeded.0
110ms404kbOK4
120ms448kbOK4
138ms860kbOK4
14Depăşit7648kbTime limit exceeded.0
15Depăşit7212kbTime limit exceeded.0
16Depăşit7424kbTime limit exceeded.0
1784ms4028kbOK4
18Depăşit6144kbTime limit exceeded.0
19Depăşit7604kbTime limit exceeded.0
20Depăşit7988kbTime limit exceeded.0
21Depăşit7512kbTime limit exceeded.0
22Depăşit7240kbTime limit exceeded.0
23Depăşit7016kbTime limit exceeded.0
24Depăşit7252kbTime limit exceeded.0
25Depăşit7248kbTime limit exceeded.0
Punctaj total48

Ceva nu functioneaza?