上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 50 下一页
摘要: 初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj2993,poj2996) 阅读全文
posted @ 2016-04-04 13:41 gongpixin 阅读(332) 评论(0) 推荐(0)
摘要: A.Nias and Tug-of-War s.sort排序 #include<iostream> #include<stdio.h> #include<algorithm> using namespace std; struct node{ double a; double b; }a[105]; 阅读全文
posted @ 2016-03-28 09:42 gongpixin 阅读(618) 评论(0) 推荐(0)
摘要: 相关总结:http://www.cnblogs.com/mcflurry/p/3724649.html#3395978 A.angry_birds_again_and_again(定积分) B.Circle(高斯消元?/递推) C.Colorful Cupcakes(dp?) D.Devour Ma 阅读全文
posted @ 2016-03-28 09:41 gongpixin 阅读(460) 评论(0) 推荐(0)
摘要: 解题报告:http://www.tuicool.com/articles/FnEZJb A.Rescue The Princess(几何,向量) B.The number of steps(记忆化搜索,概率dp) C.Boring Counting(划分树) D.A-Number and B-Num 阅读全文
posted @ 2016-03-28 09:40 gongpixin 阅读(473) 评论(0) 推荐(0)
摘要: IDTitleHint A Impasse (+) B Chess C An interesting game 最小费用最大流 D n a^o7 ! E Fruit Ninja I dp F Pixel density 无 G Mine Number dfs H The Best Seat in A 阅读全文
posted @ 2016-03-28 09:39 gongpixin 阅读(490) 评论(0) 推荐(0)
摘要: 2 阅读全文
posted @ 2016-03-28 09:38 gongpixin 阅读(157) 评论(0) 推荐(0)
摘要: ID TitleHint A Phone Number 串 B Ivan comes again! C Hello World! 枚举 D Greatest Number E Fairy tale F Emergency 最短路径 G Shopping 无 H Clockwise I Balloon 阅读全文
posted @ 2016-03-28 09:36 gongpixin 阅读(353) 评论(0) 推荐(0)
摘要: 1、输出double类型时,如果采用G++提交,scanf采用%lf,prinf采用%f,否则会报错 2、使用GCC/G++的提醒: 对于64位整数, long long int 和 __int64 都是支持并且等价的.但是在读和写的时候只支持scanf("%I64d", ...)和printf(" 阅读全文
posted @ 2016-03-28 09:26 gongpixin 阅读(277) 评论(0) 推荐(0)
摘要: 1.煤球数目 2.生日蜡烛 3.凑算式 4.快速排序 5.抽签 6.方格填数 7.剪邮票 8.四平方和 9.交换瓶子 10.最大比例 刚考完时还是感觉良好的,当我听到填空不要加分号、大题不能循环输入的时候。。。 1.煤球数目:求和的,对自己手算没太大自信,写了个程序。--171700(对) 2.生日 阅读全文
posted @ 2016-03-23 09:41 gongpixin 阅读(7623) 评论(0) 推荐(0)
摘要: 这两个类位于java.math包内,要使用它们必须在类前面引用该包:import java.math.BigInteger;和import java.math.BigDecimal; BigInteger和BigDecimal分别表示不可变的任意精度的整数和不可变的有符号的任意精度的十进制数(浮点数 阅读全文
posted @ 2016-03-19 16:56 gongpixin 阅读(1696) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 50 下一页