Job 3385

Owner
Alex Cociorva
Problem
Battleship
Contest
MindCoding Final 1
Source
2.45KB
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 numberResultTime
120.1246s
220.1232s
320.1229s
4Wrong Answer0.0234s
520.1276s
6Wrong Answer0.0227s
7Wrong Answer0.0328s
8Wrong Answer0.0327s
9Wrong Answer0.0286s
10Wrong Answer0.0226s
11Wrong Answer0.0234s
12Wrong Answer0.0221s
13Wrong Answer0.0249s
14Wrong Answer0.0326s
15Wrong Answer0.0266s
16Wrong Answer0.0237s
17Wrong Answer0.0235s
18Wrong Answer0.0280s
19Wrong Answer0.0243s
20Wrong Answer0.0357s
21Wrong Answer0.0289s
22Wrong Answer0.0315s
23Wrong Answer0.0257s
24Wrong Answer0.0335s
25Wrong Answer0.0269s
26Wrong Answer0.0265s
27Wrong Answer0.0264s
28Wrong Answer0.0239s
29Wrong Answer0.0243s
30Wrong Answer0.0326s
31Wrong Answer0.0257s
32Wrong Answer0.0233s
33Wrong Answer0.0234s
34Wrong Answer0.0276s
35Wrong Answer0.0231s
36Wrong Answer0.0269s
37Wrong Answer0.0294s
38Wrong Answer0.0324s
39Wrong Answer0.0327s
40Wrong Answer0.0228s
41Wrong Answer0.0249s
42Wrong Answer0.0250s
43Wrong Answer0.0234s
44Wrong Answer0.0272s
45Wrong Answer0.0234s
46Wrong Answer0.0312s
47Wrong Answer0.0240s
48Wrong Answer0.0298s
49Wrong Answer0.0226s
50Wrong Answer0.0306s
Questions?

Sponsors Gold