题解列表

筛选

编写题解 1196: 去掉空格

摘要:解题思路:注意事项:参考代码:#include<stdio.h>void f(char a[100]){ int i=0,k=0;  while(a[i]!=&#39;\0&#39;)  { if(a……

三个字符串的排序

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> #include <string.h> int main() {     // 声……

数组插入处理(简单易懂)

```c//[编程入门]数组插入处理#includeintmain(){inta[9]={'\0'};//初始化数组,为10个长度intn,m;for(inti=0;i<9;i++)//输入9个数据{scanf("%d",&a[i]);}scanf("%d",

2800: 多边形内角和

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int n,sum=0;     cin>>n……

2797: 最高的分数

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int n,max=0;     int ar……

C语言,动态规划

摘要:解题思路:首先列出前几年的数据               | 年份 | 1 | 2 | 3 | 4 | 5 | 6 |  7  |  8  |……               | 总数 | 1 | ……