Borderou de evaluare (job #1483903)
Utilizator | Data | 10 septembrie 2015 08:50:20 | |
---|---|---|---|
Problema | Numar de Divizori | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:3:51: error: conflicting types for ‘a’
int k,i,j,x[70000],y[70000],z[140000],w[140000],l,a,b;
^
user.c:2:20: note: previous declaration of ‘a’ was here
unsigned long long a,b,c,d;
^
user.c:3:53: error: conflicting types for ‘b’
int k,i,j,x[70000],y[70000],z[140000],w[140000],l,a,b;
^
user.c:2:22: note: previous declaration of ‘b’ was here
unsigned long long a,b,c,d;
^
user.c: In function ‘main’:
user.c:5:5: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 2 has type ‘int *’ [-Wformat=]
freopen("ndiv.in","r",stdin),freopen("ndiv.out","w",stdout),scanf("%llu%llu",&a,&b),a--;
^
user.c:5:5: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘int *’ [-Wformat=]
user.c:5:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ndiv.in","r",stdin),freopen("ndiv.out","w",stdout),scanf("%llu%llu",&a,&b),a--;
^
user.c:5:41: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ndiv.in","r",stdin),freopen("ndiv.out","w",stdout),scanf("%llu%llu",&a,&b),a--;
^
user.c:5:70: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ndiv.in","r",stdin),freopen("ndiv.out","w",stdout),scanf("%llu%llu",&a,&b),a--;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !