Borderou de evaluare (job #785369)

Utilizator avatar Belea_Darius Belea Mihai Darius Belea_Darius IP ascuns
Problemă Traseu2 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 3 sept. 2024 14:28:29 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:23: warning: format '%c' expects argument of type 'char *', but argument 3 has type 'int *' [-Wformat=] 12 | fscanf(fin, "%c %d\n", &d, &p); | ~^ ~~ | | | | char * int * | %d main.c:9:33: warning: unused variable 'k' [-Wunused-variable] 9 | int l, c, n, m, x, i, d, p, k = 5; // n = nr lini m = nr coloane | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d%d%d%d%d\n", &l, &c, &n, &m, &x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%c %d\n", &d, &p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 507 kb Incorect 0
6 1 ms 245 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 249 kb Incorect 0
11 1 ms 249 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 8 ms 126 kb Incorect 0
14 9 ms 249 kb Incorect 0
15 9 ms 249 kb Incorect 0
16 1 ms 270 kb Incorect 0
17 9 ms 249 kb Incorect 0
18 529 ms 249 kb Incorect 0
19 59 ms 245 kb Incorect 0
20 59 ms 507 kb Incorect 0
Punctaj total 0