二级C语言-同因查找(效率好像高一些) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int i=10;i<=1000;i++) { if(i/42==i/42.0) p…… 题解列表 2022年04月28日 0 点赞 0 评论 438 浏览 评分:0.0
写的跟屎一样 摘要:解题思路:写的跟屎一样注意事项: 写的跟屎一样参考代码:#include<stdio.h> int a[10],i=0; int o1,o2,max,min,minp,maxp; v…… 题解列表 2022年04月28日 0 点赞 0 评论 438 浏览 评分:0.0
1860: 区间中最大的数 摘要:解题思路:注意事项:参考代码:n=int(input()) ls=list(map(int,input().split())) m=int(input()) for i in range(m):…… 题解列表 2022年04月29日 0 点赞 0 评论 785 浏览 评分:0.0
c++ 递归栈 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; void DP(int n) { if(…… 题解列表 2022年04月29日 0 点赞 0 评论 355 浏览 评分:0.0
编写题解 1511: 蓝桥杯算法提高VIP-复数求和 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b; int sum1,s…… 题解列表 2022年04月29日 0 点赞 0 评论 457 浏览 评分:0.0
编写题解 1494: 蓝桥杯算法提高VIP-企业奖金发放 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main() { double a; ci…… 题解列表 2022年04月29日 0 点赞 0 评论 427 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:直接用short注意事项:没有参考代码:#include<bits/stdc++.h>using namespace std;string s[8];int main(){ for(i…… 题解列表 2022年04月29日 0 点赞 0 评论 373 浏览 评分:0.0
二级C语言-等差数列 摘要:解题思路:直接模拟注意事项:要用long long参考代码:#include<bits/stdc++.h>using namespace std;long long n,s,t=2;int main(…… 题解列表 2022年04月29日 0 点赞 0 评论 241 浏览 评分:0.0
三个数字的排序 摘要:解题思路:利用数组+sort进行排序注意事项:注意数组的下标参考代码:#include<iostream>#include<fstream>#include<algorithm>using names…… 题解列表 2022年04月29日 0 点赞 0 评论 372 浏览 评分:0.0
三个数找最大值 摘要:解题思路:利用max快速找最大值注意事项:max的格式是max(a,b);参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int m…… 题解列表 2022年04月29日 0 点赞 0 评论 312 浏览 评分:0.0