Borderou de evaluare (job #1262401)
Utilizator | Data | 13 noiembrie 2014 09:51:31 | |
---|---|---|---|
Problema | Datorii | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de 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: At top level:
user.c:44:4: error: expected identifier or ‘(’ before ‘return’
return 0;
^
user.c:45:1: error: expected identifier or ‘(’ before ‘}’ token
}
^
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);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !