Pagini recente » Borderou de evaluare (job #232123) | Borderou de evaluare (job #1913268) | Borderou de evaluare (job #1026712) | Borderou de evaluare (job #2310596) | Borderou de evaluare (job #1832570)
Borderou de evaluare (job #1832570)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:35: 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:19:37: 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:20: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:22:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].w,&v[i].p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 260ms | 2620kb | OK | 10 | 100 |
2 | 264ms | 2620kb | OK | 10 |
3 | 256ms | 2620kb | OK | 10 |
4 | 260ms | 2620kb | OK | 10 |
5 | 184ms | 2604kb | OK | 10 |
6 | 240ms | 2624kb | OK | 10 |
7 | 260ms | 2620kb | OK | 10 |
8 | 268ms | 2620kb | OK | 10 |
9 | 260ms | 2620kb | OK | 10 |
10 | 184ms | 2604kb | OK | 10 |
Punctaj total | 100 |