stephatt/BattleShip
写个程序与人类对手玩Battle Ship(海战棋,是双人玩的猜谜游戏),输入坐标并输出是否击中及此次射击的坐标。
写出这样一个函数 ,输入一个 n, 输出从1到这个数字之间的出现的1的个数。
This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.
写个程序与人类对手玩Battle Ship(海战棋,是双人玩的猜谜游戏),输入坐标并输出是否击中及此次射击的坐标。
在1、2、3...9(保持这个顺序)之间可任意放+或者-或者不放,使其结果等于100,输出所有可能的放法。例如:1 + 2 + 3 – 4 + 5 + 6 + 78 + 9 = 100。
给定一个长度为N的整数数组,求所有元素之和最大的一个子数组。
T(n)=T(n-1)*T(n-2)*T(n-3)