![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
gcd
文章平均质量分 58
阿阿阿黄
后续文章更新:https://segmentfault.com/u/aaahuang
展开
-
CodeForces 7C(扩展欧几里德解方程)
DescriptionA line on the plane is described by an equation Ax + By + C = 0. You are to find any point on this line, whose coordinates are integer numbers from - 5·1018 to 5·1018 inclusive, or t原创 2015-12-08 13:19:28 · 594 阅读 · 0 评论 -
hdu--1286(欧拉函数入门基础)
找新朋友Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10130 Accepted Submission(s): 5352Problem Description新年快到了,“猪头帮协会”准备搞一个聚会原创 2016-03-17 19:50:00 · 354 阅读 · 0 评论 -
bzoj-2705
Longge的问题Time Limit:3000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionLongge的数学成绩非常好,并且他非常乐于挑战高难度的数学问题。现在问题来了:给定一个整数N,你需要求出∑gcd(i, N)(1原创 2016-03-17 19:43:06 · 368 阅读 · 0 评论 -
bzoj--2190
仪仗队Time Limit:10000MS Memory Limit:265216KB 64bit IO Format:%lld & %lluSubmit StatusDescription 作为体育委员,C君负责这次运动会仪仗队的训练。仪仗队是由学生组成的N * N的方阵,为了保证队伍在行进中整齐划一,C君会跟在仪仗队的左后方,根据其原创 2016-03-17 21:35:23 · 303 阅读 · 0 评论