摘要: Monthly ExpenseTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 9302Accepted: 3823DescriptionFarmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the exact amount of money (1 ≤moneyi ≤ 10,000) that h 阅读全文
posted @ 2012-11-27 19:06 java程序员-c 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Communication SystemTime Limit:1000MSMemory Limit:10000KTotal Submissions:19377Accepted:6851DescriptionWe have received an order from Pizoor Communications Inc. for a special communication system. The system consists of several devices. For each device, we are free to choose from several manufacture 阅读全文
posted @ 2012-11-27 14:53 java程序员-c 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 日期:2012-11-27来源:GBin1.com全部在线演示jQuery 绝对是一个伟大的开源javascript类库,是帮助我们快速和高效开发前端应用的利器。可能大家在日常的开发过程中常常会处理表单相关的 javascript,在今天这篇代码片段分享文章中,gbin1收集了10个超棒超实用的jQuery表单处理代码,希望能够在大家的开发过程中帮助大 家更好更快的处理表单相关问题,希望大家喜欢!如果你也有相关的代码,请大家积极分享!相关阅读:10个实用的jQuery代码片段代码片段1: 在表单中禁用“回车键”大家可能在表单的操作中需要防止用户意外的提交表单,那么下面这段代码肯定非常有帮助:在 阅读全文
posted @ 2012-11-27 14:52 java程序员-c 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Lake CountingTime Limit:1000MSMemory Limit:65536KTotal Submissions:14776Accepted:7496DescriptionDue to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 #include#include#define MAX 110char map[MAX][MAX];bool vis[MAX][MAX];int 阅读全文
posted @ 2012-11-27 14:13 java程序员-c 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Tree CuttingTime Limit:1000MSMemory Limit:65536KTotal Submissions:3022Accepted:1767DescriptionAfter Farmer John realized that Bessie had installed a "tree-shaped" network among his N (1 #include#include#includeusing namespace std;#define MAX 10010bool vis[MAX];vector list[MAX];int sum[MAX] 阅读全文
posted @ 2012-11-27 13:58 java程序员-c 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Asteroids!Time Limit:1000MSMemory Limit:65536KTotal Submissions:2653Accepted:1006DescriptionYou're in space.You want to get home.There are asteroids.You don't want to hit them.InputInput to this problem will consist of a (non-empty) series of up to 100 data sets. Each data set will be format 阅读全文
posted @ 2012-11-27 09:36 java程序员-c 阅读(176) 评论(0) 推荐(0) 编辑