Borderou de evaluare (job #801074)

Utilizator avatar andrei-raileanu-szeles Andrei Raileanu Szeles andrei-raileanu-szeles IP ascuns
Problemă Imprimanta (clasa a 6-a) Compilator c-32
Rundă Christmas Gift Status evaluat
Dată 26 dec. 2024 21:24:13 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:54:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 54 | for(i=0;i<(k-14)/5;i++) | ^~~ main.c:56:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 56 | break; | ^~~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(in,"%lld%d",&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:19:39: warning: 'cifmax' may be used uninitialized [-Wmaybe-uninitialized] 19 | else if(cif[n%10]==min && n%10>cifmax) | ~~~~^~~~~~~ main.c:11:25: note: 'cifmax' was declared here 11 | int k,min=999999999,cifmax,i; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 39 ms 307 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 241 kb OK 10
6 2 ms 241 kb OK 10
7 2 ms 507 kb OK 10
8 1 ms 241 kb OK 10
9 1 ms 241 kb OK 10
10 1 ms 241 kb OK 10
Punctaj total 100