1055: 二级C语言-进制转换(自己编写相关函数) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int N; int a[100]; int j; scanf("%d",&N); a[0]=N%8; …… 题解列表 2022年07月17日 0 点赞 0 评论 380 浏览 评分:0.0
1128: C语言训练-排序问题<1>---菜鸟级别 摘要:## 1128: C语言训练-排序问题 用最最最简单的 一个一个比较 #include int main() { int a,b,c,d,e…… 题解列表 2022年07月17日 0 点赞 1 评论 986 浏览 评分:8.0
编写题解 1016: [编程入门]水仙花数判断 摘要: ```c //水仙花数判断 #include #include//含有pow()的头文件 int main(){ for( int i=100; i…… 题解列表 2022年07月17日 0 点赞 0 评论 515 浏览 评分:9.9
挺简单的一个题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n, a,b; cin>>n;…… 题解列表 2022年07月17日 0 点赞 0 评论 340 浏览 评分:0.0
1046简简单单 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main() { int m,n,a[200],i=0,j=0,c=0; sca…… 题解列表 2022年07月17日 0 点赞 0 评论 321 浏览 评分:0.0
自定义函数之数字后移(C语言,简单for循环) 摘要: #include void deal(int n, int m, int a[999]); int main() { int n, …… 题解列表 2022年07月17日 0 点赞 0 评论 337 浏览 评分:0.0
自定义函数之整数处理(C语言,简单数组) 摘要: #include void enter(int a[10]); void deal(int a[10]); void out(int a[10]);…… 题解列表 2022年07月17日 0 点赞 0 评论 384 浏览 评分:0.0
穷举求解。。。。。。。。 摘要:解题思路:无注意事项:无参考代码:a,b,c=0,0,0 for i in range(100,1000): a=int(i/100) b=int(i/10%10) c…… 题解列表 2022年07月17日 0 点赞 0 评论 455 浏览 评分:9.9
可以用下递归 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long f(int n){ if(n==1||n==0) return 1; el…… 题解列表 2022年07月17日 0 点赞 0 评论 403 浏览 评分:7.0
其实就是一个人简单的循环 摘要:#include<bits/stdc++.h>using namespace std;int main(){ int n,a; cin>>n; for(int i=1;;i++) …… 题解列表 2022年07月17日 0 点赞 0 评论 343 浏览 评分:0.0