Borderou de evaluare (job #854666)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Palindrom 2 (clasa a 5-a) | Compilator | c |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 25 feb. 2026 11:50:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:6:57: error: expected identifier or '(' before ';' token
6 | int C,n,i, x, t, p10, a, b, left, right, p1, p2, y, ;
| ^
main.c:61:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
61 | fprintf(fout,"%lld",y);
| ~~~^ ~
| | |
| | int
| long long int
| %d
main.c:7:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | fscanf(fin,"%d",&C);
| ^~~~~~~~~~~~~~~~~~~
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",&x);
| ^~~~~~~~~~~~~~~~~~~