• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
T Y
博客园    首页    新随笔    联系   管理    订阅  订阅
2013年7月25日
poj 2183 Bovine Math Geniuses
摘要: DescriptionFarmer John loves to help the cows further their mathematical skills. He has promised them Hay-flavored ice cream if they can solve various mathematical problems.He said to Bessie, "Choose a six digit integer, and tell me what it is. Then extract the middle four digits. Square them a 阅读全文
posted @ 2013-07-25 10:42 T天天T 阅读(276) 评论(0) 推荐(0)
Programmer, Rank Thyself
摘要: 虽然没有A过去,但是自己学会了结构体的排序与运用。#include #include #include #include #include using namespace std;structTeam{ int rank ; stringname; int count ; int time ; int gm ; int Qus[7];}; Teamt[25];bool cmp1(Teama1,Teama2){ if(a1.count != a2.count) return a1.count > a2.count; else { if(a1.time != a2.time) ret... 阅读全文
posted @ 2013-07-25 09:41 T天天T 阅读(184) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3