• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
若忆_star
博客园    首页    新随笔    联系   管理    订阅  订阅
2014年7月11日
hdu 2015 偶数求和
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2015题目大意:一个长度为n的偶数序列,以m一组求平均数,剩余的且不足m的求平均数,输出平均数的序列。 1 #include 2 int main() 3 { 4 int n,m,i,t,a,s;... 阅读全文
posted @ 2014-07-11 22:30 若忆_star 阅读(329) 评论(0) 推荐(0)
hdu 2005 第几天?
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2005题目大意:水题,注意平年和闰年的判断~ 1 #include 2 int main () 3 { 4 int sum,i,y,m,d,num[13]= {0,31,28,31,30,31,... 阅读全文
posted @ 2014-07-11 20:57 若忆_star 阅读(304) 评论(0) 推荐(0)
hdu 2014 青年歌手大奖赛_评委会打分
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2014题目大意:去掉一个最高分和一个最低分求平均数。 1 #include 2 int main() 3 { 4 double n,a,i,s,max,min; 5 while(scanf... 阅读全文
posted @ 2014-07-11 15:05 若忆_star 阅读(811) 评论(0) 推荐(0)
hdu 2000 ASCII码排序
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2000题目大意:按各字符的ASCII码从小到大的顺序进行排序 注意格式哦!输出时字符中间用一个空格分开 1 #include 2 int main() 3 { 4 char a,b,c,t; 5 ... 阅读全文
posted @ 2014-07-11 13:53 若忆_star 阅读(256) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3