Borderou de evaluare (job #2191466)

Utilizator codrutciulacuciulacu codrut cristian codrutciulacu Data 2 aprilie 2018 21:02:17
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
10ms812kbOK510
20ms780kbOK5
30ms2916kbOK515
44ms4912kbOK5
54ms9008kbOK5
624msDepăşitMemory limit exceeded.00
720msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.00
940msDepăşitMemory limit exceeded.0
1040msDepăşitMemory limit exceeded.0
1196msDepăşitMemory limit exceeded.00
1248msDepăşitMemory limit exceeded.0
1348msDepăşitMemory limit exceeded.0
1496msDepăşitMemory limit exceeded.00
15148msDepăşitMemory limit exceeded.0
1696msDepăşitMemory limit exceeded.0
1748msDepăşitMemory limit exceeded.00
18148msDepăşitMemory limit exceeded.0
1996msDepăşitMemory limit exceeded.0
2096msDepăşitMemory limit exceeded.0
Punctaj total25

Ceva nu functioneaza?