编写题解 1058: 二级C语言-求偶数和 摘要:解题思路:优化步骤,在输入的时候同时判断是否为偶数注意事项:注意数组定义的时间和位置参考代码:#include <stdio.h>int main(){ int k,x = 0; scanf("%d"…… 题解列表 2022年04月08日 0 点赞 0 评论 689 浏览 评分:9.9
蓝桥杯2021年第十二届省赛真题-杨辉三角形(JAVA题解) 摘要:解题思路:思维+二分搜索注意事项:必须用二分搜索,否则只能得90分。。。参考代码:import java.util.*; import java.io.*; // https://www.do…… 题解列表 2022年04月08日 0 点赞 0 评论 1201 浏览 评分:3.3
就是nb,不会速来看 摘要:解题思路:注意事项:参考代码:n = int(input())sum_1 = 0t = 0for i in range(10000,999999): i = str(i) p = i …… 题解列表 2022年04月08日 0 点赞 0 评论 389 浏览 评分:0.0
1951:求平方和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;scanf("%d%d",&a,&b);c=a*a+b*b;printf("%d",c);re…… 题解列表 2022年04月08日 0 点赞 0 评论 396 浏览 评分:0.0
全球变暖BFS 摘要: 宽搜解法 #include #include #include using namespace std; const int N …… 题解列表 2022年04月08日 0 点赞 0 评论 536 浏览 评分:9.9
1812:输入输出练习之输出图案 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){char a;scanf("%c",&a);printf(" %c \n",a);printf(" %c%c%…… 题解列表 2022年04月08日 0 点赞 0 评论 861 浏览 评分:6.3
1810:输入输出练习之精度控制3 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char ch; int a; float b; double c;&nb 题解列表 2022年04月08日 0 点赞 0 评论 408 浏览 评分:0.0
字符串的修改 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int dp[1005][1005];char A[205],B[205];int …… 题解列表 2022年04月08日 0 点赞 0 评论 457 浏览 评分:9.9
1507: 蓝桥杯算法提高VIP-去注释(c++) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; char s[1000000]; int main(){ char c,t; …… 题解列表 2022年04月08日 0 点赞 0 评论 381 浏览 评分:0.0
递增三元组——二分(c++) 摘要: 转了一圈发现没几个用二分的.... 思路很简单,我们先确定中间的数,b[i],然后分别二分查找比b[i]小的以及比b[i]大的数即可。我们可以在比b[i]小的数中,找到最大的数,那么比他小的数,…… 题解列表 2022年04月08日 0 点赞 0 评论 676 浏览 评分:9.9