Borderou de evaluare (job #722697)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Cmmdc (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 2 iun. 2023 09:55:23 Scor 67

Raport evaluator

Compilare: main.c: In function 'main': main.c:38:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 38 | fprintf(fout,"%lld",pr[n]); | ~~~^ ~~~~~ | | | | | int | long long int | %d main.c:40:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 40 | if(su[2] > max) | ^~ main.c:42:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 42 | for(i = 1; i <= n - 2;i++){ | ^~~ main.c:13:34: warning: unused variable 'j2' [-Wunused-variable] 13 | long long a,b,r,max=0,j,t,i2,j2; | ^~ main.c:13:31: warning: unused variable 'i2' [-Wunused-variable] 13 | long long a,b,r,max=0,j,t,i2,j2; | ^~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d%d%lld",&c,&n,&a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin,"%lld",&b); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb OK 4
3 9 ms 245 kb OK 4
4 79 ms 1298 kb OK 4
5 79 ms 1298 kb OK 4
6 9 ms 245 kb OK 4
7 9 ms 245 kb OK 4
8 49 ms 512 kb OK 4
9 119 ms 1294 kb OK 4
10 2 ms 245 kb OK 7
11 1 ms 245 kb OK 7
12 1 ms 249 kb incorect 0
13 9 ms 249 kb OK 7
14 49 ms 770 kb incorect 0
15 129 ms 1294 kb incorect 0
16 1 ms 245 kb OK 2
17 1 ms 249 kb OK 2
18 1 ms 249 kb OK 2
19 1 ms 249 kb incorect 0
20 9 ms 245 kb incorect 0
21 9 ms 245 kb incorect 0
22 58 ms 249 kb OK 2
23 99 ms 249 kb OK 2
24 159 ms 245 kb incorect 0
25 208 ms 249 kb incorect 0
26 278 ms 249 kb incorect 0
Punctaj total 67