自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (5)
  • 问答 (2)
  • 收藏
  • 关注

原创 hdu2098分拆素数和

hdu2098 分拆素数和Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 26497 Accepted Submission(s): 11599Problem Description 把一个偶数拆成两个不同素数的和,有几种拆法呢

2015-08-11 09:44:20 259

原创 分拆素数和

#include#includeusing namespace std;bool isPrimer(int n){ int m=sqrt(n); int i; for(i=2;i>n&&n){ num=0; for(i=2;i<n/2;i++){ if(isPrimer(i)&&isPrimer(n-i)) num++; } cout<<num<<endl; } }

2015-08-10 22:01:12 275

原创 hdu1054

hdu树形DPStrategic GameProblem Description Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then he is very sad. Now he has the fo

2015-08-02 01:32:05 320

原创 hdu1509

hdu优先队列Windows Message QueueProblem Description Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something happens to this process,

2015-08-02 01:19:28 300

原创 hdu1057

hdu1057 hdu水题A New Growth IndustryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1488 Accepted Submission(s): 606 Problem DescriptionProb

2015-08-02 00:58:40 764

原创 hdu2025

hdu2025 查找最大元素 Problem Description 对于输入的每个字符串,查找其中的最大字母,在该字母后面插入字符串“(max)”。 Input 输入数据包括多个测试实例,每个实例由一行长度不超过100的字符串组成,字符串仅由大小写字母构成。 Output 对于每个测试实例输出一行字符串,输出的结果是插入字符串“(max)”后的结果,如果存在多个最大的字母,就在每一个

2015-08-02 00:25:57 518

原创 hdu2000

按ASCII码的大小从小到大将输入的字符输出,直接比较即可 hdu2000includeusing namespace std; int main(){ char s[3],temp; while(cin>>s[0]){ cin>>s[1]>>s[2]; for(int i=0;i<3;i++){ for(int j=i+1;j<3;j++){

2015-08-02 00:16:19 554

ruby-2.2.1

ruby文档,学习的好资料,希望大家喜欢,交流技术。

2015-08-26

Navicat for SQLite.zip

Navicat for SQLite.zip

2015-08-26

Java程序设计教程

河海大学老师上课所用的PPT,很精彩,很不错

2015-04-16

Java程序设计

河海大学老师上课用的PPT,很精彩,很好!

2015-04-16

计算机课程设计

计算机课程设计

2014-06-22

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

TA关注的人

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