Borderou de evaluare (job #819421)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Pomi (clasa a 6-a) | Compilator | c-32 |
| Rundă | antrenament-balas_staicu | Status | evaluat |
| Dată | 8 apr. 2025 15:31:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:51:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
51 | fprintf(fout,"%lld",n*m-((n-3)*4))
| ~~~^ ~~~~~~~~~~~~~
| | |
| | int
| long long int
| %d
main.c:51:47: error: expected ';' before 'else'
51 | fprintf(fout,"%lld",n*m-((n-3)*4))
| ^
| ;
52 | else
| ~~~~
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin,"%d%d%d%d%d%d",&c,&n,&m,&lin,&col,&k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~