题解列表
编写题解 1487: 蓝桥杯算法提高VIP-不同单词个数统计
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void max(char* p, char sz[110][15],int s){ i……
编写题解 1536: 蓝桥杯算法提高VIP-最长单词
摘要:解题思路:注意事项:按空格分割为多个字符串,在比较每个字符串的长度。参考代码:#include<stdio.h>#include<string.h>void max(char* p, char sz[……
题解 2219: 蓝桥杯算法训练-大等于n的最小完全平方数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; while(1) { if(……
1234: 检查一个数是否为质数(改进速度版)
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; ……
1234: 检查一个数是否为质数
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; ……
字典方法...............
摘要:解题思路:注意事项:参考代码:N,M = map(int,input().split())
dict1 = {i : i*0 for i in range(1,N+1)}
dict2 = {i :……
题解 1234: 检查一个数是否为质数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(in……
2829: 数1的个数
摘要:解题思路:注意事项:致 别吃张博维giegie参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,s……