C语言训练-计算1~N之间所有奇数之和 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void fun(int n) { int i,sum=0; for(i=1;i<=n;i++) if(i%2!=…… 题解列表 2024年06月09日 0 点赞 0 评论 305 浏览 评分:0.0
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a[10]={0},i=0; for(i=0;i<10;i++) scanf("…… 题解列表 2024年06月09日 0 点赞 0 评论 580 浏览 评分:0.0
二级C语言-寻找矩阵最值 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { //因为n>=1&&n<=6,所以把数组定义为a[6][6] int n=0,a…… 题解列表 2024年06月09日 0 点赞 0 评论 395 浏览 评分:0.0
编写题解 1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; …… 题解列表 2024年06月09日 0 点赞 0 评论 1303 浏览 评分:9.9
编写题解 3000: 交换值 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<b<<…… 题解列表 2024年06月09日 0 点赞 0 评论 950 浏览 评分:9.9
编写题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a,b; cin>>a>>b; cout<<a+b; re…… 题解列表 2024年06月09日 0 点赞 0 评论 805 浏览 评分:6.0
编写题解 2776: A*B问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2024年06月09日 0 点赞 0 评论 334 浏览 评分:0.0
编写题解 2751: 超级玛丽游戏 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" ********"…… 题解列表 2024年06月09日 0 点赞 0 评论 481 浏览 评分:7.3
编写题解 2758: 打印ASCII码 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char a; cin>>a; cout<<(int)a<…… 题解列表 2024年06月09日 0 点赞 0 评论 409 浏览 评分:9.9
2781 奇偶ASCII值判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char ch; cin>>ch; if…… 题解列表 2024年06月09日 0 点赞 0 评论 352 浏览 评分:0.0