
水题
文章平均质量分 85
xiaoleiacm
asdfghjkl;
展开
-
NEFU要崛起——第3场 A - Watermelon
A -Watermelon Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit原创 2012-12-14 10:31:16 · 482 阅读 · 0 评论 -
stl学习之旅 water也疯狂 之一
1_hdu_2734#include#includeusing namespace std;int main(){ char ch; int sum=0; int i=1; while(cin.get(ch)) { if(ch=='#') break; if(ch!='\n') { if(ch!=' ') s原创 2013-02-28 20:42:16 · 447 阅读 · 0 评论 -
hdu_1.3.4_shǎ崽 OrOrOrOrz
shǎ崽 OrOrOrOrzTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2455 Accepted Submission(s): 828 Problem DescriptionAcm原创 2013-02-28 20:44:23 · 466 阅读 · 0 评论 -
hdu _ 1.3.7_排列2
排列2Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2031 Accepted Submission(s): 653 Problem DescriptionRay又对数字的列产生了兴趣原创 2013-02-28 20:45:32 · 512 阅读 · 0 评论 -
2013春季SD高校ACM周赛8(SDUT)
A题:(德翔坑的题意,这样吧 不改了)code:#include#include#include#include#include#include#include#include#includeusing namespace std;//头文件int main(){ int cas; cin>>cas; int weizhi[1000]; int sum=0;原创 2013-03-12 17:15:18 · 885 阅读 · 0 评论 -
2013春季SD高校ACM周赛9(SDUT) -A
Judging OlympiaTime Limit: 1000MS Memory limit: 65536K 题目描述For years, a group of Regional Contest Directors (RCDs) of the ACM International Collegiate Programming Contest (ICPC) have原创 2013-03-17 16:25:32 · 983 阅读 · 0 评论 -
枚举应用小结 嘿嘿~
简单枚举类型——植物与颜色Time Limit: 1000MS Memory limit: 65536K 题目描述请定义具有red, orange, yellow, green, blue, violet六种颜色的枚举类型color,根据输入的颜色名称,输出以下六种植物花朵的颜色:Rose(red), Poppies(orange), Sunflower(yellow原创 2013-03-17 16:46:10 · 1175 阅读 · 0 评论 -
浙江省赛热身赛之---周赛第一场
Code Formatter Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 33 Accepted Submission(s) : 9Problem DescriptionSome companies have spe原创 2013-03-17 22:42:10 · 1342 阅读 · 0 评论 -
zhejiang省赛热身赛之---周赛第二场
Accurately Say "CocaCola"!Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 25 Accepted Submission(s) : 8Problem Description原创 2013-03-18 11:25:23 · 1148 阅读 · 0 评论 -
多重背包
在背包九讲里面将多重背包转化为01背包,并且进行时间优化,有利用到一个二进制分解的思想。下面是在网上搜索之后得到的一个关于二进制分解思想的讲解和实现多重背包二进制分解思想讲解[cpp] view plaincopyprint?/** 在这之前,我空间好像转过一个背包九讲,现在我就只对 01背包和转载 2013-05-28 16:44:22 · 1067 阅读 · 0 评论 -
hdu_1.2.7_Just A Triangle
Just A TriangleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1386 Accepted Submission(s): 910 Problem原创 2013-02-28 20:47:33 · 518 阅读 · 0 评论 -
hdu_1.2.2 _Vowel Counting
Vowel CountingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1495 Accepted Submission(s): 850 Problem D原创 2013-02-28 20:46:51 · 538 阅读 · 0 评论 -
www.ecosway.com-- Problem A
Problem A Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)原创 2012-12-14 21:27:24 · 793 阅读 · 0 评论 -
NEFU要崛起——第5场 C - Alice, Bob and Chocolate
C -Alice, Bob and Chocolate Time Limit:2000MS Memory Limit:65536KB64bit IO Format:%I64d & %I64u DescriptionAlice and Bob like game原创 2012-12-14 21:00:34 · 713 阅读 · 0 评论 -
www.vegetable_Birds.com-- Problem A
Problem A Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)原创 2012-12-18 10:16:02 · 1137 阅读 · 0 评论 -
Problem I
Problem I Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 512 Accepted Submission(s): 298 Problem DescriptionLong long ago, a pro原创 2012-12-18 10:23:49 · 430 阅读 · 0 评论 -
C - Stripe ____cf
C - StripeCrawling in process...Crawling failedTime Limit:2000MS Memory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 18CDescriptionOnce Bob took a paper原创 2013-01-22 09:21:37 · 495 阅读 · 0 评论 -
超级玛丽 周赛
超级玛丽Time Limit: 1000MS Memory limit: 65536K 题目描述浪子和南爵总喜欢玩超级玛丽这款游戏,不过玩久了也会产生烦腻的感觉!!已知这个游戏中有若干个天空场景,每个场景内包含四个参数 N(云彩个数)、D(跳跃长度)、M、L。第 i 朵云彩位于[(i-1)*M,(i-1)*M+L](保证L为了寻求刺激,两个人商量一种新的游戏原创 2013-01-26 20:20:34 · 714 阅读 · 0 评论 -
NEFU要崛起——第17场 A
http://acm.hust.edu.cn:8080/judge/contest/view.action?cid=18824#problem/A A. Wor原创 2013-01-27 10:33:18 · 544 阅读 · 0 评论 -
2013寒假SD高校ACM周赛3(SDUT)
A题 StepsTime Limit: 3000MS Memory limit: 65536K 题目描述On原创 2013-01-27 10:44:21 · 467 阅读 · 0 评论 -
Platforms NEFU要崛起——第16场
B. Platforms http://codeforces.com/problemset/problem/18/BIn one one-dimensional world there are n platforms. Platform w原创 2013-01-27 10:58:25 · 631 阅读 · 0 评论 -
寒假第一天 水题 Steps
StepsTime Limit: 3000MS Memory limit: 65536K 题目描述One steps through integer points of the straight line. The length of a step must be nonnegative and can be by one bigger than, equal to原创 2013-01-20 09:23:52 · 674 阅读 · 0 评论 -
第一天 The ? 1 ? 2 ? ... ? n = k problem
The ? 1 ? 2 ? ... ? n = k problemTime Limit: 3000MS Memory limit: 65536K 题目描述Given the following formula, one can set operators '+' or '-' instead of each '?', in order to obtain a giv原创 2013-01-20 09:32:37 · 761 阅读 · 0 评论 -
CodeForces 18A A - Triangle
A -Triangle Time Limit:2000MSMemory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 18ADescriptionOnce Bob took a paper st原创 2013-01-22 09:25:58 · 646 阅读 · 0 评论 -
acmclub 周赛~
问题 A : 购物停车时间限制:1 秒内存限制:32 兆特殊判题: 否提交:53解决: 42题目描述小明每周都要开车陪女朋友去商业街购物,商业街是一条笔直的大街,我们把它抽象成是X轴上的一条线段,街上的每个商铺都位于线段上整数点的位置,而顾客可以在线段上的任何一个位置停车,并且每停一次车都需要交一次费用。于是小明想知道如果自己就停原创 2013-08-11 17:53:26 · 1743 阅读 · 0 评论