题解列表
1009简单易看题解,并注释
摘要:```#include#includeint main(){ char a[6]; scanf("%s",a); //直接用库函数 int ……
根据不同结构体对象,创建数组变量来解决
摘要:解题思路:不同学生有不同的结构体对象,可利用可变数组来储存,并调用注意事项:正确使用可变数组的定义和声明参考代码:#include <iostream>#include <vecto……
【C++】【超详细】在输入数组的同时进行排序,减少不必要的开销
摘要:```cpp#include using namespace std;// 声明一个数组。全局变量自动初始化,无需手动={0}int a[10];int main(){……
简单易于理解的字符串排序问题——Python
摘要:注意事项: 利用中间变量实现变量的替换参考代码:a=input()b=input()c=input()ifa>b:……
多项式输出 没难度 直接模拟
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;intn,a[110];……
石头剪刀布 超简单 模拟
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;intmain(){……
1314: 乘积最大 野生方法动态规划
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>intnum[41];int……