Borderou de evaluare (job #1428438)

Utilizator tudorcomanTudor Coman tudorcoman Data 4 mai 2015 16:07:58
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main(int, const char**)’: user.cpp:14:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen (fi, "r", stdin); ^ user.cpp:15:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen (fo, "w", stdout); ^ user.cpp:17:24: 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:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&w,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms280kbOK510
20ms364kbOK5
30ms640kbOK515
40ms840kbOK5
50ms1440kbOK5
64ms4184kbOK510
74ms4192kbOK5
812ms8144kbOK515
912ms8140kbOK5
1012ms8140kbOK5
1120msDepăşitMemory limit exceeded.00
1216msDepăşitMemory limit exceeded.0
1316msDepăşitMemory limit exceeded.0
1432msDepăşitMemory limit exceeded.00
1532msDepăşitMemory limit exceeded.0
1628msDepăşitMemory limit exceeded.0
1716msDepăşitMemory limit exceeded.00
1836msDepăşitMemory limit exceeded.0
1932msDepăşitMemory limit exceeded.0
2028msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?