Borderou de evaluare (job #743846)

Utilizator avatar Andreea3425 Diaconu Andreea Andreea3425 IP ascuns
Problemă Maxrec (clasa a 7-a) Compilator c-32
Rundă Tema 8 clasa a 7-a Status evaluat
Dată 10 nov. 2023 19:23:51 Scor 100

Raport evaluator

Compilare: main.c:16:6: warning: return type of 'main' is not 'int' [-Wmain] 16 | void main(){ | ^~~~ main.c: In function 'main': main.c:26:12: warning: 'return' with a value, in function returning void [-Wreturn-type] 26 | return 0; | ^ main.c:16:6: note: declared here 16 | void main(){ | ^~~~ main.c:18:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] 18 | int n,e,x; | ^ main.c: In function 'maxim': main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d%d", &n, &e); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 2 ms 245 kb OK 10
3 2 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 2 ms 507 kb OK 10
6 39 ms 2600 kb OK 10
7 69 ms 4173 kb OK 10
8 79 ms 4964 kb OK 10
9 89 ms 4960 kb OK 10
10 86 ms 5099 kb OK 10
Punctaj total 100