上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 46 下一页
  2016年8月5日
摘要: A Simple Chess Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 614 Accepted Submission(s): 159 Pr 阅读全文
posted @ 2016-08-05 10:17 Beserious 阅读(211) 评论(0) 推荐(0) 编辑
  2016年8月2日
摘要: Two Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 163 Accepted Submission(s): 72 Problem Descri 阅读全文
posted @ 2016-08-02 18:57 Beserious 阅读(437) 评论(0) 推荐(0) 编辑
摘要: Divide the Sequence Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 119 Accepted Submission(s): 7 阅读全文
posted @ 2016-08-02 18:38 Beserious 阅读(215) 评论(0) 推荐(0) 编辑
  2016年8月1日
摘要: #include #include #include using namespace std; int main() { string s,line; while(getline(cin,line)&&line[0]!='#') { stringstream ss(line); set dict; while(ss>>s... 阅读全文
posted @ 2016-08-01 12:15 Beserious 阅读(117) 评论(0) 推荐(0) 编辑
  2016年7月30日
摘要: void ex_gcd(ll a,ll b,ll &d,ll &x,ll &y){ if(!b){d=a;x=1LL;y=0LL;} else {ex_gcd(b,a%b,d,y,x);y-=x*(a/b);} }/////大数乘法取模转换成加法取模,避免爆long long ll mult(ll a,ll k,ll m){ ll res=0; while(k... 阅读全文
posted @ 2016-07-30 19:59 Beserious 阅读(570) 评论(0) 推荐(0) 编辑
摘要: Lucky7 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 933 Accepted Submission(s): 345 Problem De 阅读全文
posted @ 2016-07-30 19:57 Beserious 阅读(235) 评论(0) 推荐(0) 编辑
  2016年7月29日
摘要: 拓展欧几里得: 当 gcd ( a , b )= d 时,求绝对值和最小的 x , y 使得 x * a + y * b = d ; d = gcd ( a , b ) = gcd ( b , a mod b ); 设: x1 * a + y1 * b = d ; ① x2 * b + y2 * ( 阅读全文
posted @ 2016-07-29 16:23 Beserious 阅读(858) 评论(0) 推荐(0) 编辑
摘要: 解析:http://blog.sina.com.cn/s/blog_b9a401a40101dghn.html 阅读全文
posted @ 2016-07-29 15:40 Beserious 阅读(286) 评论(0) 推荐(0) 编辑
摘要: Another Meaning Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 526 Accepted Submission(s): 245 P 阅读全文
posted @ 2016-07-29 12:07 Beserious 阅读(480) 评论(0) 推荐(0) 编辑
  2016年7月28日
摘要: Bubble Sort Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 106 Accepted Submission(s): 76 Proble 阅读全文
posted @ 2016-07-28 20:12 Beserious 阅读(224) 评论(0) 推荐(0) 编辑
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 46 下一页