2011年8月26日

Train Problem I hdu 1022

摘要: Train Problem ITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6948Accepted Submission(s): 2547Problem DescriptionAs the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because 阅读全文

posted @ 2011-08-26 10:10 more think, more gains 阅读(120) 评论(0) 推荐(0) 编辑

A hard puzzle hdu 1097

摘要: A hard puzzleTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13791Accepted Submission(s): 4822Problem Descriptionlcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT problem,. 阅读全文

posted @ 2011-08-26 03:16 more think, more gains 阅读(266) 评论(0) 推荐(0) 编辑

Ignatius and the Princess II hdu 1027

摘要: #include <stdio.h>#include <string.h>#include <stdlib.h>#include <algorithm>using namespace std;int str[11000];int main( ){ int N, M, i, j; while ( scanf("%d%d", &N, &M) != EOF) { for ( i = 1; i <= N; i++) str[i-1] = i; //默认已经是第1小了 int num = 0; while( num 阅读全文

posted @ 2011-08-26 02:08 more think, more gains 阅读(127) 评论(0) 推荐(0) 编辑

hdu Encoding 1020

摘要: EncodingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11610Accepted Submission(s): 4882Problem DescriptionGiven a string containing only 'A' - 'Z', we could encode it using the following method: 1. Each sub-string containing k sam 阅读全文

posted @ 2011-08-26 01:32 more think, more gains 阅读(234) 评论(0) 推荐(0) 编辑

hdu 1019

摘要: Least Common MultipleTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12188Accepted Submission(s): 4467Problem DescriptionThe least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the nu 阅读全文

posted @ 2011-08-26 00:56 more think, more gains 阅读(178) 评论(0) 推荐(0) 编辑

hdu 1018

摘要: Big NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11217Accepted Submission(s): 5051Problem DescriptionIn many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, 阅读全文

posted @ 2011-08-26 00:33 more think, more gains 阅读(169) 评论(0) 推荐(0) 编辑

导航