摘要: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
阅读全文
摘要: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
阅读全文
摘要:1002: [FJOI2007]轮状病毒 Description 轮状病毒有很多变种,所有轮状病毒的变种都是从一个轮状基产生的。一个N轮状基由圆环上N个不同的基原子 和圆心处一个核原子构成的,2个原子之间的边表示这2个原子之间的信息通道。如下图所示 N轮状病毒的产生规律是在一个N轮状基中删去若干条边
阅读全文
摘要:题目链接:https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1136 思路:欧拉函数求小于或等于n且与n互质的数字的个数 题目链接:https://www.51nod.com/onlineJudge/questionCode
阅读全文
摘要: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
阅读全文
摘要:题目链接:http://acm.xidian.edu.cn/problem.php?id=1041
阅读全文
摘要:#include #define MAX 1010 using namespace std; /******************************************************************************************************************** 最大的矩形四个顶点肯定不是危险; ...
阅读全文