题解列表
只需要写出一种规律,就可以复制粘贴了
摘要:解题思想: 如果从左边开始考虑的话,那么我们就要把插入数字后的一堆数字同时往后移动一位,但是这样不够简洁,所以我们可以从这些数字的右边向左边一项一项的比较,而且我们每次只用移动一位就可以。注意事……
1054: 二级C语言-计算素数和
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int func(int x);
int main()
{
int a,n;
int sum = 0;
……
1091: A+B for Input-Output Practice (VII)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
int func(int x,int y);
int main() {
int n, j;
int sum = 0;……
1112: C语言考试练习题_一元二次方程
摘要:解题思路:注意事项:参考代码:#include <math.h>
#include <stdio.h>
int main() {
double a, b, c;
double x1, ……
2760: 整型与布尔型的转换(细节)
摘要:####这样写,在编译器上能过,但提交后会显示编译错误
```c
#include
int main()
{
int a,b;
bool c;
scanf("%d",&a);
……