题解列表

筛选

勇士不再回头,数组举高

摘要:解题思路:用数组比用switch强注意事项:要开心参考代码:#include<stdio.h>int main(){ int i=2019,j,k,l,a[13]={0,0,31,59,90,120,……

[编程入门]自定义函数之字符类型统计

摘要:解题思路:因为有四种类型的字符需要统计,所以我们可以建立四个累加器来计算,同时运用for语句扫遍字符串,用if语句判断四种类型(islower(s[i])||isupper(s[i]),isdigit……

c++格子刷油漆

摘要:解题思路:https://www.freesion.com/article/4385447958/参考代码:#include<iostream> using namespace std; int ……

字符串拷贝

摘要: #include #include #define Max 1000 char * Copy(char A[Max],char B[Max] ,i……

我的笨蛋方法

摘要:```c #include #define Max 1000 int main(){ int n,num[Max]; scanf("%d",&n); int i; for(i=……