Pagini recente » Borderou de evaluare (job #75279) | Borderou de evaluare (job #1370991) | Borderou de evaluare (job #1695723) | Borderou de evaluare (job #2898156) | Borderou de evaluare (job #1666548)
Borderou de evaluare (job #1666548)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k;
^
user.cpp:31:9: warning: unused variable ‘w’ [-Wunused-variable]
int w,p,nrp,nrmax,prec=0;
^
user.cpp:31:11: warning: unused variable ‘p’ [-Wunused-variable]
int w,p,nrp,nrmax,prec=0;
^
user.cpp:33: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:34: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:36: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:40:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hu%hu",&rock[i].w,&rock[i].p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 280ms | 1616kb | OK | 10 | 100 |
2 | 276ms | 1616kb | OK | 10 |
3 | 264ms | 1620kb | OK | 10 |
4 | 280ms | 1620kb | OK | 10 |
5 | 164ms | 1604kb | OK | 10 |
6 | 260ms | 1624kb | OK | 10 |
7 | 276ms | 1620kb | OK | 10 |
8 | 288ms | 1620kb | OK | 10 |
9 | 276ms | 1620kb | OK | 10 |
10 | 104ms | 448kb | OK | 10 |
Punctaj total | 100 |