Borderou de evaluare (job #848514)

Utilizator avatar filipvoiculescuu Filip Voiculescu filipvoiculescuu IP ascuns
Problemă Hobbit (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 13 ian. 2026 22:03:00 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:17: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 11 | fscanf(fin,"%d%dll",&A,&B); | ~^ ~~ | | | | int * long long int * | %lld main.c:11:19: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 11 | fscanf(fin,"%d%dll",&A,&B); | ~^ ~~ | | | | int * long long int * | %lld main.c:35:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 35 | fprintf(fout,"%dll",x); | ~^ ~ | | | | int long long int | %lld main.c:8:37: warning: variable 'd' set but not used [-Wunused-but-set-variable] 8 | long long int A,B,x,y,r,ucA,ucB,z,d; | ^ main.c:8:35: warning: variable 'z' set but not used [-Wunused-but-set-variable] 8 | long long int A,B,x,y,r,ucA,ucB,z,d; | ^ main.c:11:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d%dll",&A,&B); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:9:5: warning: 'x' is used uninitialized [-Wuninitialized] 9 | z=x; | ~^~ main.c:8:21: note: 'x' was declared here 8 | long long int A,B,x,y,r,ucA,ucB,z,d; | ^ main.c:10:5: warning: 'y' is used uninitialized [-Wuninitialized] 10 | d=y; | ~^~ main.c:8:23: note: 'y' was declared here 8 | long long int A,B,x,y,r,ucA,ucB,z,d; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 depășit 296 kb Time limit exceeded. 0
2 depășit 512 kb Time limit exceeded. 0
3 depășit 512 kb Time limit exceeded. 0
4 depășit 512 kb Time limit exceeded. 0
5 depășit 512 kb Time limit exceeded. 0
Punctaj total 0