Borderou de evaluare (job #817313)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Prâslea ( clasa a 6-a ) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 31 mar. 2025 20:41:13 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:12:32: error: 'l' undeclared (first use in this function)
12 | fscanf(fin,"%d%d%d",&n,&m,&l);
| ^
main.c:12:32: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:20: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'int *' [-Wformat=]
17 | fscanf(fin,"%lld",&d);
| ~~~^ ~~
| | |
| | int *
| long long int *
| %d
main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%d%lld",&p,&x);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin,"%lld",&d);
| ^~~~~~~~~~~~~~~~~~~~~