自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 react-native Could not install the app on the device (mac os)

用mac os打开react-native 项目的时候出现了这个错误:Could not install the app on the device, read the error above for details.Make sure you have an Android emulator running or a device connected and haveset up you...

2018-04-02 22:05:05 714

原创 HDU 1181 变形课

#include#include#includeconst int MAXN = 10000;bool map[26][26];char a[MAXN];bool used[26]={false};int FIND = 0;using namespace std;void dfs(int x){ if(map[x][12]) { FIND = 1; } for(i

2013-08-14 13:39:23 427

原创 HDU 1872 稳定排序

Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3244    Accepted Submission(s): 1247Problem Description大家都知道,快速排序是不稳定的排序方法。如果对于数组中出现

2013-08-12 23:22:22 478

原创 B. Road Construction

time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA country has n cities. Initially, there is no road in the count

2013-08-07 20:29:28 658

原创 A. Cakeminator

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a rectangular cake, represented as an r × c grid. E

2013-08-07 17:56:38 482

原创 hdu 1215

这道题是因子求和,传统的方法会超时#includeusing namespace std;const int MAX = 500000+5;int A[MAX];int main(){ int t; int n; cin>>t; for(int i = 1; i< MAX; i++) A[i] = 1; for( i = 2 ;

2013-07-28 19:34:51 453

原创 hdu 1789 doing homework again

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14901    Accepted Submission(s): 5098Problem DescriptionThe famous ACM (Advanced Compu

2013-07-27 23:24:25 366

原创 HDU 1050 moving table

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14901    Accepted Submission(s): 5098Problem DescriptionThe famous ACM (Advanced Compu

2013-07-27 23:19:02 401

原创 HDU 1009 Fatmouse’s trade

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33540    Accepted Submission(s): 10911Problem DescriptionFatMouse prepared M pounds of

2013-07-27 23:12:01 397

原创 HDU 4296 buildings

Time Limit: 5000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1270    Accepted Submission(s): 550Problem Description  Have you ever heard the story

2013-07-27 23:08:34 441

原创 HDU 2187 悼念512汶川大地震遇难同胞——老人是真饿了

Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5492    Accepted Submission(s): 2318对于幸存的灾民来说,最急待解决的显然是温饱问题,救灾部队一边在组织人员全力打通交通,一边在组织采购粮食。现在

2013-07-27 23:03:58 736

原创 HDU 2111 saving hdu

Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4162    Accepted Submission(s): 1893Problem Description话说上回讲到海东集团面临内外交困,公司的元老也只剩下XHD夫妇

2013-07-27 22:59:14 463

原创 HDU 2037 今年暑假不ac

#include#include#includeusing namespace std;struct node{int s,f;}A[110];int cmp(node a,node b){return a.f>n && n){memset(A,0,sizeof(A));int count = 1;for(i = 0;i >A[i].s>>A[i].f;}sort(A,A+n,cmp);j = A

2013-07-27 22:55:27 384

原创 HDU 1257 最少拦截系统

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12535    Accepted Submission(s): 4970Problem Description某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是

2013-07-26 13:56:28 321

空空如也

空空如也

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

TA关注的人

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