- Owner
- Petru Trîmbițaș
- Problem
- Battleship
- Contest
- MindCoding Final 1
- Source
- 2.83KB
- Result
- Accepted
Compiler output
prog.cpp: In constructor ‘Board::Board()’: prog.cpp:39:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] prog.cpp: In member function ‘bool Board::finished()’: prog.cpp:69:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] prog.cpp: In function ‘int main()’: prog.cpp:94:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ver.cpp: In constructor ‘Board::Board()’: ver.cpp:38:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ver.cpp: In member function ‘bool Board::finished()’: ver.cpp:68:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ver.cpp: In member function ‘bool Game::setHuman()’: ver.cpp:78:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ver.cpp: In member function ‘void Bot1::setShips()’: ver.cpp:114:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ver.cpp: In member function ‘void Test::testBot1()’: ver.cpp:180:9: warning: unused variable ‘b’ [-Wunused-variable]
Results
Test number Result Time 1 1 0.0288s 2 1 0.0262s 3 1 0.0266s 4 1 0.0270s 5 1 0.0260s 6 1 0.0259s 7 1 0.0262s 8 1 0.0262s 9 1 0.0262s 10 1 0.0265s 11 1 0.0259s 12 1 0.0257s 13 1 0.0261s 14 1 0.0318s 15 1 0.0279s 16 1 0.0271s 17 1 0.0263s 18 1 0.0268s 19 1 0.0279s 20 1 0.0258s 21 1 0.0263s 22 1 0.0295s 23 1 0.0274s 24 1 0.0268s 25 1 0.0259s 26 1 0.0264s 27 1 0.0276s 28 1 0.0275s 29 1 0.0266s 30 1 0.0266s 31 1 0.0265s 32 1 0.0280s 33 1 0.0274s 34 1 0.0262s 35 1 0.0260s 36 1 0.0262s 37 1 0.0265s 38 1 0.0273s 39 1 0.0297s 40 1 0.0268s 41 1 0.0267s 42 1 0.0277s 43 1 0.0260s 44 1 0.0263s 45 1 0.0262s 46 1 0.0266s 47 1 0.0263s 48 1 0.0261s 49 1 0.0270s 50 1 0.0261s 51 1 0.0267s 52 1 0.0270s 53 1 0.0262s 54 1 0.0263s 55 1 0.0273s 56 1 0.0263s 57 1 0.0260s 58 1 0.0275s 59 1 0.0267s 60 1 0.0273s 61 1 0.0272s 62 1 0.0270s 63 1 0.0262s 64 1 0.0268s 65 1 0.0266s 66 1 0.0290s 67 1 0.0264s 68 1 0.0264s 69 1 0.0265s 70 1 0.0274s 71 1 0.0265s 72 1 0.0262s 73 1 0.0274s 74 1 0.0266s 75 1 0.0302s 76 1 0.0263s 77 1 0.0262s 78 1 0.0262s 79 1 0.0272s 80 1 0.0265s 81 1 0.0265s 82 1 0.0266s 83 1 0.0263s 84 1 0.0261s 85 1 0.0260s 86 1 0.0264s 87 1 0.0261s 88 1 0.0279s 89 1 0.0261s 90 1 0.0261s 91 1 0.0286s 92 1 0.0267s 93 1 0.0262s 94 1 0.0269s 95 1 0.0261s 96 1 0.0269s 97 1 0.0264s 98 1 0.0261s 99 1 0.0269s 100 1 0.0263s