Borderou de evaluare (job #784800)

Utilizator avatar Radu_Balas Radu Andrei Balas Radu_Balas IP ascuns
Problemă Extraprime (clasa a 5-a) Compilator c-32
Rundă Precurs Tema 5 Clasa a 6-a Status evaluat
Dată 28 aug. 2024 17:01:08 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:50:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 50 | if (ciur[nr]==1) | ^~ main.c:52:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 52 | nr=0; | ^~ main.c:10:1: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d%d" ,&n ,&n1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:65:1: /usr/include/bits/stdio2.h:79:10: warning: 'maxim' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:9:31: note: 'maxim' was declared here 9 | int n,n1,b,i,k,minim=10000000,maxim,s=0,u,u1,nr=0,s1=0,d,adv; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 249 kb OK 10
7 59 ms 1290 kb OK 10
8 749 ms 10469 kb OK 10
9 559 ms 7589 kb OK 10
10 769 ms 10223 kb OK 10
Punctaj total 100