上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: #include#define MAXSTRLEN 255#define TRUE 1#define FALSE 0#define OK 1typedef int Status;typedef unsigned char SString[MAXSTRLEN+1];Status StrAssign(S... 阅读全文
posted @ 2015-10-30 15:39 午夜阳光~ 阅读(590) 评论(0) 推荐(0) 编辑
摘要: #include#include#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define OVERFLOW -1typedef struct QNode{ int data; struct QNode *next;}Q... 阅读全文
posted @ 2015-10-30 15:30 午夜阳光~ 阅读(415) 评论(0) 推荐(0) 编辑
摘要: http://lightoj.com/volume_showproblem.php?problem=1370Bi-shoe and Phi-shoeTime Limit:2000MSMemory Limit:32768KB64bit IO Format:%lld & %lluSubmitStatus... 阅读全文
posted @ 2015-10-30 14:00 午夜阳光~ 阅读(1950) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3090Visible Lattice PointsTime Limit:1000MSMemory Limit:65536KTotal Submissions:6153Accepted:3662DescriptionA lattice point ... 阅读全文
posted @ 2015-10-29 14:34 午夜阳光~ 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 欧拉函数:对于一个正整数n,小于n且与n互质的正整数的个数,记做:φ(n),其中φ(1)被定义为1,但是并没有任何实质的意义。特殊性质:当n为奇数时,φ(2n)=φ(n)。当n为素数时:φ(n) = n - 1;(1)φ(n) = n * (1 - 1/p1) * (1 - 1 / p2) * ..... 阅读全文
posted @ 2015-10-29 14:20 午夜阳光~ 阅读(297) 评论(0) 推荐(0) 编辑
摘要: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4677One Person GameTime Limit:2 Seconds Memory Limit:65536 KBThere is an interesting and si... 阅读全文
posted @ 2015-10-29 10:31 午夜阳光~ 阅读(161) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=2115C LooooopsTime Limit:1000MSMemory Limit:65536KTotal Submissions:20725Accepted:5598DescriptionA Compiler Mystery: We are ... 阅读全文
posted @ 2015-10-28 14:32 午夜阳光~ 阅读(216) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1576A/BTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): ... 阅读全文
posted @ 2015-10-27 12:21 午夜阳光~ 阅读(168) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=1061青蛙的约会Time Limit:1000MSMemory Limit:10000KTotal Submissions:99832Accepted:19098Description两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。... 阅读全文
posted @ 2015-10-26 18:02 午夜阳光~ 阅读(160) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/problemset/problem/591/BB. Rebrandingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstan... 阅读全文
posted @ 2015-10-26 13:37 午夜阳光~ 阅读(242) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页