HDOJ1004】的更多相关文章

Let the Balloon Rise. 最近开始刷hdoj,想通过写博客做做笔记,记录写过代码. Problem Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the contest i…
#include<iostream> #include "cstring" using namespace std; int add(char s1[],char s2[]) { ]={},b[]={};//当a[1000]时出错会在最后出现一个1 int strlen1 = strlen(s1); int strlen2 = strlen(s2); ),j=;i>=;i--)//如何将字符串数字转换为数字数组 a[j++] = s1[i] - '; ),j=;i&g…
Let the Balloon Rise Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 103000    Accepted Submission(s): 39524 Problem Description Contest time again! How excited it is to see balloons floating ar…
#include <iostream> #include <stdio.h> #include "string.h"using namespace std; int main(int argc, char* argv[]){ int a=1; while(a) { cin>>a; if (a==0) { break; } else { char (*temp)[16]=new char[a][16]; int *num=new int[a]; mem…