Borderou de evaluare (job #854048)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Maxarea | Compilator | c |
| Rundă | Tema 18 Clasa a 7-a | Status | evaluat |
| Dată | 22 feb. 2026 19:31:19 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'readInt':
main.c:18:16: warning: unused variable 'semn' [-Wunused-variable]
18 | int ch,res=0,semn=1;
| ^~~~
main.c: In function 'main':
main.c:30:6: error: assignment to 'int' from 'int (*)()' makes integer from pointer without a cast [-Wint-conversion]
30 | n=readInt;
| ^
main.c:27:17: warning: unused variable 'j' [-Wunused-variable]
27 | int n,ina,i,j,cnt,lung;
| ^
main.c: In function 'readChar':
main.c:13:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fread(rbuf,1,BUFSIZE,fin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~