Pagini recente » Borderou de evaluare (job #1368278) | Borderou de evaluare (job #356803) | Borderou de evaluare (job #679304) | Borderou de evaluare (job #3115830) | Borderou de evaluare (job #1262403)
Borderou de evaluare (job #1262403)
Raport evaluator
Compilare:
user.c: In function ‘update’:
user.c:7:23: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(;poz<=n;poz+=poz&(poz-1)^poz){
^
user.c: In function ‘query’:
user.c:14:20: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(;poz;poz-=poz&(poz-1)^poz){
^
user.c: In function ‘main’:
user.c:26:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%d",&n,&m);
^
user.c:28:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&d);
^
user.c:32:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%d%d",&op,&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 88ms | 312kb | Corect! | 20 |
2 | 88ms | 312kb | Corect! | 20 |
3 | 80ms | 312kb | Corect! | 20 |
4 | 80ms | 316kb | Corect! | 20 |
5 | 80ms | 316kb | Corect! | 20 |
Punctaj total | 100 |