自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 快速幂

Time Limit: 1sec    Memory Limit:256MBDescription输入a和b和p,输出(a^b)%p的值Input三个整数:a,b,p          (2Output(a^b)%p的值Sample Input Copy sample input to clipboard2 3 5

2015-11-26 10:27:48 321

原创 Power

Time Limit: 1sec    Memory Limit:256MBDescription You should write a program to calculate the power of 3. For example, given a positive integer n, you should calculate 3^n.  Input

2015-11-26 10:23:42 515

原创 T-primes

Time Limit: 1sec    Memory Limit:256MBDescriptionWe know that prime numbers are positive integers that have exactly two distinct positive divisors. Similarly, we'll call a positive integer t

2015-11-25 22:01:29 879

原创 Yaroslav and Permutations

Time Limit: 1sec    Memory Limit:256MBDescription  Yaroslav has an array that consists of n integers.    In one second Yaroslav can swap two array elements.   Now Yaroslav is wondering if 

2015-11-25 21:42:25 346

空空如也

空空如也

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

TA关注的人

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