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

2016年1月25日

模拟考试题目分享
摘要: 1.多米诺骨牌(domino.pas)Jzabc对多米诺骨牌有很大的兴趣,然而他的骨牌比较特别,只有黑色的和白色的两种。他觉得如果存在连续三个骨牌是同一种颜色,那么这个骨牌排列便不是美观的。现在他有n个骨牌要来排列,他想知道不美观的排列个数。由于数字较大,数学不好的他又不会统计,所以他请你来帮忙。希... 阅读全文
posted @ 2016-01-25 15:07 imhhhhhhhhhh 阅读(307) 评论(0) 推荐(0)
 
 

2016年1月24日

*usaco题目分享——Stringsobits
摘要: StringsobitsKim SchrijversConsider an ordered set S of strings of N (1 #include#include#includeusing namespace std;int n,m;long long k;int dp[32][32];... 阅读全文
posted @ 2016-01-24 21:31 imhhhhhhhhhh 阅读(176) 评论(0) 推荐(0)
 
*usaco题目分享——Contact
摘要: ContactIOI'98The cows have developed a new interest in scanning the universe outside their farm with radiotelescopes. Recently, they noticed a very cu... 阅读全文
posted @ 2016-01-24 16:39 imhhhhhhhhhh 阅读(276) 评论(0) 推荐(0)
 
codevs题目分享——高精练习
摘要: codevs 3115,3116,3117。主要是对于高精度的练习,还不会的同学可以学习下。//加法#include#includestruct hp{ int w[260];};hp jia(hp a,hp b){ hp c; c.w[0]=a.w[0]>b.w[0]?a.w[0]+1:b.... 阅读全文
posted @ 2016-01-24 11:11 imhhhhhhhhhh 阅读(337) 评论(0) 推荐(0)
 
*usaco题目分享——Party Lamps
摘要: Party LampsIOI 98To brighten up the gala dinner of the IOI'98 we have a set ofN(10 =0), i.e., 1,4,7,...A counter C records the total number of button ... 阅读全文
posted @ 2016-01-24 10:58 imhhhhhhhhhh 阅读(174) 评论(0) 推荐(0)
 
usaco题目分享——Longest Prefix
摘要: Longest PrefixIOI'96The structure of some biological objects is represented by the sequence of their constituents, where each part is denoted by an up... 阅读全文
posted @ 2016-01-24 10:47 imhhhhhhhhhh 阅读(268) 评论(0) 推荐(0)
 
usaco题目分享——Money Systems
摘要: Money SystemsThe cows have not only created their own government but they have chosen to create their own money system. In their own rebellious way, t... 阅读全文
posted @ 2016-01-24 10:43 imhhhhhhhhhh 阅读(192) 评论(0) 推荐(0)
 
usaco题目分享——Controlling Companies
摘要: Controlling CompaniesSome companies are partial owners of other companies because they have acquired part of their total shares of stock. For example,... 阅读全文
posted @ 2016-01-24 10:40 imhhhhhhhhhh 阅读(203) 评论(0) 推荐(0)
 
usaco题目分享——Agri-Net
摘要: Agri-NetRuss CoxFarmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the ar... 阅读全文
posted @ 2016-01-24 10:21 imhhhhhhhhhh 阅读(301) 评论(0) 推荐(0)
 
usaco题目分享——Bessie Come Home
摘要: Bessie Come HomeKolstad & BurchIt's dinner time, and the cows are out in their separate pastures. Farmer John rings the bell so they will start walkin... 阅读全文
posted @ 2016-01-24 09:48 imhhhhhhhhhh 阅读(207) 评论(0) 推荐(0)
 
 
下一页

公告


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