自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

寻找&星空の孩子

..................................................................你只闻到我的香水,却没看到我的汗水!梦想还是要有的,万一实现了呢!

  • 博客(26)
  • 资源 (20)
  • 收藏
  • 关注

原创 C. Kyoya and Colored Balls(Codeforces Round #309 (Div. 2))

C. Kyoya and Colored BallsKyoya Ootori has a bag with n colored balls that are colored with k different colors. The colors are labeled from 1 to k. Balls of the same color are indistinguis

2015-06-26 14:48:54 1388 1

原创 B. Ohana Cleans Up(Codeforces Round #309 (Div. 2))

B. Ohana Cleans Up Ohana Matsumae is trying to clean a room, which is divided up into an n by n grid of squares. Each square is initially either clean or dirty. Ohana can sweep her broom

2015-06-26 14:45:38 1006 1

原创 A. Kyoya and Photobooks(Codeforces Round #309 (Div. 2))

A. Kyoya and Photobooks Kyoya Ootori is selling photobooks of the Ouran High School Host Club. He has 26 photos, labeled "a" to "z", and he has compiled them into a photo booklet with some

2015-06-26 14:38:29 1235 1

原创 E. Vanya and Brackets(Codeforces Round #308 (Div. 2))

E. Vanya and Bracketstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya is doing his maths homework. He

2015-06-20 23:46:41 1322 2

原创 D. Vanya and Triangles(Codeforces Round #308 (Div. 2))

D. Vanya and Trianglestime limit per test4 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputVanya got bored and he painted n dis

2015-06-20 23:42:35 1257 1

原创 C. Vanya and Scales(Codeforces Round #308 (Div. 2))

C. Vanya and Scalestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya has a scales for weighing loads an

2015-06-20 23:38:05 1562 1

原创 B. Vanya and Books(Codeforces Round #308 (Div. 2))

B. Vanya and Bookstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya got an important task — he should e

2015-06-20 23:34:22 1438

原创 A. Vanya and Table(Codeforces Round #308 (Div. 2))

A. Vanya and Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya has a table consisting of 100 rows

2015-06-20 23:29:37 1483

原创 E. Soldier and Traveling(CF546E) Codeforces Round #304 (Div. 2)

E. Soldier and Travelingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn the country there are n cities a

2015-06-18 17:39:31 978

原创 D-Soldier and Number Game(CF546D) Codeforces Round #304 (Div. 2)

D. Soldier and Number GameTwo soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then the second one tries to make m

2015-06-18 17:27:25 1255

原创 C-Soldier and Cards(CF546C)Codeforces Round #304 (Div. 2)

C. Soldier and Cardstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo bored soldiers are playing card wa

2015-06-18 17:20:09 1189

原创 B - Soldier and Badges (CF546B) Codeforces Round #304 (Div. 2)

B. Soldier and Badgestime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputColonel has n badges. He wants to giv

2015-06-18 17:10:34 1302 1

原创 A. Soldier and Bananas(CF546) Codeforces Round #304 (Div. 2)

A. Soldier and Bananastime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA soldier wants to buy w bananas in t

2015-06-18 16:59:07 905

原创 不容易系列之一(hdu1465)错排+递推

不容易系列之一(hdu1465)错排+递推

2015-06-17 23:08:50 1492

原创 钥匙计数之一(递推)hdu1438

钥匙计数之一(递推)hdu1438

2015-06-17 23:02:26 1323

原创 Children’s Queue(递推)

Children’s Queue,递推,大数加法,hdu1297

2015-06-17 19:27:09 3005

原创 GukiZ and Binary Operations(矩阵+二进制)

Codeforces Round #307 (Div. 2) ,D. GukiZ and Binary Operations,

2015-06-16 20:22:03 1250

原创 Mike and Feet(CF 547B)

Mike and Feettime limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputMike is the president of country What-The-

2015-06-11 21:58:25 1189

原创 Mike and Frog(CF547A)

A. Mike and Frogtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMike has a frog and a flower. His frog is n

2015-06-11 21:50:54 1073

原创 Teams(uva11609+组合)

I - TeamsTime Limit:1000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVA 11609 题意:有n个人,选多个人参加比赛,其中一个是队长,队长不同其他选手相同也算作不同的方案,。问你一共有多少种方案。思路:自己才纸上稍微推理一下,n

2015-06-11 21:30:18 1052

原创 Minimum Sum LCM(uva10791+和最小的LCM+推理)

L - Minimum Sum LCMTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVA 10791  题意:输入正整数n,找至少两个数,使得他们的LCM为n且要输出最小的和; 思路:既然LCM是n,那么一定是

2015-06-11 21:20:35 1068

原创 Integer Game(UVA11489)3的倍数

K - Integer GameTime Limit:1000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVA 11489    题意:在n中取数字,使剩下的数是3的倍数,不能取则失败。思路:如果能使当前数为3的倍数,数字和必是3的倍数。

2015-06-10 21:06:25 1040

原创 Palindrome Numbers(LA2889)第n个回文数是?

J - Palindrome NumbersTime Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %lluSubmit Status Practice UVALive 2889   WA了一版面,我也是醉了,就因为一个编译环境不同。。。。。。 说多了都是泪。 题

2015-06-10 13:52:01 1237

原创 Add Again(重复元素排序)

Add AgainInput: Standard InputOutput: Standard Output Summation of sequence of integers is always a common problem in Computer Science. Rather than computing blindly, some intelligent techniqu

2015-06-09 22:00:53 940

原创 希尔加密算法(湖南师范大学第六届大学生计算机程序设计竞赛)hnuoj11552

解密Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:65536KBTotal submit users: 2, Accepted users: 0Problem 11552 : No special judgementProblem descrip

2015-06-08 22:44:45 1925

转载 STL中Set的用法(详+转)

set是STL中一种标准关联容器(vector,list,string,deque都是序列容器,而set,multiset,map,multimap是标准关联容器),它底层使用平衡的搜索树——红黑树实现,插入删除操作时仅仅需要指针操作节点即可完成,不涉及到内存移动和拷贝,所以效率比较高。set,顾名思义是“集合”的意思,在set中元素都是唯一的,而且默认情况下会对元素自动进

2015-06-07 09:41:15 705

批量压缩图片(tinifypng.com)

一个批量压缩png图片的小工具: 实现了SVN版本控制下,批量压缩图片的功能。方便实用,参看说明文档 http://blog.csdn.net/u010579068/article/details/79384275 欢迎交流

2018-02-28

数码大师2010 28.3白金免费版

数码大师2010 28.3白金免费版 轻松制作视频,

2015-08-22

杭电ACM离线题

杭电ACM离线题 没网也用担心看不了题了,奋斗不息ac不止

2015-08-22

C语言函数大全(语法着色版)

C语言函数大全(语法着色版) 基础很重要,没事翻翻

2015-08-22

2004-2013软件设计师历年真题及答案

2004-2013软件设计师历年真题及答案 我的软考是2014年下半年过的,一次通过的感觉还不错,这是我当初看的资料,软考过了全靠他!哈哈!没过的加油!

2015-08-22

1990-2007年软件设计师试题及答案

1990-2007年 软件设计师 试题及答案 软考 我软考在2014年下半年过了,所以分享一下我看过的资料

2015-08-22

2014年上半年软件设计师考试真题及答案

2014年上半年软件设计师考试真题及答案 我已经过了,所以分享下资料

2015-08-22

标准建模语言UML教程

标准建模语言UML教程 软考重点,下午题2大题。

2015-08-22

JSP速成教程

JSP速成教程,全书详细介绍了jsp的相关理论知识,非常详细,唯一不足的是为扫描版,清晰度不是很高,建议电脑看。

2015-08-22

购物车java代码

java编程实现购物车功能,适用于课程设计这样的小项目。

2015-08-22

现代移动通信实验

现代移动通信实验,含实验数据结果,以及实验说明书

2015-08-22

操作系统及其实验

操作系统老师上课ppt,以及操作系统实验

2015-08-22

spoj4491 莫比乌斯反演

gcd(a,b)= d (d为素数,1<=a<=n,1<=b<=m)

2015-08-22

原根(扩展欧几里得的应用)

在一个模 的既约剩余系中,如果一个元素的指数恰好等于 m ) (m φ ,则这个元素即为模 的一个原根.在存在原根的既约剩余系中,每个元素均可以表示成原根的幂,反过来原根的幂 所表示的所有不同的元素恰好构成既约剩余系, 这就给出了一种构造模 m 的既约剩余系的很自 然的一种方法.但只有 时才有原根,对于不存在原根的模 ,它的既约 剩余系是怎样构造的呢?以上所描述的结论与问题正是本章所要研究的主要内容.另外,本章 还介绍指数、指标两个主要概念及性质,其中指标为密码学中的离散对数问题.离散对数问题 是设计许多公钥密码算法的重要理论根据.

2015-08-12

Java算法之经典题目篇

JAVA经典算法40题(预览) 【程序1】 题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第四个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 1.程序分析: 兔子的规律为数列1,1,2,3,5,8,13,21.... public class exp2{ public static void main(String args[]){ int i=0; for(i=1;i<=20;i++) System.out.println(f(i)); } public static int f(int x) { if(x==1 || x==2) return 1; else return f(x-1)+f(x-2); } } 或 public class exp2{ public static void main(String args[]){ int i=0; math mymath = new math(); for(i=1;i<=20;i++) System.out.println(mymath.f(i)); } } class math { public int f(int x) { if(x==1 || x==2) return 1; else return f(x-1)+f(x-2); } } 【程序2】 题目:判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。 public class exp2{ public static void main(String args[]){ int i=0; math mymath = new math(); for(i=2;i<=200;i++) if(mymath.iszhishu(i)==true) System.out.println(i); } } class math { public int f(int x) { if(x==1 || x==2) return 1; else return f(x-1)+f(x-2); } public boolean iszhishu(int x) { for(int i=2;i<=x/2;i++) if (x % 2==0 ) return false; return true; } }

2015-04-04

计算机组成原理课后答案_白中英主编_第五版_立体化教材

计算机组成原理课后答案 白中英主编 第五版 立体化教材 全

2015-04-03

程序员实用算法

本书是对编程有兴趣的人而上传的,喜欢的编程的人可以好好看看。讲算法的

2015-03-27

程序员教程_软考初级指定用书_(第三版).pdf

程序员教程_软考初级指定用书,内容详细,清楚,软考必备,相信你会顺利通过的

2014-09-13

java复习资料

java期末考试试题库,一共有14份试题,试题包含最近的java二级考试题目。

2014-06-02

空空如也

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

TA关注的人

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