你有见过这么帅又这么干练的未来it人才吗 摘要:解题思路:利用二维数组输入矩阵,再求和注意事项:我很帅参考代码:#include<stdio.h>int main(){int a[3][3];int i,j;for(i=0;i<3;i++)for(…… 题解列表 2022年11月03日 0 点赞 0 评论 157 浏览 评分:2.0
2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>int main(){ …… 题解列表 2022年11月07日 0 点赞 0 评论 412 浏览 评分:2.0
典型的递推题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; scanf("%d",&n); double s…… 题解列表 2022年11月10日 0 点赞 0 评论 265 浏览 评分:2.0
与指定数字相同的数 摘要:解题思路:一维数组的应用注意事项:参考代码:#include<stdio.h>int main(){ int i,N,m,n,b=0; scanf("%d %d",&N,&m); int a[N]; …… 题解列表 2022年11月12日 0 点赞 0 评论 544 浏览 评分:2.0
蓝桥杯2022第十三届省赛真题——数位排序 摘要:解题思路:用记忆化搜索(或是递推)求出1-n的每个数的数位和,时间复杂度为O(n),然后用sort排序,时间复杂度为O(nlogn),最后输出排序后的第m个位置的数注意事项: 不会超时参考代码:#i…… 题解列表 2022年11月14日 0 点赞 0 评论 342 浏览 评分:2.0
编写题解 3000: 交换值 摘要:解题思路:直接交换输出注意事项:参考代码:int a,b; scanf("%d %d",&a,&b); printf("%d %d",b,a);…… 题解列表 2022年11月14日 0 点赞 0 评论 298 浏览 评分:2.0
qtnu培训练习 摘要:解题思路:分析p1、p2、p3代表的意思。利用tolower() 于toupper() 函数代码中出现了insert() 增加字符 erase() 删除字符,已及sb测试样例1;p1_other() …… 题解列表 2022年11月16日 0 点赞 0 评论 331 浏览 评分:2.0
二进制分类(C语言) 摘要:解题思路:暴力(笑注意事项:数据范围是从1到1000(包括1和1000),并不需要自己输入。参考代码:#include<stdio.h>int main(){ int i, s, A = 0, B =…… 题解列表 2022年11月22日 0 点赞 0 评论 381 浏览 评分:2.0
编写题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int n,m=0; cin>>n; while(n){ m=m*10+n%10;//每…… 题解列表 2022年11月24日 0 点赞 3 评论 285 浏览 评分:2.0
2778: 判断数正负 摘要:解题思路: while循环控制输入 if条件判断控制范围注意事项:参考代码:while 1: a = int(input()) if a <= -1E9 or a >= 1E9: #…… 题解列表 2022年11月27日 0 点赞 0 评论 369 浏览 评分:2.0