Borderou de evaluare (job #2697362)

Utilizator andrei_marciucMarciuc Andrei andrei_marciuc Data 18 ianuarie 2021 12:57:43
Problema AI Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void Lee(int (*)[1001])': main.cpp:52:37: warning: narrowing conversion of '(((int)nr.poziti::l) + dl[d])' from 'int' to 'short int' inside { } [-Wnarrowing] q[ poz++ ] = { nr.l + dl[ d ], nr.c + dc[ d ] }; ~~~~~^~~~~~~~~ main.cpp:52:53: warning: narrowing conversion of '(((int)nr.poziti::c) + dc[d])' from 'int' to 'short int' inside { } [-Wnarrowing] q[ poz++ ] = { nr.l + dl[ d ], nr.c + dc[ d ] }; ~~~~~^~~~~~~~~ main.cpp:46:17: warning: unused variable 'ok' [-Wunused-variable] int st = 0, ok = 0; ^~ main.cpp: In function 'int main()': main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] fscanf( fin, "%d%d %d %d %d %d %d %d %d %d %d%d", &n, &tinta.l, &tinta.c, &ls1.l, &ls1.c, &ls2.l, &ls2.c, &rb1.l, &rb1.c, &rb2.l, &rb2.c, &m ); ^ main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=] main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'short int*' [-Wformat=] main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'short int*' [-Wformat=] main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 8 has type 'short int*' [-Wformat=] main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 9 has type 'short int*' [-Wformat=] main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 10 has type 'short int*' [-Wformat=] main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 11 has type 'short int*' [-Wformat=] main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 12 has type 'short int*' [-Wformat=] main.cpp:60:146: warning: format '%d' expects argument of type 'int*', but argument 13 has type 'short int*' [-Wformat=] main.cpp:94:33: warning: narrowing conversion of 'l' from 'int' to 'short int' inside { } [-Wnarrowing] v[ 2 ] = { l, c }; ^ main.cpp:94:33: warning: narrowing conversion of 'c' from 'int' to 'short int' inside { } [-Wnarrowing] main.cpp:105:33: warning: narrowing conversion of 'l' from 'int' to 'short int' inside { } [-Wnarrowing] v[ 2 ] = { l, c }; ^ main.cpp:105:33: warning: narrowing conversion of 'c' from 'int' to 'short int' inside { } [-Wnarrowing] main.cpp:60:147: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d %d %d %d %d %d %d %d %d %d%d", &n, &tinta.l, &tinta.c, &ls1.l, &ls1.c, &ls2.l, &ls2.c, &rb1.l, &rb1.c, &rb2.l, &rb2.c, &m ); ^ main.cpp:66:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d %d", &x, &y ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms262kbKilled by Signal 110
33ms262kbKilled by Signal 110
47ms524kbKilled by Signal 110
59ms581kbKilled by Signal 110
621ms806kbKilled by Signal 110
72ms393kbKilled by Signal 110
83ms262kbKilled by Signal 110
98ms655kbKilled by Signal 110
107ms1179kbKilled by Signal 110
1120ms1179kbKilled by Signal 110
1273ms1441kbKilled by Signal 110
1358ms1703kbKilled by Signal 110
1454ms1966kbKilled by Signal 110
1518ms2228kbKilled by Signal 110
168ms2228kbKilled by Signal 110
1721ms1703kbKilled by Signal 110
1845ms2228kbKilled by Signal 110
1945ms1441kbKilled by Signal 110
2055ms2228kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?