编写题解 1135: C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>#include<ctype.h>using namespace std;int main(){ …… 题解列表 2022年03月21日 0 点赞 0 评论 785 浏览 评分:0.0
1783: 星期判断机 摘要:看清楚题目,0 的时候是 Sunday,第一次时直接踩坑。。import java.util.Scanner; public class Main { public static vo…… 题解列表 2022年03月21日 0 点赞 0 评论 745 浏览 评分:9.9
编写题解 1136: C语言训练-求具有abcd=(ab+cd)2性质的四位数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>#include<ctype.h>#include<math.h>using namespace …… 题解列表 2022年03月21日 0 点赞 0 评论 530 浏览 评分:0.0
编写题解 1137: C语言训练-求函数值 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>#include<ctype.h>#include<math.h>using namespace …… 题解列表 2022年03月21日 0 点赞 0 评论 332 浏览 评分:0.0
1030 二维数组的转置 C++ 摘要:解题思路:(1)在主函数中定义二维数组a[i][j],用for循环输入。(2)在自定义的转置函数中用for循环输出a[j][i]。(3)在主函数中调用自定义的置换函数。注意事项:输入a[i][j],输…… 题解列表 2022年03月21日 0 点赞 0 评论 726 浏览 评分:9.9
题解 1205: 字符串的修改 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> void swap(char *a, char *b) //将两个字符串互换…… 题解列表 2022年03月21日 0 点赞 0 评论 356 浏览 评分:0.0
蓝桥杯算法训练VIP-幂方分解 摘要:不断的将n拆分成更小的数,前后做法一致,只是规模变小,容易联想到递归 ```cpp #include #include using namespace std; int FindBina…… 题解列表 2022年03月21日 0 点赞 0 评论 519 浏览 评分:9.9
1000:简单而又容易出错的题 摘要:解题思路:本题很简单,但是注意此题是多组测试数据,即需要不停的接收系统的测试输入,你都可以计算结果并输出,像本人第一次输出只写了一次简单的a+b,全错QwQ:#include<cstdio>#incl…… 题解列表 2022年03月21日 0 点赞 1 评论 267 浏览 评分:8.0
1001:新手题1 摘要:解题思路:一个打印题目,用cout即可,但是注意*号!错误代码:#include<iostream>using namespace std;int main(){ cout<<"Hello,World…… 题解列表 2022年03月21日 0 点赞 0 评论 544 浏览 评分:8.0
2^k进制数——Java排列组合解题 摘要:解题思路:运用排列组合,题目中给出当前项严格小于右边相邻一项(也就是不能重复,也就可以用组合求解),当w%k==0时,则就相当于pow(2,k)-1个数中选i个数,i为当前有多少位(2<=i<pow(…… 题解列表 2022年03月21日 0 点赞 0 评论 556 浏览 评分:9.9