摘要:
public class OneHundredRandom { public static void main(String[] args) { List list = new ArrayList(); for (int i = 0; i < 100; i++) { list.add(i+1); } ... 阅读全文
posted @ 2017-07-02 20:21
如果屈原会编程
阅读(463)
评论(0)
推荐(0)
摘要:
public class StatisticZEN { public static void main(String[] args) { String str = "中国aadf的111萨bbb菲的zz萨菲"; statisticsChar(str); } private static HashMap statisticsChar(Str... 阅读全文
posted @ 2017-07-02 20:12
如果屈原会编程
阅读(899)
评论(0)
推荐(0)
摘要:
统计文章中某个单词出现的频率 阅读全文
posted @ 2017-07-02 20:04
如果屈原会编程
阅读(1519)
评论(0)
推荐(0)
摘要:
public class HexToInt { public static void main(String[] args) { String str = "13abf"; convert(str); } private static int convert(String str) { int len = ... 阅读全文
posted @ 2017-07-02 19:55
如果屈原会编程
阅读(441)
评论(0)
推荐(0)
摘要:
public class DropRepetition { public static void main(String[] args) { Vector v = new Vector(); v.add("1"); v.add("1"); v.add("2"); v.add("2"); v.a... 阅读全文
posted @ 2017-07-02 19:49
如果屈原会编程
阅读(225)
评论(0)
推荐(0)
摘要:
输入“我ABC汉DEF”和字节数6,应该输出“我ABC”,而不是“我ABC+汉的半个”。 阅读全文
posted @ 2017-07-02 19:37
如果屈原会编程
阅读(300)
评论(0)
推荐(0)
摘要:
n个人围成一圈,顺序排号,从第一个人开始报数(从1到3报数),凡报到3的人退出圈子,问最后留下的是原来的多少号? 阅读全文
posted @ 2017-07-02 19:15
如果屈原会编程
阅读(2019)
评论(0)
推荐(0)

浙公网安备 33010602011771号