Borderou de evaluare (job #3200874)

Utilizator raileanu-alin-gabrielRaileanu Alin-Gabriel raileanu-alin-gabriel Data 5 februarie 2024 22:37:26
Problema Matrice 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:38:34: warning: array subscript -1 is below array bounds of 'std::pair<int, int> [93025]' [-Warray-bounds] 38 | to_cell[to_node(i, j)]={i, j}; | ~~~~~~~~~~~~~~~~~~~~~^ main.cpp:23:16: note: while referencing 'to_cell' 23 | pair<int, int> to_cell[NMAX*NMAX]; | ^~~~~~~ main.cpp:38:34: warning: array subscript -1 is below array bounds of 'std::pair<int, int> [93025]' [-Warray-bounds] 38 | to_cell[to_node(i, j)]={i, j}; | ~~~~~~~~~~~~~~~~~~~~~^ main.cpp:23:16: note: while referencing 'to_cell' 23 | pair<int, int> to_cell[NMAX*NMAX]; | ^~~~~~~ main.cpp:38:34: warning: array subscript -1 is below array bounds of 'std::pair<int, int> [93025]' [-Warray-bounds] 38 | to_cell[to_node(i, j)]={i, j}; | ~~~~~~~~~~~~~~~~~~~~~^ main.cpp:23:16: note: while referencing 'to_cell' 23 | pair<int, int> to_cell[NMAX*NMAX]; | ^~~~~~~ main.cpp:38:34: warning: array subscript -1 is below array bounds of 'std::pair<int, int> [93025]' [-Warray-bounds] 38 | to_cell[to_node(i, j)]={i, j}; | ~~~~~~~~~~~~~~~~~~~~~^ main.cpp:23:16: note: while referencing 'to_cell' 23 | pair<int, int> to_cell[NMAX*NMAX]; | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbOK5
31ms557kbOK5
43ms819kbOK5
52ms561kbOK5
62ms557kbOK5
73ms819kbOK5
89ms3178kbOK5
98ms3158kbOK5
1019ms4542kbOK5
1119ms4440kbOK5
1234ms6074kbOK5
1334ms6139kbOK5
1439ms7360kbOK5
1538ms7634kbOK5
1648ms8790kbOK5
1768ms9027kbOK5
1887ms11841kbOK5
1993ms14417kbOK5
2083ms14471kbOK5
Punctaj total100

Ceva nu functioneaza?