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