Borderou de evaluare (job #1513592)

Utilizator ialexia_ioanaAlexia Ichim ialexia_ioana Data 29 octombrie 2015 19:01:47
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:37: 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:13:39: 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:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &gmax); ^ user.cpp:21:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &g, &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms260kbOK510
20ms260kbOK5
30ms268kbOK515
40ms260kbOK5
50ms264kbOK5
60ms264kbOK510
70ms260kbOK5
80ms268kbOK515
90ms260kbOK5
100ms260kbOK5
1136ms280kbOK515
1228ms280kbOK5
1324ms280kbOK5
1480ms296kbOK515
15104ms300kbOK5
1684ms296kbOK5
1756ms284kbOK520
18128ms296kbOK5
19104ms300kbOK5
20104ms300kbOK5
Punctaj total100

Ceva nu functioneaza?