-- local function checkPlayName( str ) -- str = Utils.utf8_to_unicode(str)-- local retStr = ""-- local num = 0-- local lenInByte = #str-- local x = 1 -- for i=1,lenInByte do-- i = x-- local curByte = string.byte(str, x)-- local byteCount = 1;--…
题目地址: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=258 http://poj.org/problem?id=1138 题目描写叙述: Ships Probably everyone who ever attended school knows the game where two opposing players place…