随笔分类 -  ------【数学】

codeforces - 766B【三角形判断】
摘要:B. Mahmoud and a Triangle time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Mahmoud has n 阅读全文

posted @ 2017-02-08 19:44 Jstyle 阅读(723) 评论(0) 推荐(0)

codeforces - 276D【贪心+数学】
摘要:D. Little Girl and Maximum XOR time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A little 阅读全文

posted @ 2017-01-16 20:31 Jstyle 阅读(250) 评论(0) 推荐(0)

bzoj - 1002 【Kirchhoff矩阵】
摘要:1002: [FJOI2007]轮状病毒 Description 轮状病毒有很多变种,所有轮状病毒的变种都是从一个轮状基产生的。一个N轮状基由圆环上N个不同的基原子 和圆心处一个核原子构成的,2个原子之间的边表示这2个原子之间的信息通道。如下图所示 N轮状病毒的产生规律是在一个N轮状基中删去若干条边 阅读全文

posted @ 2017-01-15 20:31 Jstyle 阅读(259) 评论(0) 推荐(0)

51nod - 1136 欧拉函数(欧拉函数)
摘要:题目链接:https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1136 思路:欧拉函数求小于或等于n且与n互质的数字的个数 题目链接:https://www.51nod.com/onlineJudge/questionCode 阅读全文

posted @ 2016-07-28 10:03 Jstyle 阅读(228) 评论(0) 推荐(0)

cf #360 div2 D-Remainders Game(中国剩余定理)
摘要:D. Remainders Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output D. Remainders Game tim 阅读全文

posted @ 2016-07-01 00:59 Jstyle 阅读(202) 评论(0) 推荐(0)

西电OJ - 1041 Franky的游戏O
摘要:题目链接:http://acm.xidian.edu.cn/problem.php?id=1041 阅读全文

posted @ 2016-04-27 22:28 Jstyle 阅读(159) 评论(0) 推荐(0)

cf - #346 D-Bicycle Race
摘要:#include #define MAX 1010 using namespace std; /******************************************************************************************************************** 最大的矩形四个顶点肯定不是危险; ... 阅读全文

posted @ 2016-04-12 23:45 Jstyle 阅读(113) 评论(0) 推荐(0)

导航