Borderou de evaluare (job #2191473)

Utilizator codrutciulacuciulacu codrut cristian codrutciulacu Data 2 aprilie 2018 21:06:54
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:15:34: 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:36: 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:18:23: 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:30: 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
10ms800kbOK510
20ms932kbOK5
30ms2932kbOK515
40ms4924kbOK5
54ms9028kbOK5
620msDepăşitMemory limit exceeded.00
716msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.00
948msDepăşitMemory limit exceeded.0
1048msDepăşitMemory limit exceeded.0
1148msDepăşitMemory limit exceeded.00
1248msDepăşitMemory limit exceeded.0
1348msDepăşitMemory limit exceeded.0
1448msDepăşitMemory limit exceeded.00
1596msDepăşitMemory limit exceeded.0
1648msDepăşitMemory limit exceeded.0
1748msDepăşitMemory limit exceeded.00
1896msDepăşitMemory limit exceeded.0
1996msDepăşitMemory limit exceeded.0
2048msDepăşitMemory limit exceeded.0
Punctaj total25

Ceva nu functioneaza?