Borderou de evaluare (job #2880381)

Utilizator mircea_007Mircea Rebengiuc mircea_007 Data 29 martie 2022 17:50:59
Problema Marmote Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:18: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] 13 | fscanf( fin, "%d%d%d%d", n, m, q, l ); | ~^ ~ | | | | int* int main.cpp:13:20: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=] 13 | fscanf( fin, "%d%d%d%d", n, m, q, l ); | ~^ ~ | | | | int* int main.cpp:13:22: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat=] 13 | fscanf( fin, "%d%d%d%d", n, m, q, l ); | ~^ ~ | | | | int* int main.cpp:13:24: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'int' [-Wformat=] 13 | fscanf( fin, "%d%d%d%d", n, m, q, l ); | ~^ ~ | | | | int* int main.cpp:17:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] 17 | fscanf( fin, "%d%d", x, y ); | ~^ ~ | | | | int* int main.cpp:17:22: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=] 17 | fscanf( fin, "%d%d", x, y ); | ~^ ~ | | | | int* int main.cpp:13:9: warning: 'n' is used uninitialized in this function [-Wuninitialized] 13 | fscanf( fin, "%d%d%d%d", n, m, q, l ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:13:9: warning: 'm' is used uninitialized in this function [-Wuninitialized] main.cpp:13:9: warning: 'q' is used uninitialized in this function [-Wuninitialized] main.cpp:13:9: warning: 'l' is used uninitialized in this function [-Wuninitialized] main.cpp:11:27: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 11 | int n, m, q, l, qid, x, y, dx, dy, yvar; | ^ main.cpp:11:24: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 11 | int n, m, q, l, qid, x, y, dx, dy, yvar; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms184kbKilled by Signal 1100
22ms188kbKilled by Signal 110
31ms184kbKilled by Signal 1100
41ms184kbKilled by Signal 110
51ms184kbKilled by Signal 1100
61ms184kbKilled by Signal 110
71ms184kbKilled by Signal 1100
81ms184kbKilled by Signal 110
91ms184kbKilled by Signal 1100
103ms184kbKilled by Signal 110
111ms184kbKilled by Signal 1100
123ms184kbKilled by Signal 110
131ms184kbKilled by Signal 1100
144ms184kbKilled by Signal 110
151ms184kbKilled by Signal 1100
161ms184kbKilled by Signal 110
172ms184kbKilled by Signal 1100
181ms188kbKilled by Signal 110
191ms184kbKilled by Signal 1100
201ms274kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?