• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
LyonLys
愿意在角落唱沙哑的歌 再大声也都是给你 请用心听 不要说话 Contact me via E-mail: lyon.lys@gmail.com
博客园    首页    新随笔    联系   管理    订阅  订阅
2012年8月5日
poj 3604 Professor Ben
摘要: 继续分解质因数....我想知道那些不到1000ms的代码是怎样写出来的??我的运行了2641ms才过的...View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cstdlib> 4 #include <cmath> 5 #include <algorithm> 6 #include <iostream> 7 8 #define debug 0 9 10 using namespace std;11 12 typedef long long ll;13 阅读全文
posted @ 2012-08-05 23:18 LyonLys 阅读(154) 评论(0) 推荐(0)
poj 2649 Factovisors
摘要: 继续做一下分解质因数的水题!View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cstdlib> 4 #include <cmath> 5 #include <algorithm> 6 #include <iostream> 7 8 #define debug 0 9 10 using namespace std; 11 12 typedef __int64 ll; 13 const int maxn = 100005; 14 15 bool np[ 阅读全文
posted @ 2012-08-05 22:09 LyonLys 阅读(246) 评论(0) 推荐(0)
hdu 2421 Deciphering Password
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2421 因为没初始化质因数数组f,所以wa了好几遍....- - 还是初始化的问题,看来以后要注意点!View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cstdlib> 4 #include <cmath> 5 #include <algorithm> 6 #include <iostream> 7 8 #define debug 0 9 10 using nam 阅读全文
posted @ 2012-08-05 19:56 LyonLys 阅读(164) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3