Borderou de evaluare (job #644536)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Trio (clasa a 5-a) | Compilator | c-32 |
Rundă | Tema 35 clasa a 5-a | Status | evaluat |
Dată | 28 mar. 2022 20:00:28 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:11:22: error: 'cer' undeclared (first use in this function)
11 | fscanf(fin,"%d%d",&cer,&n);
| ^~~
main.c:11:22: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:5: error: 'cn' undeclared (first use in this function); did you mean 'c3'?
13 | cn=n;
| ^~
| c3
main.c:28:7: error: 'st' undeclared (first use in this function)
28 | st=0;
| ^~
main.c:29:7: error: 'f' undeclared (first use in this function)
29 | f=0;
| ^
main.c:30:7: error: 'stt' undeclared (first use in this function)
30 | stt=0;
| ^~~
main.c:32:9: error: 'cc1' undeclared (first use in this function); did you mean 'c1'?
32 | cc1=c1+1;
| ^~~
| c1
main.c:34:11: error: 'cop' undeclared (first use in this function)
34 | cop=a[c1];
| ^~~
main.c:39:9: error: 'cc2' undeclared (first use in this function); did you mean 'c2'?
39 | cc2=c2+1;
| ^~~
| c2
main.c:41:11: error: 'copy' undeclared (first use in this function)
41 | copy=b[c2];
| ^~~~
main.c:46:9: error: 'cc3' undeclared (first use in this function); did you mean 'c3'?
46 | cc3=c3+1;
| ^~~
| c3
main.c:48:11: error: 'copi' undeclared (first use in this function)
48 | copi=b[c3];
| ^~~~
main.c:53:12: error: expected expression before ')' token
53 | if()/*nu am putut sa codul termin ca a expirat termenul*/
| ^
main.c:55:1: error: expected declaration or statement at end of input
55 | }
| ^
main.c:55:1: error: expected declaration or statement at end of input
main.c:55:1: error: expected declaration or statement at end of input
main.c:9:18: warning: unused variable 'max' [-Wunused-variable]
9 | int n,c1,c2,c3,max;
| ^~~