上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 1. ACM是一种很直接的评价程序员水平的体系 2. ACM竞赛会带来很多机遇(深造or工作),同时又是一个不小的挑战 3. 为竞赛而竞赛的事情不可取详细点击这里 阅读全文
posted @ 2014-03-08 11:16 ForeverEnjoy 阅读(465) 评论(0) 推荐(0)
摘要: Ignatius and the Princess IIITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description"Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says. "The second problem is, given an positive inte 阅读全文
posted @ 2014-03-08 10:47 ForeverEnjoy 阅读(252) 评论(0) 推荐(0)
摘要: 9513 防空洞时间限制:1000MS 内存限制:65535K题型: 编程题 语言: 无限制Description 有一天,dragon123偷偷地拿锄头在学校里挖开了一个尘封已久的防空洞。 他在这个防空洞里面找到许多贵重的东西:一些石头和一些液体。 dragon123知道,只要他把这些石头和液体拿出去卖,那么就一定可以赚大钱。但是,他只有一个载重量为W的瓶子来装这些东西。 防空洞里面有很多块石头,每块石头的重量为Wi,价值为Mi,但是石头不能够砸烂,否则就不值钱了。 此外,洞里面很多种贵重的液体。对于某种液体,洞内存储了Wi重量,且这Wi重量液体的总价值为Mi。... 阅读全文
posted @ 2014-03-04 12:37 ForeverEnjoy 阅读(448) 评论(0) 推荐(0)
摘要: Square CoinsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem DescriptionPeople in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins with values of all square numbers up to 289 (=17^2), i.e., 1-credit 阅读全文
posted @ 2014-02-28 12:13 ForeverEnjoy 阅读(216) 评论(0) 推荐(0)
摘要: Problem 1608 Huge MissionTime Limit: 1000 mSec Memory Limit : 32768 KB Problem DescriptionOaiei is busy working with his graduation design recently. I... 阅读全文
posted @ 2014-02-26 00:32 ForeverEnjoy 阅读(279) 评论(0) 推荐(0)
摘要: Mayor's postersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 37346Accepted: 10864DescriptionThe citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places at their whim. The city council has fi 阅读全文
posted @ 2014-02-25 23:01 ForeverEnjoy 阅读(190) 评论(0) 推荐(0)
摘要: A Simple Problem with IntegersTime Limit: 5000MS Memory Limit: 131072KTotal Submissions: 53169 Accepted: 15897Case 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 number to each number in... 阅读全文
posted @ 2014-02-25 18:01 ForeverEnjoy 阅读(176) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; typedef long long ll; bool is_even(ll x) { if(x%2) return 0; else return 1; } ll gcd(ll x,ll y) { if(x<y) ret 阅读全文
posted @ 2014-02-23 10:04 ForeverEnjoy 阅读(244) 评论(0) 推荐(0)
摘要: To the MaxTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 38573Accepted: 20350DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangle is the sum of a 阅读全文
posted @ 2014-02-23 00:00 ForeverEnjoy 阅读(697) 评论(0) 推荐(0)
摘要: 17110 Divisible时间限制:1000MS 内存限制:65535K题型: 编程题 语言: 无限制DescriptionGiven n + m integers, I1,I2,...,In,T1,T2,...,Tm, we want to know whether (I1*I2*...*In... 阅读全文
posted @ 2014-02-17 18:47 ForeverEnjoy 阅读(470) 评论(0) 推荐(0)
摘要: permutationTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 141 Accepted Submission(s): 81 Problem DescriptionPermutation plays a very important role in Combinatorics. For example ,1 2 3 4 5 and 1 3 5 4 2 are both 5-permutations. As everyone's 阅读全文
posted @ 2014-02-14 23:30 ForeverEnjoy 阅读(210) 评论(0) 推荐(0)
摘要: Max SumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5 + 4 = 14.InputT 阅读全文
posted @ 2014-02-06 18:31 ForeverEnjoy 阅读(284) 评论(0) 推荐(0)
摘要: 畅通工程Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政... 阅读全文
posted @ 2014-02-03 00:13 ForeverEnjoy 阅读(222) 评论(0) 推荐(0)
摘要: 敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 34484 Accepted Submission(s): 14660 Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每... 阅读全文
posted @ 2014-02-02 00:06 ForeverEnjoy 阅读(238) 评论(0) 推荐(0)
摘要: I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 30900 Accepted Submission(s): 12276 Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组... 阅读全文
posted @ 2014-02-02 00:00 ForeverEnjoy 阅读(720) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 下一页