CF 1131A,1131B,1131C,1131D,1131F(Round541 A,B,C,D,F)题解
A.SeaBattletimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputInordertomakethe"SeaBattle"gamemoreinteresting,Borisdecidedtoaddanewshiptypetoit.Theshipconsistsof