Borderou de evaluare (job #3240144)

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

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<long long int, long long 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[0]][nw[1]] == 0 || nw[2] && mat[nw[0]][nw[1]] <= k1 || nw[3] && mat[nw[0]][nw[1]] >= k2) { main.cpp:56:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 56 | 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
10ms303kbOK10
20ms303kbOK10
31ms1081kbOK10
429ms37552kbMemory limit exceeded0
529ms37494kbMemory limit exceeded0
632ms37761kbMemory limit exceeded0
735ms37638kbMemory limit exceeded0
849ms37748kbMemory limit exceeded0
947ms37527kbMemory limit exceeded0
104ms3440kbOK10
Punctaj total40

Ceva nu functioneaza?