一种一懂的另类写法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ int n,t; scanf("%d",&n); double d = sqr…… 题解列表 2024年11月22日 0 点赞 0 评论 561 浏览 评分:9.9
题解 2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,s=0; int a=1; cin>>…… 题解列表 2024年03月31日 0 点赞 0 评论 560 浏览 评分:0.0
2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年03月31日 0 点赞 0 评论 553 浏览 评分:0.0
2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:bitch 张博维giegie 我爱你注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a; …… 题解列表 2024年03月31日 0 点赞 0 评论 532 浏览 评分:0.0
题解 2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; while(1) { if(…… 题解列表 2024年03月30日 0 点赞 0 评论 472 浏览 评分:0.0
蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;int n,m;int a[10005];…… 题解列表 2023年07月22日 0 点赞 0 评论 561 浏览 评分:2.0
大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(i…… 题解列表 2023年07月15日 0 点赞 0 评论 454 浏览 评分:0.0
2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(void){ int n; int ans; double s; scanf("%d"…… 题解列表 2022年07月29日 0 点赞 0 评论 533 浏览 评分:0.0
大等于n的最小完全平方数 摘要: #include using namespace std; int main() { int n; cin>>n; for(i…… 题解列表 2022年04月08日 0 点赞 0 评论 938 浏览 评分:9.9
题解 2219: 蓝桥杯算法训练-大等于n的最小完全平方数 非常简单的一道题,可以这样来写:importmathn=int(input())b=math.sqrt(n)c=math.ceil(b)d=c*cprint(d) 题解列表 2022年04月03日 0 点赞 0 评论 690 浏览 评分:9.9