自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 HDU 1425 sort

Problem Description 给你n个整数,请按从大到小的顺序输出其中前m大的数。   Input 每组测试数据有两行,第一行有两个数n,m(0   Output 对每组测试数据按从大到小的顺序输出前m大的数。   Sample Input 5 3 3 -35 92 213 -644

2015-04-09 15:55:46 238

原创 HDU 1108 最小公倍数

Problem Description 给定两个正整数,计算这两个数的最小公倍数。   Input 输入包含多组测试数据,每组只有一行,包括两个不大于1000的正整数.   Output 对于每个测试用例,给出这两个数的最小公倍数,每个实例输出一行。   Sample Input 10 14   Sam

2015-04-04 16:51:31 269

原创 HDU2046 骨牌铺方格

Description 在2×n的一个长方形方格中,用一个1× 2的骨牌铺满方格,输入n ,输出铺放方案的总数.  例如n=3时,为2× 3方格,骨牌的铺放方案有三种,如下图:    Input 输入数据由多行组成,每行包含一个整数n,表示该测试实例的长方形方格的规格是2×n (0   Output 对于每个测试实例,请输出铺放方案的总数

2015-04-03 20:31:26 290

原创 HDU 1061 Rightmost Digit

Problem Description Given a positive integer N, you should output the most right digit of N^N.   Input The input contains several test cases. The first line of the input is a single in

2015-04-02 15:36:17 268

原创 CodeForces 10A Power Consumption Calculation

Tom is interested in power consumption of his favourite laptop. His laptop has three modes. In normal mode laptop consumes P1 watt per minute. T1 minutes after Tom moved the mouse or touched the k

2015-04-01 19:02:51 440

原创 CodeForces 7A Kalevitch and Chess

A famous Berland's painter Kalevitch likes to shock the public. One of his last obsessions is chess. For more than a thousand years people have been playing this old game on uninteresting, monotonous

2015-04-01 18:53:04 346

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除