数学题
文章平均质量分 91
__AiR_H
智障蒟蒻,蠢哭。。。QwQ
展开
-
数学 2016.2.18
1、UVa UVA 10790 How Many Points of Intersection?(多少个交点?)#include <iostream>#include <cstdio>using namespace std;int main(){ long long a, b; long long cases = 0; while (scanf("%lld%lld", &a原创 2016-03-10 16:48:49 · 381 阅读 · 0 评论 -
数学 2016.2.16
1、UVa 10161 Ant on a Chessboard(棋盘上的蚂蚁)#include #include using namespace std;int IsSquares(int n);int main(){ int N; while (cin>>N && N!=0) { int i = N; while (!IsSq原创 2016-03-10 16:47:08 · 338 阅读 · 0 评论 -
数学 2016.10.19
1、HDU 5734 Acperience参考:http://bestcoder.hdu.edu.cn/blog/2016-multi-university-training-contest-2-solutions-by-zimpha/解题思路:①展开得:②令 C1 = ,显然 C1 为常数,,要求的最小值,则,令 C2 =,C2 也为常数③问题进一步转化为求原创 2016-07-22 11:37:03 · 335 阅读 · 0 评论