题解 2219: 蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; while(1) { if(…… 题解列表 2024年03月30日 0 点赞 0 评论 323 浏览 评分:0.0
1234: 检查一个数是否为质数(改进速度版) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年03月30日 0 点赞 0 评论 399 浏览 评分:9.9
暴力排序对照 摘要:解题思路:注意事项:参考代码:import java.util.*;import java.math.*;public class Main{ static Scanner sc=new Scanne…… 题解列表 2024年03月30日 0 点赞 0 评论 359 浏览 评分:0.0
1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年03月30日 0 点赞 0 评论 403 浏览 评分:0.0
字典方法............... 摘要:解题思路:注意事项:参考代码:N,M = map(int,input().split()) dict1 = {i : i*0 for i in range(1,N+1)} dict2 = {i :…… 题解列表 2024年03月30日 0 点赞 0 评论 409 浏览 评分:0.0
题解 1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(in…… 题解列表 2024年03月30日 0 点赞 0 评论 426 浏览 评分:9.9
2829: 数1的个数 摘要:解题思路:注意事项:致 别吃张博维giegie参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,s…… 题解列表 2024年03月30日 0 点赞 0 评论 440 浏览 评分:9.9
题解 2813: 药房管理 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int m,n,sum=0; cin>>m>>n; for(…… 题解列表 2024年03月30日 0 点赞 0 评论 395 浏览 评分:0.0
前缀和解法家人们 摘要:import java.util.*;public class Main{ static Scanner sc=new Scanner(System.in); public static void m…… 题解列表 2024年03月30日 0 点赞 0 评论 502 浏览 评分:0.0
题目 1051: [编程入门]结构体之成绩统计2 摘要:#include <stdio.h> // 定义学生结构体 typedef struct { char id[20]; char name[20]; int …… 题解列表 2024年03月30日 0 点赞 0 评论 318 浏览 评分:0.0