Borderou de evaluare (job #1353638)
Utilizator | Data | 21 februarie 2015 14:30:56 | |
---|---|---|---|
Problema | Por Costel si Azerah | Status | done |
Runda | ONIS 2015, Runda 1 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:18:5: error: expected ‘;’ before ‘g’
g = fopen("azerah.out", "w");
^
user.c:36:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(g, "%d\n", x);
^
user.c:20:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.c:25:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.c:28:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &sz);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !