Borderou de evaluare (job #835372)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Rapper (clasa a 6-a) | Compilator | c |
| Rundă | Tema 1 Clasa a 7-a | Status | evaluat |
| Dată | 11 oct. 2025 15:48:18 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:147:27: error: passing argument 2 of 'citesteLinie' from incompatible pointer type [-Wincompatible-pointer-types]
147 | citesteLinie(fin, &nume, &sp);
| ^~~~~
| |
| char (*)[10000][101]
main.c:10:35: note: expected 'int *' but argument is of type 'char (*)[10000][101]'
10 | void citesteLinie(FILE *fin, int *pnnume, int *psp) {
| ~~~~~^~~~~~
main.c:157:42: error: 't' undeclared (first use in this function)
157 | fprintf(fout, "%s\n", lideri[t]);
| ^
main.c:157:42: note: each undeclared identifier is reported only once for each function it appears in
main.c:108:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
108 | fscanf(fin,"%d",&cer);
| ^~~~~~~~~~~~~~~~~~~~~