- Owner
- Alex Velea
- Problem
- Battleship
- Source
- 2.55KB
- Result
- 0 points
Compiler output
ver.cpp: In constructor ‘Board::Board()’: ver.cpp:39:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ver.cpp: In member function ‘bool Board::finished()’: ver.cpp:69:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ver.cpp: In member function ‘bool Game::setHuman()’: ver.cpp:79:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ver.cpp: In member function ‘void Bot1::setShips()’: ver.cpp:115:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ver.cpp: In member function ‘void Test::testBot1()’: ver.cpp:187:9: warning: unused variable ‘b’ [-Wunused-variable]
Results
Test number Result Time 1 Wrong Answer 0.0304s 2 Wrong Answer 0.0332s 3 Wrong Answer 0.0242s 4 Wrong Answer 0.0278s 5 Wrong Answer 0.0234s 6 Wrong Answer 0.0248s 7 Wrong Answer 0.0271s 8 Wrong Answer 0.0342s 9 Wrong Answer 0.0335s 10 Wrong Answer 0.0259s 11 Wrong Answer 0.0238s 12 Wrong Answer 0.0242s 13 Wrong Answer 0.0281s 14 Wrong Answer 0.0338s 15 Wrong Answer 0.0236s 16 Wrong Answer 0.0238s 17 Wrong Answer 0.0235s 18 Wrong Answer 0.0339s 19 Wrong Answer 0.0245s 20 Wrong Answer 0.0276s 21 Wrong Answer 0.0242s 22 Wrong Answer 0.0238s 23 Wrong Answer 0.0235s 24 Wrong Answer 0.0246s 25 Wrong Answer 0.0236s 26 Wrong Answer 0.0234s 27 Wrong Answer 0.0237s 28 Wrong Answer 0.0237s 29 Wrong Answer 0.0259s 30 Wrong Answer 0.0234s 31 Wrong Answer 0.0240s 32 Wrong Answer 0.0238s 33 Wrong Answer 0.0237s 34 Wrong Answer 0.0251s 35 Wrong Answer 0.0234s 36 Wrong Answer 0.0241s 37 Wrong Answer 0.0232s 38 Wrong Answer 0.0265s 39 Wrong Answer 0.0280s 40 Wrong Answer 0.0336s 41 Wrong Answer 0.0245s 42 Wrong Answer 0.0276s 43 Wrong Answer 0.0234s 44 Wrong Answer 0.0231s 45 Wrong Answer 0.0261s 46 Wrong Answer 0.0327s 47 Wrong Answer 0.0267s 48 Wrong Answer 0.0230s 49 Wrong Answer 0.0259s 50 Wrong Answer 0.0319s