echo991206
echo991206
全部文章
分类
题解(3)
归档
标签
去牛客网
登录
/
注册
echo991206的博客
全部文章
(共3篇)
题解 | #弹地小球#
这题的n取得很小,如果大的话,可以直接用等比数列算更快,等比q为0.5 ">#include<math.h> int main() { int m; scanf("%d",&m); while(m--) { dou...
C
C++
2022-03-10
1
264
打表暴力穷举
class Solution { public: int p[1000000]; int GetUglyNumber_Solution(int index) { // if (index==1) return 1; p[1]=1; int x=2; fo...
2021-03-19
0
506
处女座的训练
#include <cstdio> #include <iostream> #include <cmath> #include <algorithm> #include <cstring> #define ll long long usin...
2020-02-13
0
552