Borderou de evaluare (job #823282)

Utilizator avatar DragonulCosmic Nerdvana 5 Calin Dragos Andrei DragonulCosmic IP ascuns
Problemă Cabina (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 mai 2025 19:36:59 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:24: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'char *' [-Wformat=] 11 | fscanf (fin, "%d%d%d", &n, &a[0], &b[0]); | ~^ ~~~~~ | | | | int * char * | %hhd main.c:14:26: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'char *' [-Wformat=] 14 | fscanf (fin, "%d%d", &a[i], &b[i]); | ~^ ~~~~~ | | | | int * char * | %hhd main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf (fin, "%d%d%d", &n, &a[0], &b[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf (fin, "%d%d", &a[i], &b[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb foloseste vectori 0
2 1 ms 507 kb foloseste vectori 0
3 2 ms 245 kb foloseste vectori 0
4 2 ms 245 kb foloseste vectori 0
5 1 ms 245 kb foloseste vectori 0
6 1 ms 245 kb foloseste vectori 0
7 1 ms 245 kb foloseste vectori 0
8 2 ms 245 kb foloseste vectori 0
9 1 ms 245 kb foloseste vectori 0
10 1 ms 245 kb foloseste vectori 0
Punctaj total 0