Pagini recente » Borderou de evaluare (job #3174438) | Borderou de evaluare (job #1095538) | Borderou de evaluare (job #2457007) | Borderou de evaluare (job #1983057) | Borderou de evaluare (job #2197193)
Borderou de evaluare (job #2197193)
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 | 200ms | 3676kb | OK | 10 | 0 |
2 | 204ms | 3672kb | Incorect | 0 |
3 | 200ms | 3668kb | OK | 10 |
4 | 204ms | 3672kb | OK | 10 |
5 | 152ms | 3664kb | OK | 10 |
6 | 180ms | 3668kb | OK | 10 |
7 | 204ms | 3668kb | OK | 10 |
8 | 204ms | 3672kb | Incorect | 0 |
9 | 204ms | 3672kb | OK | 10 |
10 | 152ms | 3672kb | Incorect | 0 |
Punctaj total | 0 |