Borderou de evaluare (job #685546)

Utilizator avatar paundaniel Daniel Paun paundaniel IP ascuns
Problemă Maxrec (clasa a 7-a) Compilator c-32
Rundă Tema 11 Clasa a 7-a Status evaluat
Dată 3 ian. 2023 14:22:58 Scor 0

Raport evaluator

Compilare: main.c: In function 'maxim': main.c:9:16: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'int *' [-Wformat=] 9 | fscanf(fin,"%lld", &e); | ~~~^ ~~ | | | | | int * | long long int * | %d main.c:6:13: warning: variable 'fout' set but not used [-Wunused-but-set-variable] 6 | FILE *fin, *fout; | ^~~~ main.c:9:1: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%lld", &e); | ^~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin,"%d", &n); | ^~~~~~~~~~~~~~~~~~~~ main.c:23:9: warning: 'e' is used uninitialized [-Wuninitialized] 23 | max=maxim(e,max,i); | ^~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb Incorect 0
2 8 ms 638 kb Incorect 0
3 11 ms 634 kb Incorect 0
4 37 ms 2867 kb Killed by Signal 11 0
5 31 ms 2605 kb Killed by Signal 11 0
6 31 ms 2605 kb Killed by Signal 11 0
7 39 ms 2867 kb Killed by Signal 11 0
8 33 ms 2740 kb Killed by Signal 11 0
9 35 ms 2867 kb Killed by Signal 11 0
10 35 ms 2871 kb Killed by Signal 11 0
Punctaj total 0