Pagini recente » Borderou de evaluare (job #2947601) | Borderou de evaluare (job #1680115) | Borderou de evaluare (job #2962162) | Borderou de evaluare (job #989020) | Borderou de evaluare (job #2859842)
Borderou de evaluare (job #2859842)
Raport evaluator
Compilare:
main.cpp: In member function 'bool chessTable::checkLines()':
main.cpp:55:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for (int i = 1 ; i < lc[0].first.size() ; ++ i) {
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool chessTable::checkColumns()':
main.cpp:87:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for (int i = 1 ; i < cc[0].first.size() ; ++ i) {
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int chessTable::fixLine(int, std::vector<chessTable::move>&, int, int)':
main.cpp:105:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
105 | for (int i = 0 ; i < badOnes.size() ; ++ i) {
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'int chessTable::fixColumn(int, std::vector<chessTable::move>&, int, int)':
main.cpp:127:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
127 | for (int i = 0 ; i < badOnes.size() ; ++ i) {
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void chessTable::run()':
main.cpp:174:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<chessTable::move> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
174 | for (int i = 0 ; i < cols.size() ; ++ i) {
| ~~^~~~~~~~~~~~~
main.cpp:175:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<chessTable::move> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
175 | for (int j = 0 ; j < lineVectors.size() ; ++ j) {
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:176:60: warning: comparison of integer expressions of different signedness: 'std::vector<chessTable::move>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
176 | if (cols[i].size() + lineVectors[j].size() < minim) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:163:13: warning: unused variable 'columnMoves0' [-Wunused-variable]
163 | int columnMoves0 = fixColumn(0, column0, start0) ;
| ^~~~~~~~~~~~
main.cpp:164:13: warning: unused variable 'columnMoves1' [-Wunused-variable]
164 | int columnMoves1 = fixColumn(1, column1, start1) ;
| ^~~~~~~~~~~~
main.cpp:165:13: warning: unused variable 'lineMoves0' [-Wunused-variable]
165 | int lineMoves0 = fixLine(0, line0, lineStart0) ;
| ^~~~~~~~~~
main.cpp:166:13: warning: unused variable 'lineMoves1' [-Wunused-variable]
166 | int lineMoves1 = fixLine(1, line1, lineStart1) ;
| ^~~~~~~~~~
main.cpp:167:13: warning: unused variable 'lineMoves01' [-Wunused-variable]
167 | int lineMoves01 = fixLine(0, line01, lineStart01, 1) ;
| ^~~~~~~~~~~
main.cpp:168:13: warning: unused variable 'lineMoves11' [-Wunused-variable]
168 | int lineMoves11 = fixLine(1, line11, lineStart11, 1) ;
| ^~~~~~~~~~~
main.cpp:169:13: warning: unused variable 'columnMoves01' [-Wunused-variable]
169 | int columnMoves01 = fixColumn(0, column01, start01, 1) ;
| ^~~~~~~~~~~~~
main.cpp:170:13: warning: unused variable 'columnMoves11' [-Wunused-variable]
170 | int columnMoves11 = fixColumn(1, column11, start11, 1) ;
| ^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 266kb | Corect! | 14 |
2 | 40ms | 1159kb | Corect! | 13 |
3 | 64ms | 2383kb | Corect! | 13 |
4 | 6ms | 200kb | Corect! | 5 |
5 | 11ms | 294kb | Corect! | 5 |
6 | 15ms | 311kb | Corect! | 6 |
7 | 25ms | 417kb | Corect! | 6 |
8 | 45ms | 663kb | Corect! | 6 |
9 | 117ms | 2375kb | Corect! | 6 |
10 | 6ms | 200kb | Corect! | 2 |
11 | 11ms | 294kb | Corect! | 4 |
12 | 16ms | 307kb | Corect! | 4 |
13 | 25ms | 405kb | Corect! | 4 |
14 | 45ms | 655kb | Corect! | 6 |
15 | 117ms | 2375kb | Corect! | 6 |
Punctaj total | 100 |