随笔分类 -  字符串排序

摘要:/*GCommando WarInput: Standard InputOutput: Standard Output “Waiting for orders we held in the wood, word from the front never cameBy evening the sound of the gunfire was miles awayAh softly we moved through the shadows, slip away through the treesCrossing their lines in the mists in the fields on . 阅读全文
posted @ 2013-07-29 15:22 myth_HG 阅读(344) 评论(0) 推荐(0)
摘要:/* ID Codes It is 2084 and the year of Big Brother has finally arrived, albeit a century late. In order to exercise greater control over its citizens and thereby to counter a chronic breakdown in law and order, the Government decides on a radical measure--all citizens are to have a tiny microcompute 阅读全文
posted @ 2013-07-24 09:16 myth_HG 阅读(388) 评论(0) 推荐(0)
摘要:Problem FTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 3 Accepted Submission(s) : 2Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description“Point, point, life of student!” This is a ballad(歌谣)well known in colleges, and you must 阅读全文
posted @ 2012-07-29 19:56 myth_HG 阅读(413) 评论(0) 推荐(0)
摘要:Problem GTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 7 Accepted Submission(s) : 3Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionIn millions of newspapers across the United States there is a word game called Jumble. Th 阅读全文
posted @ 2012-07-29 10:46 myth_HG 阅读(190) 评论(0) 推荐(0)
摘要:#include<iostream>#include<stdio.h>#include<cstring>#include<iomanip>usingnamespacestd;intmain(){inti,sum,l,k,j,h;charc[1000],c1[1000][1000];while(cin.getline(c,999)){sum=0;if(strcmp(c,"#")==0)break;l=strlen(c);k=0;j=0;for(i=0;i<l;i++){if(c[i]!='')c1[k][j 阅读全文
posted @ 2012-07-27 21:20 myth_HG 阅读(344) 评论(0) 推荐(0)