Borderou de evaluare (job #1471196)
Utilizator | Data | 13 august 2015 14:06:54 | |
---|---|---|---|
Problema | Radix Sort | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:10:17: error: ‘j’ undeclared (first use in this function)
for(j=1;j<n;j++)
^
user.c:10:17: note: each undeclared identifier is reported only once for each function it appears in
user.c:11:21: warning: operation on ‘u[i]’ may be undefined [-Wsequence-point]
u[i]^=v[i]^=u[i]^=v[i];
^
user.c:4:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.in","r",stdin),freopen("radixsort.out","w",stdout),
^
user.c:4:46: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.in","r",stdin),freopen("radixsort.out","w",stdout),
^
user.c:5:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&a,&b,&c),v[0]=b%c,r=sizeof(v[0]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !