Borderou de evaluare (job #1273121)
Utilizator | Data | 22 noiembrie 2014 14:54:04 | |
---|---|---|---|
Problema | Mere | Status | done |
Runda | FMI No Stress 5 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:12:3: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fscanf(f,"%llu%llu",n,k);
^
user.c:12:3: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 4 has type ‘long long unsigned int’ [-Wformat=]
user.c:13:16: error: expected ‘)’ before ‘or’
if(n<k or (n%k==0 and (n/k)%2==0))
^
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&T);
^
user.c:12:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%llu%llu",n,k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !