
模拟
文章平均质量分 88
mowayao
这个作者很懒,什么都没留下…
展开
-
POJ4001 Xiangqi
百分百的模拟题,要注意一些细节,如输入用cin(如果用scanf,数据坑爹的话,给你来几个空格就蛋疼了),代码略长,非常考验代码的功底,自己太挫,弹了N次才AC的 TAT网赛快到了,要加油了!!!#include #include #include #include #include using namespace std;const int maxn = 100+10;cons原创 2013-09-03 17:46:10 · 651 阅读 · 0 评论 -
POJ3923 Ugly Windows
Ugly WindowsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1096 Accepted: 324DescriptionSheryl works for a software company in the country of Brada. He原创 2013-10-02 22:11:47 · 726 阅读 · 0 评论 -
UVa10145Loansome Car Buyer
Problem D: Loansome Car BuyerSource file:loan.{c, cpp, java, pas}Input file:loan.inOutput file:loan.outKara Van and Lee Sabre are lonesome. A few months ago they原创 2014-02-28 14:31:34 · 1123 阅读 · 0 评论 -
UVa10145 - Lock Manager
Problem C"Lock Manager"You are invited to be a part of the team that is developing yet another DBMS (Data Base Management System). You will be responsible for the Lock Manager.Locks control co原创 2014-03-01 01:09:53 · 1111 阅读 · 0 评论 -
UVa162 Beggar My Neighbour
Beggar My Neighbour ``Beggar My Neighbour'' (sometimes known as ``Strip Jack Naked'') is a traditional card game, designed to help teach beginners something about cards and their values. A原创 2014-03-01 17:08:36 · 1225 阅读 · 0 评论 -
UVa10901 - Ferry Loading III
Problem B: Ferry Loading IIIBefore bridges were common, ferries were used to transport cars across rivers. River ferries, unlike their larger cousins, run on a guide line and are powered by the rive原创 2014-03-01 19:26:42 · 1107 阅读 · 0 评论 -
UVa763 - Fibinary Numbers
Problem B: How many Fibs?Recall the definition of the Fibonacci numbers:f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n>=3)Given two numbers a and b, calculate how many Fibonacci numbers are in原创 2014-03-18 15:53:37 · 823 阅读 · 0 评论 -
UVa-101 - The Blocks Problem
The Blocks Problem Background Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robo原创 2014-05-26 20:00:33 · 681 阅读 · 0 评论 -
Uva11039 Building design...
水题:根据绝对值大小排序,遍历即可#include #include #include #include using namespace std;struct num{ int val,symbol; friend bool operator <(num a,num b){ return a.val<b.val; }};int main(){ int ncas原创 2013-08-01 11:45:40 · 577 阅读 · 0 评论