Borderou de evaluare (job #799463)

Utilizator avatar EduardGrigoras eduard EduardGrigoras IP ascuns
Problemă Galbeni (clasa a 6-a) Compilator c-32
Rundă Tema 20 Clasa a 6-a Status evaluat
Dată 11 dec. 2024 12:09:47 Scor 25

Raport evaluator

Compilare: main.c: In function 'main': main.c:64:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 64 | fprintf(fout, "%lld", v[p2-1]); | ~~~^ ~~~~~~~ | | | | | int | long long int | %d main.c:68:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 68 | fprintf(fout, "%lld", v[p1-1+(n-(p1-1))%(p2-p1)]); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | int | long long int | %d main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%lld%lld%lld",&s,&k,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:62:24: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized] 62 | if(n-(p1-1)%(p2-p1)==0) | ~~~^~~~ main.c:7:38: note: 'p1' was declared here 7 | long long int s,n,k,copies,p10=1,p1,p2,i,ok,gogu; | ^~ main.c:62:24: warning: 'p2' may be used uninitialized [-Wmaybe-uninitialized] 62 | if(n-(p1-1)%(p2-p1)==0) | ~~~^~~~ main.c:7:41: note: 'p2' was declared here 7 | long long int s,n,k,copies,p10=1,p1,p2,i,ok,gogu; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 241 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
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 Incorect 0
9 1 ms 245 kb OK 5
10 1 ms 245 kb Incorect 0
11 1 ms 245 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 1 ms 245 kb Incorect 0
18 1 ms 245 kb Incorect 0
19 1 ms 245 kb Incorect 0
20 1 ms 245 kb Incorect 0
Punctaj total 25