2017年8月6日

Fence Repair POJ - 3253

摘要: Fence Repair Farmer John wants to repair a small length of the fence around the pasture. He measu... 阅读全文

posted @ 2017-08-06 23:48 zzuzxy 阅读(103) 评论(0) 推荐(0)

欧几里得扩展

摘要: 源网址 欧几里得扩展证明(自我感觉最好懂得一种写法) ① ,当b = 0 时,gcd(a, b) = a , 此时 x = 1, y = 0;② ,当 a * b 0 时,设 a * x + b... 阅读全文

posted @ 2017-08-06 21:50 zzuzxy 阅读(127) 评论(0) 推荐(0)

Color the ball HDU - 1556

摘要: N个气球排成一排,从左到右依次编号为1,2,3….N.每次给定2个整数a b(a #include #include #include using namespace std;const int ... 阅读全文

posted @ 2017-08-06 07:52 zzuzxy 阅读(103) 评论(0) 推荐(0)

导航