Borderou de evaluare (job #2879263)

Utilizator Remus.RughinisRemus Rughinis Remus.Rughinis Data 28 martie 2022 12:56:20
Problema Amat Status done
Runda clasa_9_nationala_2016-2021 Compilator c-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:68:21: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int (*)[5]' [-Wformat=] 68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]); | ~^ ~~~~~~ | | | | int * int (*)[5] main.c:68:23: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'int (*)[5]' [-Wformat=] 68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]); | ~^ ~~~~~~ | | | | int * int (*)[5] main.c:68:25: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'int (*)[5]' [-Wformat=] 68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]); | ~^ ~~~~~~ | | | | int * int (*)[5] main.c:68:27: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'int (*)[5]' [-Wformat=] 68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]); | ~^ ~~~~~~ | | | | int * int (*)[5] main.c:68:29: warning: format '%d' expects argument of type 'int *', but argument 7 has type 'int (*)[5]' [-Wformat=] 68 | fscanf(fin, "%d%d%d%d%d", &qv[0], &qv[1], &qv[2], &qv[3], &qv[4]); | ~^ ~~~~~~ | | | | int * int (*)[5] main.c:63:5: warning: 'mj2' may be used uninitialized in this function [-Wmaybe-uninitialized] 63 | fprintf(fout, "%d %d %d %d\n", mi1, mj1, mi2, mj2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:63:5: warning: 'mj1' may be used uninitialized in this function [-Wmaybe-uninitialized] main.c:63:5: warning: 'mi2' may be used uninitialized in this function [-Wmaybe-uninitialized] main.c:63:5: warning: 'mi1' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK5
22ms184kbOK5
326ms2277kbOK5
4113ms4452kbOK5
5274ms4718kbOK5
6307ms4722kbOK5
71ms188kbIncorect0
86ms6467kbIncorect0
95ms2273kbIncorect0
1011ms4456kbIncorect0
1135ms6541kbIncorect0
1234ms4448kbIncorect0
13279ms8908kbIncorect0
14239ms8769kbIncorect0
15300ms8904kbIncorect0
16311ms9031kbIncorect0
17397ms9039kbIncorect0
18550ms8900kbIncorect0
19448ms9035kbIncorect0
20722ms9031kbIncorect0
Punctaj total30

Ceva nu functioneaza?