Borderou de evaluare (job #1891620)

Utilizator rebecca0312Andrei Rebecca rebecca0312 Data 24 februarie 2017 10:45: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:7: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:8: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); ^ user.cpp:10: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:12:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &greutate[i], &profit[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms352kbOK510
20ms504kbOK5
30ms1060kbOK515
40ms1460kbOK5
50ms2640kbOK5
68ms8172kbIncorect00
78ms8164kbIncorect0
816msDepăşitMemory limit exceeded.00
916msDepăşitMemory limit exceeded.0
1016msDepăşitMemory limit exceeded.0
1152msDepăşitMemory limit exceeded.00
1252msDepăşitMemory limit exceeded.0
1352msDepăşitMemory limit exceeded.0
1452msDepăşitMemory limit exceeded.00
1552msDepăşitMemory limit exceeded.0
1652msDepăşitMemory limit exceeded.0
1752msDepăşitMemory limit exceeded.00
1852msDepăşitMemory limit exceeded.0
1952msDepăşitMemory limit exceeded.0
2052msDepăşitMemory limit exceeded.0
Punctaj total25

Ceva nu functioneaza?