摘要: Description 给定一个正整数的集合A={a1,a2,….,an},是否可以将其分割成两个子集合,使两个子集合的数加起来的和相等。例A = { 1, 3, 8, 4, 10} 可以分割:{1, 8, 4} 及 {3, 10},Input第一行集合元素个数n n <=300 第二行n个整数 O 阅读全文
posted @ 2019-10-11 19:43 王陸 阅读(4411) 评论(1) 推荐(3) 编辑
摘要: 今天课堂测试做了几道String的练习题,做完直接心态爆炸...... 整理自下面两篇博客: https://www.cnblogs.com/marsitman/p/11248001.html https://www.cnblogs.com/aspirant/p/9193112.html 首先先来看 阅读全文
posted @ 2019-10-11 18:51 王陸 阅读(2989) 评论(1) 推荐(1) 编辑
摘要: 1)Which code fragment would correctly identify the number of arguments passed via the command line to a Java application, excluding the name of the cl 阅读全文
posted @ 2019-10-11 17:55 王陸 阅读(4102) 评论(0) 推荐(4) 编辑