Borderou de evaluare (job #756984)

Utilizator avatar Bla1234 Nerdvana 7 Sercaianu Mihai Bla1234 IP ascuns
Problemă Becuri1 (clasa a 7-a) Compilator c-32
Rundă Tema 16 clasa a 7-a Status evaluat
Dată 22 ian. 2024 17:20:56 Scor 0

Raport evaluator

Compilare: In file included from main.c:2: main.c: In function 'readShort': main.c:21:27: warning: assignment to 'short int' from 'char (*)()' makes integer from pointer without a cast [-Wint-conversion] 21 | } while ( isdigit( ch = readChar ) ); | ^ main.c: In function 'readChar': main.c:12:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fread( rbuf, 1, BUFSIZE, fin ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:31:20: warning: 'n' is used uninitialized [-Wuninitialized] 31 | for ( l = 1; l <= n; l++ ) | ~~^~~~ main.c:29:11: note: 'n' was declared here 29 | short n, m, l, c, vf, max, k; | ^ main.c:37:25: warning: 'm' is used uninitialized [-Wuninitialized] 37 | for ( c = 0; c <= m + 1; c++ ) | ~~^~~ main.c:29:14: note: 'm' was declared here 29 | short n, m, l, c, vf, max, k; | ^ In function 'min', inlined from 'main' at main.c:45:24: main.c:25:22: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 25 | return a < b ? a : b; | ~~~~~~~~~~^~~ main.c: In function 'main': main.c:29:32: note: 'k' was declared here 29 | short n, m, l, c, vf, max, k; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 241 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 241 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
11 1 ms 241 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 1 ms 241 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 1 ms 241 kb Incorect 0
16 1 ms 241 kb Incorect 0
17 1 ms 245 kb Incorect 0
18 1 ms 245 kb Incorect 0
19 1 ms 245 kb Incorect 0
20 1 ms 245 kb Incorect 0
Punctaj total 0