上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页
摘要: D. Merge Equals time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Merge Equals time lim 阅读全文
posted @ 2018-04-19 19:05 thges 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 纯粹的EXGCD,借机复习一波扩欧; 1 void exgcd(ll a, ll b, ll &d, ll &x, ll &y) { 2 if(!b){ 3 x = 1; 4 y = 0; 5 d = a; 6 } 7 else { 8 gcd(b, a%b, d, y, x); 9 y -= x 阅读全文
posted @ 2018-04-10 19:32 thges 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Showstopper Description Data-mining huge data sets can be a painful and long lasting process if we are not aware of tiny patterns existing within thos 阅读全文
posted @ 2018-04-09 23:22 thges 阅读(240) 评论(0) 推荐(0) 编辑
摘要: E. Tufurama One day Polycarp decided to rewatch his absolute favourite episode of well-known TV series "Tufurama". He was pretty surprised when he got 阅读全文
posted @ 2018-04-09 13:47 thges 阅读(396) 评论(0) 推荐(0) 编辑
摘要: P2567 [SCOI2010]幸运数字 题目描述 在中国,很多人都把6和8视为是幸运数字!lxhgww也这样认为,于是他定义自己的“幸运号码”是十进制表示中只包含数字6和8的那些号码,比如68,666,888都是“幸运号码”!但是这种“幸运号码”总是太少了,比如在[1,100]的区间内就只有6个( 阅读全文
posted @ 2018-03-26 23:03 thges 阅读(224) 评论(0) 推荐(0) 编辑
摘要: C. A Twisty Movement time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. A Twisty Movement 阅读全文
posted @ 2018-03-26 14:34 thges 阅读(157) 评论(0) 推荐(0) 编辑
摘要: C. Journey time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Journey time limit per tes 阅读全文
posted @ 2018-03-26 13:11 thges 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 由于java里面有一些东西比c/c++方便(尤其是大数据高精度问题,备受广大ACMer欢迎),所以就可以灵活运用这三种来实现编程,下面是我自己在各种大牛那里总结了一些 这里指的java速成,只限于java语法,包括输入输出,运算处理,字符串和高精度的处理,进制之间的转换等,能解决OJ上的一些高精度题 阅读全文
posted @ 2018-02-26 21:57 thges 阅读(896) 评论(0) 推荐(0) 编辑
摘要: Triangle Description Given n distinct points on a plane, your task is to find the triangle that have the maximum area, whose vertices are from the giv 阅读全文
posted @ 2018-02-08 14:43 thges 阅读(474) 评论(0) 推荐(0) 编辑
摘要: Bridge Across Islands Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11539 Accepted: 3395 Special Judge Description Thousands of thousands 阅读全文
posted @ 2018-02-07 17:59 thges 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页