摘要: 中石油大D:Go Fishing 求点(x, y)极坐标下的角度 double x = atan2(y, x);//此时的x是一个正切值 (atan2 返回以弧度表示的 y/x 的反正切) x * 180 / 3.14; #include<iostream> #include<cmath> #inc 阅读全文
posted @ 2021-07-20 22:25 梨花满地 阅读(346) 评论(0) 推荐(0)
摘要: 输入a,b,c 题目:求给定数据范围[a,b]的前c小质因子的和, #include<iostream> #include<algorithm> #include<vector> using namespace std; const int N = 1e8 + 10; typedef long lo 阅读全文
posted @ 2021-07-20 20:51 梨花满地 阅读(38) 评论(0) 推荐(0)