Borderou de evaluare (job #811484)

Utilizator avatar Stefanu Stefan Ungureanu Stefanu IP ascuns
Problemă Vânătoare ( clasa a 6-a) Compilator c-32
Rundă Simulare OJI clasa a 6-a 2025 Status evaluat
Dată 25 feb. 2025 10:47:11 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:37:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 37 | fprintf(fout,"1\n0\n%d",kb-2); | ~^ ~~~~ | | | | int long long int | %lld main.c:39:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 39 | fprintf(fout,"2\n%d\n0",ka-2); | ~^ ~~~~ | | | | int long long int | %lld main.c:6:19: warning: unused variable 'x' [-Wunused-variable] 6 | int i=2,a,b,j=1,x=0; | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%lld%lld",&ka,&kb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb OK 10
2 4 ms 245 kb Incorect 0
3 4 ms 245 kb Incorect 0
4 5 ms 245 kb Incorect 0
5 5 ms 245 kb Incorect 0
6 8 ms 245 kb Incorect 0
7 8 ms 245 kb Incorect 0
8 7 ms 245 kb Incorect 0
9 3 ms 249 kb Incorect 0
10 4 ms 245 kb OK 10
Punctaj total 20