摘要: 好久没有遇到过这样的题,似乎记得以前完全就是靠规律啊什么的。。。。 然后刚刚看到,这不就是快速幂取膜就好了嘛…#include #include #include #include #include using namespace std;#define LL __int64#de... 阅读全文
posted @ 2016-05-28 16:50 see_you_later 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 题意: 使(a/b-c/d)最小,然后让你求c/d. 我们能说最小the error |A/B - C/D| 然后C,D的范围是 0 #include #include #include #include using namespace std;#define LL __int6... 阅读全文
posted @ 2016-05-28 09:31 see_you_later 阅读(130) 评论(0) 推荐(0) 编辑