Borderou de evaluare (job #857970)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Copii (clasa a 5-a) | Compilator | c |
| Rundă | Tema 26 Clasa a 5-a | Status | evaluat |
| Dată | 16 mar. 2026 19:30:36 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:16:9: error: 'cnt5' undeclared (first use in this function); did you mean 'cnt2'?
16 | cnt5 = 0;
| ^~~~
| cnt2
main.c:16:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:66:22: error: conflicting types for 'tmp'; have 'long int'
66 | long tmp = 1;
| ^~~
main.c:65:23: note: previous declaration of 'tmp' with type 'long long int'
65 | long long tmp;
| ^~~
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:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d%d",&X,&K);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:47:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
47 | fscanf(fin,"%lld",&Y);
| ^~~~~~~~~~~~~~~~~~~~~