题解列表

筛选

利用if对输出结果进行判断

摘要:解题思路:利用if判断输出结果即可注意事项:参考代码:#include<stdio.h>int main(){    int a,b,n;    while(~scanf("%d%d", &a, &b……

带参数宏定义练习

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define reverse1(m) x2#define reverse2(n) x1int main(){ int x1,x2; s……

输入超过三位数的简单思路

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a, b, s, g;    scanf("%d", &a);    b = a / 100; s……

[编程入门]C语言循环移位

摘要:解题思路:注意事项:参考代码://程序名:新的C++程序//作者: #include<iostream>#include<fstream>#include<algorithm>using namesp……

[编程入门]二进制移位练习

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<cmath>using namespace std;vector<int> arr;……

数字逆序输出

摘要:解题思路:1.先定义一个长度为10的数组a[10]              2.利用for循环输入10个数字              3.利用for循环从后往前遍历输出数组注意事项:参考代码:#i……