上一页 1 2 3 4 5 6 ··· 11 下一页

2012年11月26日

CF 152 B. Chilly Willy

摘要: B. Chilly Willytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputChilly Willy loves playing with numbers. He only knows prime numbers that are digits yet. These numbers are 2, 3, 5 and 7. But Willy grew rather bored of such numbers, so he came up w 阅读全文

posted @ 2012-11-26 10:29 仁者无敌8勇者无惧 阅读(341) 评论(0) 推荐(0) 编辑

2012年11月22日

Win7+Ubuntu11.10(EasyBCD硬盘安装)

摘要: 1)首先还是分区,在计算机上右键--管理--磁盘管理装Ubuntu分配的硬盘大小最好是(20G以上)不要太小,这里请注意,ubuntu和windows文件系统完全不同,所以我们划好要给ubuntu的分区后,删除卷。到时候,安装好的ubuntu的分区,在windows下是看不到的,但是进入ubuntu是可以访问windows的磁盘的。这才叫双系统的吧,和wubi那种不一样哦。2)准备两个东西EasyBCD软件和iso镜像(我用的easybcd是2.1版,就下载1.7之后版就行,要那种安装版的,不要绿色版)3)下面打开EasyBCD软件,可以看到现在我们的计算机只有一个启动“入口”,我们来给他加一 阅读全文

posted @ 2012-11-22 12:29 仁者无敌8勇者无惧 阅读(293) 评论(0) 推荐(0) 编辑

2012年11月20日

哎……

摘要: 还是什么都不会。。。。。 阅读全文

posted @ 2012-11-20 23:45 仁者无敌8勇者无惧 阅读(132) 评论(0) 推荐(0) 编辑

cf 245 E. Mishap in Club

摘要: E. Mishap in Clubtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus just has been out of luck lately! As soon as he found a job in the "Binary Cat" cafe, the club got burgled. All ice-cream was stolen.On the burglary night Polyc 阅读全文

posted @ 2012-11-20 23:44 仁者无敌8勇者无惧 阅读(314) 评论(0) 推荐(0) 编辑

cf B. Internet Address

摘要: 坑。http://codeforces.com/contest/245/problem/BB. Internet Addresstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya is an active Internet user. One day he came across an Internet resource he liked, so he wrote its address in the notebook. We kn 阅读全文

posted @ 2012-11-20 13:24 仁者无敌8勇者无惧 阅读(334) 评论(0) 推荐(0) 编辑

2012年11月16日

hdu 3661 Assignments

摘要: AssignmentsTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1191Accepted Submission(s): 555Problem DescriptionIn a factory, there are N workers to finish two types of tasks (A and B). Each type has N tasks. Each task of type A needs xi time to finis 阅读全文

posted @ 2012-11-16 00:28 仁者无敌8勇者无惧 阅读(199) 评论(0) 推荐(0) 编辑

2012年11月15日

poj 3468 A Simple Problem with Integers

摘要: http://poj.org/problem?id=3468A Simple Problem with IntegersTime Limit: 5000MSMemory Limit: 131072KTotal Submissions: 38088Accepted: 11046Case Time Limit: 2000MSDescriptionYou have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given 阅读全文

posted @ 2012-11-15 22:19 仁者无敌8勇者无惧 阅读(188) 评论(0) 推荐(0) 编辑

hdu 1200 To and Fro

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1200水题。View Code 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include<string.h> 4 5 int main() 6 { 7 int n,i,len; 8 char str[210]; 9 while(~scanf("%d",&n),n)10 {11 //getchar();12 scanf("%s",str);13 len=strlen(... 阅读全文

posted @ 2012-11-15 00:36 仁者无敌8勇者无惧 阅读(134) 评论(0) 推荐(0) 编辑

2012年11月14日

hdu 1128 Self Numbers

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1128水题,哎,水题也贴一个吧。。。注意和可能会超过1000000.View Code 1 #include <stdio.h> 2 #include <stdlib.h> 3 int hash[1000070]={0}; 4 int main() 5 { 6 int i,temp,sum; 7 8 for(i=1;i<=1000000;i++) 9 {10 sum=i;11 temp=i;12 while(temp)13... 阅读全文

posted @ 2012-11-14 23:59 仁者无敌8勇者无惧 阅读(122) 评论(0) 推荐(0) 编辑

hdu 1754 I Hate It

摘要: I Hate ItTime Limit: 9000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 20574Accepted Submission(s): 8244Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组测试,请处理到文件结束。在每个 阅读全文

posted @ 2012-11-14 12:20 仁者无敌8勇者无惧 阅读(194) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 11 下一页

导航