自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Rightmost Digit

题目描述 Given a positive integer N, you should output the most right digit of N^N.    输入 The input contains several test cases. The first line of the input is a single integer T which is th

2016-09-25 16:46:50 138

原创 近似整数

题目描述 给定一个浮点数A和一个整数L。求在【1,L】区间内找到两个整数,m和n。使得m/n的值能近似于A,且使得|A-m/n|最小。 输入 两行 第一行是一个浮点数A第二行是一个整数L 输出 一行,两个整数 以空格隔开 m n 样例输入 2.5 10 样例输出 5 2 这题主要是要找到一个好的算法。刚开始我用了BL,很显然就时间超限了。下面第一个是我

2016-09-25 16:31:27 662

原创 Color Me Less

题目描述 A color reduction is a mapping from a set of discrete colors to a smaller one.The solution to this problem requires that you perform just such a mapping in a standard twenty-four bit RGB col

2016-09-25 16:08:38 254

空空如也

空空如也

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

TA关注的人

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