Borderou de evaluare (job #3240252)

Utilizator rsinventorRaunak Singh rsinventor Data 13 august 2024 15:17:28
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:50: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] 50 | for(int dircnt = 0; dircnt<dirs.size(); dircnt++) { | ~~~~~~^~~~~~~~~~~~ main.cpp:56:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 56 | if (mat[nw[2]][nw[3]] == 0 || nw[0] && mat[nw[2]][nw[3]] <= k1 || nw[1] && mat[nw[2]][nw[3]] >= k2) { main.cpp:56:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 56 | if (mat[nw[2]][nw[3]] == 0 || nw[0] && mat[nw[2]][nw[3]] <= k1 || nw[1] && mat[nw[2]][nw[3]] >= k2) {
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms557kbOK10
31ms1081kbOK10
498ms12578kbOK10
598ms12636kbOK10
6143ms15089kbOK10
7192ms17412kbOK10
8152ms14540kbOK10
9350ms24240kbTime limit exceeded0
102ms1343kbOK10
Punctaj total90

Ceva nu functioneaza?