Borderou de evaluare (job #1241979)

Utilizator FayedStratulat Alexandru Fayed Data 13 octombrie 2014 21:09:46
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:15:32: 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:16:35: 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:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&G); ^ user.cpp:20:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&Weight[i], &Cost[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms304kbOK510
20ms376kbOK5
30ms656kbOK515
40ms848kbOK5
50ms1444kbOK5
64ms4232kbOK510
74ms4232kbOK5
812msDepăşitMemory limit exceeded.00
912msDepăşitMemory limit exceeded.0
1012msDepăşitMemory limit exceeded.0
1152msDepăşitMemory limit exceeded.00
1252msDepăşitMemory limit exceeded.0
1352msDepăşitMemory limit exceeded.0
1452msDepăşitMemory limit exceeded.00
1548msDepăşitMemory limit exceeded.0
1648msDepăşitMemory limit exceeded.0
1752msDepăşitMemory limit exceeded.00
1848msDepăşitMemory limit exceeded.0
1948msDepăşitMemory limit exceeded.0
2048msDepăşitMemory limit exceeded.0
Punctaj total35

Ceva nu functioneaza?