----------------数学------------
文章平均质量分 80
IF_I
这个作者很懒,什么都没留下…
展开
-
Code(POJ--1850
Description Transmitting and memorizing information is a task that requires different coding systems for the best use of the available space. A well known system is that one where a number is assoc原创 2015-08-25 16:37:20 · 237 阅读 · 0 评论 -
Archer 【CF--312B】
Description SmallR is an archer. SmallR is taking a match of archer with Zanoes. They try to shoot in the target in turns, and SmallR shoots first. The probability of shooting the target each tim原创 2015-12-06 20:32:56 · 543 阅读 · 0 评论 -
Paths on a Grid(POJ--1942
Description Imagine you are attending your math lesson at school. Once again, you are bored because your teacher tells things that you already mastered years ago (this time he's explaining that (a+原创 2015-08-25 20:41:16 · 367 阅读 · 0 评论 -
River Hopscotch(POJ--3258【二分查找】
Description Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straight原创 2015-08-27 11:26:03 · 194 阅读 · 0 评论 -
Expanding Rods(POJ--1905【二分查找】
Description When a thin rod of length L is heated n degrees, it expands to a new length L'=(1+n*C)*L, where C is the coefficient of heat expansion. When a thin rod is mounted on two solid walls a原创 2015-08-27 15:23:56 · 251 阅读 · 0 评论 -
Pie(POJ--3122【二分查找】
Description My birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to my par原创 2015-08-27 16:18:28 · 270 阅读 · 0 评论 -
Flip Game【POJ--1753】【枚举】【高斯消元】
Description Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other one is black and each piece is lying原创 2015-10-22 10:19:43 · 347 阅读 · 0 评论 -
EXTENDED LIGHTS OUT【高斯消元】
Description In an extended version of the game Lights Out, is a puzzle with 5 rows of 6 buttons each (the actual puzzle has 5 rows of 5 buttons each). Each button has a light. When a button is pres原创 2015-11-01 14:29:06 · 371 阅读 · 0 评论 -
Painter's Problem【高斯消元】
Description There is a square wall which is made of n*n small square bricks. Some bricks are white while some bricks are yellow. Bob is a painter and he wants to paint all the bricks yellow. But th原创 2015-11-01 15:15:07 · 374 阅读 · 0 评论 -
开关问题【高斯消元】
Description 有N个相同的开关,每个开关都与某些开关有着联系,每当你打开或者关闭某个开关的时候,其他的与此开关相关联的 开关也会相应地发生变化,即这些相联系的开关的状态如果原来为开就变为关,如果为关就变为开。你的目标是经过 若干次开关操作后使得最后N个开关达到一个特定的状态。对于任意一个开关,最多只能进行一次开关操作。你的任务 是,计算有多少种可以达到指定状态的方法。原创 2015-11-01 17:08:57 · 860 阅读 · 0 评论 -
Round Numbers(POJ--3252
Description The cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone' (also known as 'Rock, Paper, Scissors', 'Ro, Sham, Bo', and a host of other names) i原创 2015-08-25 14:24:02 · 297 阅读 · 0 评论 -
大数加减法
#include #include #include #include #include #define ll long long #define esp 1e-10 using namespace std; struct BigInteger { char num[10000]; BigInteger(){} BigInteger(const char *s) { whi原创 2015-08-31 10:04:34 · 290 阅读 · 0 评论