Borderou de evaluare (job #617411)

Utilizator avatar Daniel_paun Daniel Marcus Paun Daniel_paun IP ascuns
Problemă Zoomx2 (clasa a 6-a) Compilator c-32
Rundă Tema 8 clasa a 6-a Status evaluat
Dată 21 nov. 2021 21:38:13 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:17:19: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[50]' [-Wformat=] 17 | {fscanf(fin,"%s", &string ); | ~^ ~~~~~~~ | | | | | char (*)[50] | char * main.c:10:26: warning: unused variable 'm' [-Wunused-variable] 10 | int n,lin,col,i,aj=0,m; | ^ main.c:10:21: warning: unused variable 'aj' [-Wunused-variable] 10 | int n,lin,col,i,aj=0,m; | ^~ main.c:10:19: warning: unused variable 'i' [-Wunused-variable] 10 | int n,lin,col,i,aj=0,m; | ^ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:17:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | {fscanf(fin,"%s", &string ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 258 kb OK 10
2 1 ms 258 kb OK 10
3 1 ms 262 kb OK 10
4 1 ms 258 kb OK 10
5 1 ms 393 kb OK 10
6 1 ms 393 kb OK 10
7 1 ms 524 kb OK 10
8 1 ms 524 kb OK 10
9 1 ms 782 kb OK 10
10 1 ms 774 kb OK 10
Punctaj total 100