Borderou de evaluare (job #1472416)
Utilizator | Data | 17 august 2015 04:32:00 | |
---|---|---|---|
Problema | Aria | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:9: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=]
scanf("%llf%llf",x+i,y+i);
^
user.c:7:9: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=]
user.c:9:40: error: expected ‘)’ before ‘;’ token
s+=((x[i]*y[i+1]-x[i+1]*y[i])/2;
^
user.c:11:1: error: expected ‘;’ before ‘}’ token
}
^
user.c:5:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aria.in","r",stdin),freopen("aria.out","w",stdout),scanf("%d",&n);
^
user.c:5:41: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aria.in","r",stdin),freopen("aria.out","w",stdout),scanf("%d",&n);
^
user.c:5:70: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aria.in","r",stdin),freopen("aria.out","w",stdout),scanf("%d",&n);
^
user.c:7:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llf%llf",x+i,y+i);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !