Borderou de evaluare (job #2090770)

Utilizator AndreiStanescuAlloys Nokito AndreiStanescu Data 18 decembrie 2017 18:20:13
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:22: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:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&gm); ^ user.cpp:25:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&g[i],&c[i]); ^ user.cpp: In function ‘void print()’: user.cpp:49: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
10ms532kbOK510
20ms1608kbOK5
34ms3956kbOK515
44ms2492kbOK5
54ms2856kbOK5
620ms6412kbOK510
720ms6420kbOK5
832msDepăşitMemory limit exceeded.00
944msDepăşitMemory limit exceeded.0
1044msDepăşitMemory limit exceeded.0
11100msDepăşitMemory limit exceeded.00
1248msDepăşitMemory limit exceeded.0
1348msDepăşitMemory limit exceeded.0
1448msDepăşitMemory limit exceeded.00
15100msDepăşitMemory limit exceeded.0
1648msDepăşitMemory limit exceeded.0
1748msDepăşitMemory limit exceeded.00
18100msDepăşitMemory limit exceeded.0
1948msDepăşitMemory limit exceeded.0
2048msDepăşitMemory limit exceeded.0
Punctaj total35

Ceva nu functioneaza?