摘要:
1.Window-Preferences-Server-Runtime Environments 2.点击Add,选择相应的Tomcat版本,我的是7.0的所以我选择这个。并勾选Create a new local server,点击next 3.点击Browse,选择Tomcat的本地安装路径,并 阅读全文
摘要:
输入一个整数,输出该数二进制表示中1的个数。其中负数用补码表示。 java版本: public class Solution { public int NumberOf1(int n) { String result = Integer.toBinaryString(n);//获取二进制的字符串 c 阅读全文
摘要:
=Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process 阅读全文
摘要:
一只青蛙一次可以跳上1级台阶,也可以跳上2级……它也可以跳上n级。求该青蛙跳上一个n级的台阶总共有多少种跳法。 java版本: public class Solution { public static void main(String[] args){ long startTime=System. 阅读全文