• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
KasenBob
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2018年11月27日

UVA - 10375(唯一分解定理)
摘要: #include #include #include #include #include #include using namespace std; const int maxn=1e4+10; int prime[maxn],primey; int e[maxn]; void csh() { memset(prime,1,sizeof(prime)); prime[0]=pr... 阅读全文
posted @ 2018-11-27 22:40 KasenBob 阅读(178) 评论(0) 推荐(0)
 
UVA - 11582(模计算+快速幂)
摘要: #include #include #include #include #include typedef unsigned long long ll; using namespace std; const int maxn=1000+10; ll a,b; int f[maxn*maxn],n,M; int pow(ll a,ll p,int Mod) { int ret=1; ... 阅读全文
posted @ 2018-11-27 22:38 KasenBob 阅读(164) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3