Borderou de evaluare (job #2191751)

Utilizator UnseenMarksmanDavid Catalin UnseenMarksman Data 3 aprilie 2018 16:57:40
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rucsac.in", "r", stdin); ^ user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rucsac.out", "w", stdout); ^ user.cpp:55:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &G); ^ user.cpp:57:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &W[i], &P[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms792kbOK510
20ms784kbOK5
30ms2936kbOK515
40ms4928kbOK5
54ms9024kbOK5
612msDepăşitMemory limit exceeded.00
712msDepăşitMemory limit exceeded.0
824msDepăşitMemory limit exceeded.00
920msDepăşitMemory limit exceeded.0
1020msDepăşitMemory limit exceeded.0
1148msDepăşitMemory limit exceeded.00
1248msDepăşitMemory limit exceeded.0
1348msDepăşitMemory limit exceeded.0
1448msDepăşitMemory limit exceeded.00
1548msDepăşitMemory limit exceeded.0
1648msDepăşitMemory limit exceeded.0
1748msDepăşitMemory limit exceeded.00
1848msDepăşitMemory limit exceeded.0
1948msDepăşitMemory limit exceeded.0
2048msDepăşitMemory limit exceeded.0
Punctaj total25

Ceva nu functioneaza?