Pagini recente » Borderou de evaluare (job #19483) | Borderou de evaluare (job #1248770) | Borderou de evaluare (job #1053207) | Borderou de evaluare (job #2096027) | Borderou de evaluare (job #2197198)
Borderou de evaluare (job #2197198)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(NR = 3000) break ;
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.in", "r", stdin);
^
user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.out", "w", stdout);
^
user.cpp:17: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:19:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a[i].w, &a[i].p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 204ms | 3668kb | OK | 10 | 0 |
| 2 | 200ms | 3668kb | Incorect | 0 |
| 3 | 200ms | 3668kb | OK | 10 |
| 4 | 204ms | 3668kb | OK | 10 |
| 5 | 148ms | 3660kb | OK | 10 |
| 6 | 184ms | 3668kb | OK | 10 |
| 7 | 200ms | 3668kb | OK | 10 |
| 8 | 204ms | 3668kb | Incorect | 0 |
| 9 | 204ms | 3668kb | OK | 10 |
| 10 | 152ms | 3672kb | Incorect | 0 |
| Punctaj total | 0 |