含k个3的数 简直不要贴心=_=|| 摘要:解题思路: 思路很简单,总之就那样,没什么好说的,优质答案放下面,记得点赞加收藏哟=_=!注意事项: 这**在线编译器有点无语,定义变量记得初始化就得,不然在其他编译器运行…… 题解列表 2023年01月07日 0 点赞 0 评论 659 浏览 评分:9.9
1046: [编程入门]自定义函数之数字后移【也许是一种新思路】 摘要:#include<iostream> using namespace std; int func(int a[],int n,int m); int main() { int n; c…… 题解列表 2023年01月07日 0 点赞 0 评论 435 浏览 评分:9.9
2833: 金币 摘要:解题思路:分析题目我们可知,第一天,循环一次,获得一个金币;第二第三天,循环两次,每次两个金币;第四五六天,循环三次,每次三个金币……所以,我们需要一个主循环来控制金币个数,而子循环来控制获得金币的次…… 题解列表 2023年01月07日 0 点赞 0 评论 462 浏览 评分:9.9
C++代码(结构体的运用) 摘要:###### 解题思路: 建立一个结构体,包含三个数据:学号,姓名,成绩。 通过函数input进行数据的输入。 通过函数print进行输出。 ```cpp #include #inc…… 题解列表 2023年01月07日 0 点赞 0 评论 488 浏览 评分:9.9
c语言字符串拼接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str1[101]={0}; char str2[50…… 题解列表 2023年01月07日 0 点赞 0 评论 585 浏览 评分:9.9
2753: 浮点型数据类型存储空间大小 题解 摘要:解题思路:遵照题意即可参考代码:#include<bits/stdc++.h> using namespace std; int main() { float a; doub…… 题解列表 2023年01月07日 0 点赞 0 评论 616 浏览 评分:9.9
求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n; long long s=0; scanf("%d",&n); …… 题解列表 2023年01月07日 0 点赞 0 评论 513 浏览 评分:9.9
编写题解 1387: 陈教主的三角形 摘要:解题思路:注意事项:参考代码://行测试数据,每行包含两个整数a和b(0<a,b<=100),表示长方形的长和宽。当a和b同时为0时,表示输入结束 #include<stdio.h> int ma…… 题解列表 2023年01月07日 0 点赞 0 评论 483 浏览 评分:9.9
[编程入门]自定义函数之数字后移 摘要:参考代码:#include<stdio.h>int main(){ int b[100],a[100],i,n,j; scanf("%d",&n); for(i=0;i<n;i++)scanf("%d…… 题解列表 2023年01月07日 0 点赞 0 评论 522 浏览 评分:9.9
直接数学方法进行计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,n,r,p,m,q; scanf("%lf %lf %lf…… 题解列表 2023年01月07日 1 点赞 0 评论 622 浏览 评分:9.9