Borderou de evaluare (job #3240148)

Utilizator rsinventorRaunak Singh rsinventor Data 12 august 2024 19:56:51
Problema Vis Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:59:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | for(int dircnt = 0; dircnt<dirs.size(); dircnt++) { | ~~~~~~^~~~~~~~~~~~ main.cpp:65:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 65 | if (mat[nw[0]][nw[1]] == 0 || nw[2] && mat[nw[0]][nw[1]] <= k1 || nw[3] && mat[nw[0]][nw[1]] >= k2) { main.cpp:65:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 65 | if (mat[nw[0]][nw[1]] == 0 || nw[2] && mat[nw[0]][nw[1]] <= k1 || nw[3] && mat[nw[0]][nw[1]] >= k2) {
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms16285kbOK10
24ms11042kbOK10
34ms11288kbOK10
498ms17653kbOK10
599ms17653kbOK10
6148ms18149kbOK10
7207ms18591kbOK10
8178ms20598kbOK10
9352ms20758kbTime limit exceeded0
108ms16547kbOK10
Punctaj total90

Ceva nu functioneaza?