Fire! UVA - 11624

Joe works in a maze. Unfortunately, portions of the maze havecaught on re, and the owner of the maze neglected to create a reescape plan. Help Joe...

2018-05-31 20:02:23

阅读数 58

评论数 0

Codeforces Round #485 (Div. 2) High School: Become Human

B. High School: Become Humantime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYear 2118. Androids ...

2018-05-30 19:32:55

阅读数 115

评论数 0

Codeforces Round #485 (Div. 2) Three displays

C. Three displaystime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt is the middle of 2018 and Ma...

2018-05-30 19:29:43

阅读数 50

评论数 0

Pots POJ - 3414

You are given two pots, having the volume of A and B liters respectively. The following operations can be performed: FILL(i)      ...

2018-05-29 20:22:31

阅读数 142

评论数 0

Shuffle'm Up POJ - 3087

A common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two sta...

2018-05-28 21:34:29

阅读数 49

评论数 0

Prime Path POJ - 3126

The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit roo...

2018-05-28 20:48:54

阅读数 63

评论数 0

Find The Multiple POJ - 1426

Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits ...

2018-05-28 19:50:40

阅读数 37

评论数 0

Catch That Cow POJ - 3278

Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,...

2018-05-26 20:33:07

阅读数 129

评论数 0

棋盘问题 POJ - 1321

在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input ...

2018-05-26 19:59:42

阅读数 39

评论数 0

Dungeon Master POJ - 2251

You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fil...

2018-05-26 19:52:32

阅读数 122

评论数 0

结构体初始化

#include <iostream> #include <bits/stdc++.h> using namespace std; struct node { int data; double...

2018-05-25 19:51:05

阅读数 384

评论数 0

Dropping Balls UVA - 679

A number ofKballs are dropped one by one from the root of a fully binary tree structure FBT. Eachtime the ball being dropped first visits a non-termi...

2018-05-25 19:33:43

阅读数 71

评论数 0

codeforces 985A Chess Placing

A. Chess Placingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a chessboard of si...

2018-05-24 21:34:28

阅读数 152

评论数 0

codeforces 985B Switches and Lamps

B. Switches and Lampstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n switches a...

2018-05-24 21:31:12

阅读数 57

评论数 0

Rails UVA - 514

There is a famous railway station in PopPush City. Country there is incredibly hilly. The stationwas built in last century. Unfortunately, funds were...

2018-05-24 20:03:53

阅读数 47

评论数 0

Matrix Chain Multiplication UVA 442

Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices.Since matrix multiplication is associative, the order in w...

2018-05-24 20:02:22

阅读数 35

评论数 0

CodeForces - 621A  Wet Shark and Odd and Even

Wet Shark and Odd and Eventime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, Wet Shark is g...

2018-05-24 17:14:03

阅读数 71

评论数 0

CodeForces - 460A Vasya and Socks

A. Vasya and Sockstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has n pairs of s...

2018-05-24 16:57:23

阅读数 60

评论数 0

CodeForces - 584A Olesya and Rodion

Olesya and Rodiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOlesya loves numbers consisting...

2018-05-24 16:34:28

阅读数 115

评论数 0

CodeForces - 733A  Grasshopper And the String

Grasshopper And the Stringtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day, the Grasshopp...

2018-05-24 16:25:35

阅读数 68

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭