Pagini recente » Borderou de evaluare (job #3003152) | Borderou de evaluare (job #1351944) | Borderou de evaluare (job #2859474) | Borderou de evaluare (job #1726987) | Borderou de evaluare (job #2869460)
Borderou de evaluare (job #2869460)
Raport evaluator
Compilare:
main.cpp: In function 'void addCell(Coord)':
main.cpp:27:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if( matSize.lin >= mat.size() )
| ~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:29:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | if( matSize.col >= mat[x.lin].size() )
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void bfs(Coord, FILE*)':
main.cpp:60:42: warning: array subscript has type 'char' [-Wchar-subscripts]
60 | to.c.lin = x.c.lin + dirs[dirChar[i]].lin;
| ~~~~~~~~~^
main.cpp:61:42: warning: array subscript has type 'char' [-Wchar-subscripts]
61 | to.c.col = x.c.col + dirs[dirChar[i]].col;
| ~~~~~~~~~^
main.cpp: In function 'int main()':
main.cpp:96:31: warning: array subscript has type 'char' [-Wchar-subscripts]
96 | v[i] = {v[x].lin + dirs[dir].lin, v[x].col + dirs[dir].col};
| ^~~
main.cpp:96:57: warning: array subscript has type 'char' [-Wchar-subscripts]
96 | v[i] = {v[x].lin + dirs[dir].lin, v[x].col + dirs[dir].col};
| ^~~
main.cpp:111:25: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
111 | if( mat[i].size() < matSize.col )
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:114:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | for( j = 0; j < mat[i].size(); j++ )
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'char opposite(char)':
main.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type]
42 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 6ms | 282kb | OK | 10 |
4 | 64ms | 2093kb | OK | 10 |
5 | 59ms | 2318kb | OK | 10 |
6 | 59ms | 2568kb | OK | 10 |
7 | 20ms | 888kb | OK | 10 |
8 | 25ms | 593kb | OK | 10 |
9 | 50ms | 1314kb | OK | 10 |
10 | 54ms | 1081kb | OK | 10 |
Punctaj total | 100 |