蓝桥杯算法训练-大等于n的最小完全平方数-题解(Java代码) 摘要: Scanner sc=new Scanner(System.in); long n=sc.nextLong(); for(long i=1;;i++){ if(i*i>n){ …… 题解列表 2020年03月02日 0 点赞 0 评论 414 浏览 评分:0.0
题解 2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,s=0; int a=1; cin>>…… 题解列表 2024年03月31日 0 点赞 0 评论 167 浏览 评分:0.0
2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年03月31日 0 点赞 0 评论 149 浏览 评分:0.0
2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:bitch 张博维giegie 我爱你注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a; …… 题解列表 2024年03月31日 0 点赞 0 评论 155 浏览 评分: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 评论 105 浏览 评分:0.0
大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(i…… 题解列表 2023年07月15日 0 点赞 0 评论 102 浏览 评分: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 评论 146 浏览 评分:0.0
2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:import math n=int(input()) s=int(math.sqrt(n)) s += 1 print(s**2)…… 题解列表 2022年02月11日 0 点赞 0 评论 288 浏览 评分:0.0
大等于n的最小完全平方数(蓝桥杯测试满分) 摘要:解题思路: 用math文件中sqrt函数求二次方根,循环求值,输出所求的值。注意事项:另外小于或等于零值为零。参考代码:#include <stdio.h>#include <math.h>int m…… 题解列表 2022年01月23日 0 点赞 0 评论 362 浏览 评分:0.0
Java实现**************************************************** 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) { // TODO Auto-…… 题解列表 2021年03月16日 0 点赞 0 评论 203 浏览 评分:0.0