博客园 首页 私信博主 显示目录 隐藏目录 管理
摘要: Time Limit:3000MSMemory Limit:Unknown64bit IO Format:%lld & %lluSubmitStatusDescriptionDuring the early stages of the Manhattan Project, the dangers o... 阅读全文
posted @ 2015-08-20 19:12 hfcnal 阅读(424) 评论(0) 推荐(0)
摘要: sendatable When participating in programming contests, you sometimes face the following problem: You knowhow to calcutale the output for the given in... 阅读全文
posted @ 2015-08-20 15:11 hfcnal 阅读(184) 评论(0) 推荐(0)
摘要: 这个困扰了自己好久,终于找到了解释,还有自己改动了一点点,耐心看完一定能加深理解扩展欧几里德算法-求解不定方程,线性同余方程。 设过s步后两青蛙相遇,则必满足以下等式: (x+m*s)-(y+n*s)=k*l(k=0,1,2....) 稍微变一下形得: (n-m)*s+k*l=x-y... 阅读全文
posted @ 2015-08-20 10:53 hfcnal 阅读(593) 评论(0) 推荐(0)