Borderou de evaluare (job #1786436)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 22 octombrie 2016 22:17:24
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:16:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &gmax); ^ user.cpp:18:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &ob[i].g, &ob[i].v); ^ user.cpp: In function ‘int main()’: user.cpp:34:35: 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:35:37: 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms312kbIncorect00
20ms388kbIncorect0
30ms668kbIncorect00
40ms864kbIncorect0
50ms1456kbIncorect0
64ms4208kbIncorect00
74ms4208kbIncorect0
812ms8152kbIncorect00
916ms8156kbIncorect0
1016ms8156kbIncorect0
1152msDepăşitMemory limit exceeded.00
1252msDepăşitMemory limit exceeded.0
1352msDepăşitMemory limit exceeded.0
140ms308kbKilled by signal 11(SIGSEGV).00
150ms304kbKilled by signal 11(SIGSEGV).0
160ms304kbKilled by signal 11(SIGSEGV).0
1752msDepăşitMemory limit exceeded.00
180ms304kbKilled by signal 11(SIGSEGV).0
190ms308kbKilled by signal 11(SIGSEGV).0
200ms308kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?