题解列表
3020: 最大数位置
摘要:```
#include
using namespace std;
int a[100000],n,maxx,num;
int main(){
cin>>n;
maxx = -1;
……
题解 2831: 画矩形
摘要: #include
using namespace std;
int main(){
int a,b,d;
char c;
cin>>a>……
题解 1234: 检查一个数是否为质数
摘要: #include
using namespace std;
int main(){
int a,b,d;
while(cin>>a){
……
2834: 与指定数字相同的数的个数
摘要:```
#include
using namespace std;
int a[100000],n,num,ans;
int main(){
cin>>n;
for( int i=1;……
1025: [编程入门]数组插入处理
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main() {
int arr[9],n;
for(int i=0; i<9; i++) {
scanf("……
大整数加法的双向链表写法
摘要:参考代码:#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct lennum{
int num;
struct l……
1810: [编程基础]输入输出练习之精度控制3
摘要:```cpp
#include
#include
using namespace std;
int main()
{
char ch;
float a;
f……
1739: 成绩排序 (坑很多)
摘要:解题思路:注意事项:1.成绩小的在前 2.名字小的在前(比较的整个字符串不是首字母) 3.年龄小的在前参考代码:#include<stdio.h> typedef struct{ char a[10……
优质题解
利用二维字符数组和二级指针以及strcmp函数实现三个字符串的排序
摘要:`解题思路`:
> 重点知识点:**二维数组**、**指针数组**、**二级指针**、**strcmp函数**
1. 声明一个二维字符数组`char string[i][j]`;
2. ……