Borderou de evaluare (job #621066)

Utilizator avatar brebenarucarina Carina Brebenaru brebenarucarina IP ascuns
Problemă Joc3 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 15 dec. 2021 19:04:05 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] 12 | fscanf( fin,"%d%d%d", &n, &x, &y); | ~^ ~~ | | | | int * long int * | %ld main.c:12:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long int *' [-Wformat=] 12 | fscanf( fin,"%d%d%d", &n, &x, &y); | ~^ ~~ | | | | int * long int * | %ld main.c:12:23: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long int *' [-Wformat=] 12 | fscanf( fin,"%d%d%d", &n, &x, &y); | ~^ ~~ | | | | int * long int * | %ld main.c:48:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 48 | fprintf( fout, "%d %d %d %d", t,s,b,r); | ~^ ~ | | | | int long int | %ld main.c:48:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 48 | fprintf( fout, "%d %d %d %d", t,s,b,r); | ~^ ~ | | | | int long int | %ld main.c:48:28: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] 48 | fprintf( fout, "%d %d %d %d", t,s,b,r); | ~^ ~ | | | | int long int | %ld main.c:48:31: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] 48 | fprintf( fout, "%d %d %d %d", t,s,b,r); | ~^ ~ | | | | int long int | %ld main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf( fin,"%d%d%d", &n, &x, &y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 258 kb OK 10
4 1 ms 262 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 1 ms 262 kb Incorect 0
7 1 ms 258 kb OK 10
8 1 ms 131 kb OK 10
9 1 ms 262 kb Incorect 0
10 1 ms 258 kb OK 10
Punctaj total 60