Borderou de evaluare (job #579186)

Utilizator avatar vladimir.gavris vladimir g vladimir.gavris IP ascuns
Problemă Numere24 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 22 ian. 2021 09:54:58 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:28:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 28 | fprintf(fout,"%lld",n*10); | ~~~^ ~~~~ | | | | | int | long long int | %d main.c:67:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 67 | else | ^~~~ main.c:71:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 71 | p10*=10; | ^~~ main.c:129:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 129 | fprintf(fout,"%d",nr); | ~^ ~~ | | | | | long long int | int | %lld main.c:10:21: warning: unused variable 'n3' [-Wunused-variable] 10 | int x,c,k,n1,n2,n3,pal,i; | ^~ main.c:10:18: warning: unused variable 'n2' [-Wunused-variable] 10 | int x,c,k,n1,n2,n3,pal,i; | ^~ main.c:10:15: warning: unused variable 'n1' [-Wunused-variable] 10 | int x,c,k,n1,n2,n3,pal,i; | ^~ main.c:18:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 18 | fscanf(fin,"%d",&c); | ^~~~~~~~~~~~~~~~~~~ main.c:24:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 24 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:35:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 35 | fscanf(fin,"%d",&x); | ^~~~~~~~~~~~~~~~~~~ main.c:81:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 81 | fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:123:24: warning: 'pal' may be used uninitialized in this function [-Wmaybe-uninitialized] 123 | pal*=10; | ~~~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb Incorect 0
2 1 ms 262 kb Incorect 0
3 1 ms 262 kb Incorect 0
4 1 ms 262 kb Incorect 0
5 2 ms 262 kb Incorect 0
6 1 ms 262 kb Incorect 0
7 1 ms 262 kb OK 5
8 1 ms 262 kb Incorect 0
9 1 ms 262 kb Incorect 0
10 1 ms 262 kb Incorect 0
11 1 ms 262 kb Incorect 0
12 1 ms 262 kb OK 4
13 1 ms 262 kb OK 4
14 1 ms 262 kb Incorect 0
15 1 ms 262 kb Incorect 0
16 1 ms 262 kb Incorect 0
17 1 ms 262 kb Incorect 0
18 1 ms 262 kb Incorect 0
19 1 ms 262 kb Incorect 0
20 1 ms 262 kb Incorect 0
21 1 ms 262 kb Incorect 0
22 1 ms 262 kb OK 3
23 1 ms 262 kb OK 4
Punctaj total 20