Borderou de evaluare (job #826844)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | La coadă | Compilator | c-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 2 iun. 2025 10:26:28 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:10:1: warning: data definition has no type or storage class
10 | fout = fopen( "lacoada.out", "w" );
| ^~~~
main.c:10:1: error: type defaults to 'int' in declaration of 'fout' [-Wimplicit-int]
main.c:10:1: error: conflicting types for 'fout'; have 'int'
main.c:9:13: note: previous declaration of 'fout' with type 'FILE *'
9 | FILE *fin, *fout;
| ^~~~
main.c:11:1: warning: data definition has no type or storage class
11 | fin = fopen( "lacoada.in", "r" );
| ^~~
main.c:11:1: error: type defaults to 'int' in declaration of 'fin' [-Wimplicit-int]
main.c:11:1: error: conflicting types for 'fin'; have 'int'
main.c:9:7: note: previous declaration of 'fin' with type 'FILE *'
9 | FILE *fin, *fout;
| ^~~