摘要:
向量的数量积(内积,点积) 向量的向量积(外积,叉积) ,符合右手规则。 ,向量积是一个伪向量,定义其方向垂直于进行叉积的两个向量且满足右手规则。 向量点积的物理意义 W = |F|·|S|·cosθ ,表示力F所作的功。 向量叉积的几何意义 计算矢量叉积是与直线和线段相关算法的核心部分... 阅读全文
摘要:
TrianglesTime Limit: 2 Seconds Memory Limit: 65536 KBIt is always very nice to have little brothers or sisters. You can tease them, lock them in the bathroom or put red hot chili in their sandwic... 阅读全文
摘要:
SudokuTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 11672Accepted: 5801Special JudgeDescriptionSudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller... 阅读全文
摘要:
单调队列优化。。。。Max Sum of Max-K-sub-sequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4759 Accepted Submission(s): 1734Problem DescriptionGi... 阅读全文
摘要:
第一次写单调队列没有经验。。。。。Sliding WindowTime Limit: 12000MSMemory Limit: 65536KTotal Submissions: 30830Accepted: 9195Case Time Limit: 5000MSDescriptionAn array of size n ≤ 106 is given to you. There is a slidi... 阅读全文
摘要:
Persistent NumbersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 2825Accepted: 1370DescriptionThe multiplicative persistence of a number is defined by Neil Sloane (Neil J.A. Sloane in The Pe... 阅读全文
摘要:
#include #include #include #include using namespace std; #define MAXN 9999#define MAXSIZE 10#define DLEN 4class BigNum{ private: int a[500]; //可以控制大数的位数 int len; //大数长度public: BigNum(){ len =... 阅读全文
摘要:
Radar InstallationTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 41153Accepted: 9125DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the o... 阅读全文
摘要:
Game PredictionTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 8866Accepted: 4225DescriptionSuppose there are M people, including you, playing a special card game. At the beginning, each play... 阅读全文
摘要:
Nested DollsTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1805 Accepted Submission(s): 501Problem DescriptionDilworth is the world’s most p... 阅读全文