04 2018 档案
摘要:严重急性呼吸系统综合症( SARS), 一种原因不明的非典型性肺炎,从2003年3月中旬开始被认为是全球威胁。为了减少传播给别人的机会, 最好的策略是隔离可能的患者。在Not-Spreading-Your-Sickness大学( NSYSU), 有许多学生团体。同一组...
阅读全文
摘要:上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也可以通过它从房间B...
阅读全文
摘要:Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different g...
阅读全文
摘要:TT and FF are ... friends. Uh... very very good friends -________-b FF is a bad boy, he is always wooing TT to play the following game...
阅读全文
摘要:动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。有人用两种说法对这N个动物所构成的食物链关系进行描述: 第一种说法是"1 X Y...
阅读全文
摘要:Noting is more interesting than rotation! Your little sister likes to rotate things. To put it easier to analyze, your sister makes n ...
阅读全文
摘要:Farmer John has N (1 #include #include #include #include using namespace std;#define PI 3.1415926#define EPS 1.0e-6struct Point { P...
阅读全文
摘要:Overpower often go to the playground with classmates. They play and chat on the playground. One day, there are a lot of stars in the sky. Suddenly, on
阅读全文
摘要:We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of thre...
阅读全文
摘要:C - Segments POJ - 3304 最近开始刷计算几何了 公式好多完全不会数学不行 几何不行 记忆力不行 当机查的题解 就当复习吧 这套专题拿来熟悉一下计算几何模板#include #include#includeusing namespace std;c...
阅读全文
摘要:惭愧 到现在都还没有去学一下java大数怎么用 结果就是蓝翔杯那个大数都没有写出来 BigInteger 和 BIgDecimal 在java.math.*里 1. int a=3; BigInteger b=BigInteger.valueOf(a); 则b=3; 2. String s="-12
阅读全文