Borderou de evaluare (job #749829)

Utilizator avatar Roby2206 Staicu Robert Roby2206 IP ascuns
Problemă Parola (clasa a 5-a) Compilator c-32
Rundă Tema 16 clasa a 5-a Status evaluat
Dată 6 dec. 2023 21:35:50 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] 8 | fscanf(fin,"%d",&k); | ~^ ~~ | | | | | long int * | int * | %ld main.c:9:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] 9 | fscanf(fin,"%d",&a); | ~^ ~~ | | | | | long int * | int * | %ld main.c:10:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] 10 | fscanf(fin,"%d",&b); | ~^ ~~ | | | | | long int * | int * | %ld main.c:50:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 50 | fprintf(fout,"%d",parola); | ~^ ~~~~~~ | | | | | long int | int | %ld main.c:7:37: warning: unused variable 'nrcif' [-Wunused-variable] 7 | long a,b,k,parola=0,oglindit=0,nrcif,ca,cb,y=1,i; | ^~~~~ main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d",&b); | ^~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 50