题解列表
1010: [编程入门]利润计算(小白解法)
摘要:刚翻看题解,很多大佬都是用switch语句来解答的,然后我是小白,还没有学过switch语句,刚看题目,就想着按自己的想法来解答,没想到回答正确了,看着题解没有我这种解法,分享出来,欢迎大家参考。解题……
1144: C语言训练-自守数问题
摘要:方法一:
```cpp
#include
using namespace std;
int main()
{
for(long long i=0;i……
简单的a+b【C++代码题解】
摘要:解题思路: 计算两个数的加法和,先定义变量。。。。注意事项:参考代码:```C++#include <iostream```……
奇偶ASCII值判断
摘要:解题思路:利用差值求ASCII码是否为奇数偶数注意事项:参考代码:#include <stdio.h>int main(){ char a; scanf("%c",&a); if (……
C语言 矩阵对角线求和&
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a11, a12, a13, a21, a22, a23, a31, a32, a33; ……
百钱百鸡问题(C++语言)
摘要:参考代码:
#include
using namespace std;
int main(){ cout……
1145: C语言训练-自由落体问题
摘要:```cpp
#include
#include
using namespace std;
int main()
{
int n,i;
double h=100.0,s=……
2020-快速排序练习
摘要:```cpp
#include
#include
using namespace std;
int a[100010];
void quickSort(int a[],int l,int……
1716-数据结构-快速排序
摘要:```cpp
#include
#include
using namespace std;
int a[100010];
void quickSort(int a[],int l,int……