Borderou de evaluare (job #779928)

Utilizator avatar NICO_ Gavris Nicolae NICO_ IP ascuns
Problemă Reorganizare (clasa a 6-a) Compilator c-32
Rundă Tema 45 Clasa a 5-a Status evaluat
Dată 9 iun. 2024 17:51:16 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:33:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 33 | while(p10<=i) | ^~~~~ main.c:35:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 35 | p10=p10/10; | ^~~ main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin,"%d", &n); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:48:5: /usr/include/bits/stdio2.h:79:10: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:6:21: note: 'p' was declared here 6 | int cftot,p10,i,p,u,n,ci,lim,nrcf1,nrcf2,cf,j; | ^ In function 'fprintf', inlined from 'main' at main.c:48:5: /usr/include/bits/stdio2.h:79:10: warning: 'u' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:6:23: note: 'u' was declared here 6 | int cftot,p10,i,p,u,n,ci,lim,nrcf1,nrcf2,cf,j; | ^
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 OK 10
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb OK 10
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb OK 10
Punctaj total 50