Borderou de evaluare (job #1349731)

Utilizator Mihai22eMihai Ionut Enache Mihai22e Data 20 februarie 2015 14:04:51
Problema Mine Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 32

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:105:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while(p < len && s[p] < '0' || s[p] > '9') ^ user.cpp:71: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:72: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:74: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:75: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:79: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:100:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &W); ^ user.cpp:102: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:103: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
148ms39460kbOK4
248ms39472kbOK4
368ms39808kbOK4
452ms39524kbOK4
568ms39776kbOK4
6Depăşit41016kbTime limit exceeded.0
7Depăşit40836kbTime limit exceeded.0
8Depăşit40860kbTime limit exceeded.0
9Depăşit41392kbTime limit exceeded.0
10Depăşit42316kbTime limit exceeded.0
1148ms39464kbOK4
1248ms39492kbOK4
1356ms39772kbOK4
14Depăşit44536kbTime limit exceeded.0
15Depăşit44008kbTime limit exceeded.0
16Depăşit44240kbTime limit exceeded.0
17Depăşit42024kbTime limit exceeded.0
18Depăşit41884kbTime limit exceeded.0
19Depăşit42160kbTime limit exceeded.0
20Depăşit42276kbTime limit exceeded.0
21Depăşit42800kbTime limit exceeded.0
22Depăşit42816kbTime limit exceeded.0
23Depăşit43456kbTime limit exceeded.0
24Depăşit44300kbTime limit exceeded.0
25Depăşit44296kbTime limit exceeded.0
Punctaj total32

Ceva nu functioneaza?