Borderou de evaluare (job #3144668)

Utilizator daristyleBejan Darius-Ramon daristyle Data 9 august 2023 17:51:41
Problema Miting Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'Point Point::operator+(const Point&)': main.cpp:15:35: warning: narrowing conversion of '(((int)((Point*)this)->Point::r) + ((int)other.Point::r))' from 'int' to 'char' [-Wnarrowing] 15 | return {r + other.r, c + other.c}; | ~~^~~~~~~~~ main.cpp:15:48: warning: narrowing conversion of '(((int)((Point*)this)->Point::c) + ((int)other.Point::c))' from 'int' to 'char' [-Wnarrowing] 15 | return {r + other.r, c + other.c}; | ~~^~~~~~~~~ main.cpp: In function 'void BFSFill(Point, int (*)[61])': main.cpp:51:34: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){ | ~~~~^ main.cpp:51:41: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){ | ~~~~^ main.cpp:51:64: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){ | ~~~~^ main.cpp:51:71: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){ | ~~~~^ main.cpp:51:85: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){ | ~~~~^ main.cpp:51:92: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | if(m[nxt.r][nxt.c] != WALL && cost[nxt.r][nxt.c] > cost[cur.r][cur.c] + 1){ | ~~~~^ main.cpp:52:42: warning: array subscript has type 'char' [-Wchar-subscripts] 52 | cost[nxt.r][nxt.c] = cost[cur.r][cur.c] + 1; | ~~~~^ main.cpp:52:49: warning: array subscript has type 'char' [-Wchar-subscripts] 52 | cost[nxt.r][nxt.c] = cost[cur.r][cur.c] + 1; | ~~~~^ main.cpp:52:63: warning: array subscript has type 'char' [-Wchar-subscripts] 52 | cost[nxt.r][nxt.c] = cost[cur.r][cur.c] + 1; | ~~~~^ main.cpp:52:70: warning: array subscript has type 'char' [-Wchar-subscripts] 52 | cost[nxt.r][nxt.c] = cost[cur.r][cur.c] + 1; | ~~~~^ main.cpp: In function 'int main()': main.cpp:109:50: warning: narrowing conversion of 'r' from 'int' to 'char' [-Wnarrowing] 109 | BFSFill({r, c}, fuel[k][k]); | ^ main.cpp:109:53: warning: narrowing conversion of 'c' from 'int' to 'char' [-Wnarrowing] 109 | BFSFill({r, c}, fuel[k][k]); | ^ main.cpp:123:66: warning: narrowing conversion of 'r' from 'int' to 'char' [-Wnarrowing] 123 | BFSFill({r, c}, fuel[i][j]); | ^ main.cpp:123:69: warning: narrowing conversion of 'c' from 'int' to 'char' [-Wnarrowing] 123 | BFSFill({r, c}, fuel[i][j]);
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbOK5
30ms303kbOK5
40ms303kbOK5
50ms303kbOK5
65ms303kbOK5
79ms303kbOK5
87ms303kbOK5
90ms303kbOK5
1019ms557kbOK5
111ms557kbOK5
1214ms557kbOK5
132ms303kbOK5
144ms557kbOK5
152ms303kbOK5
1674ms1081kbOK5
1789ms1081kbOK5
1889ms1081kbOK5
1994ms1081kbOK5
2089ms1081kbOK5
Punctaj total100

Ceva nu functioneaza?