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






goodniao_1

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2014年3月10日

hdu 1299 整数分解 + map 质因子以及个数
摘要: 题目来源:http://acm.hdu.edu.cn/showproblem.php?pid=1299Diophantus of AlexandriaTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2149Accepted Submission(s): 813Problem DescriptionDiophantus of Alexandria was an egypt mathematician living in Alexandria. H 阅读全文
posted @ 2014-03-10 21:59 goodniao_1 阅读(389) 评论(0) 推荐(0)
 
九度oj 1551 二分 + 精度
摘要: 当刀痕长度从0--2*R 区间时, 比例是递增函数, 故满足二分法的条件。即 r(h) =r0 , 求h题目来源:http://ac.jobdu.com/problem.php?pid=1551题目1551:切蛋糕时间限制:1 秒内存限制:128 兆特殊判题:否提交:257解决:84题目描述:有如下图半价为R的圆形蛋糕,被切一刀后(图中红色直线),分成两个部分(黄色和绿色),已知其比例为r,求刀痕长度(图中红色直线)。输入:输入包括多组测试数据,包括一个整数R(1#include#include#include#include#include#include#include#define PI 阅读全文
posted @ 2014-03-10 16:35 goodniao_1 阅读(359) 评论(0) 推荐(1)