题解列表

筛选

循环和if()语句

摘要:解题思路:注意事项:参考代码:     #include<stdio.h>    int main () {         int x,n;         scanf("%d",&x);   

python解法(一行)

摘要:解题思路:\n用来换行注意事项:参考代码:print(&#39;**************************\nHello World!\n**************************……

宏定义和函数找最大值

摘要:解题思路:用三目运算符非常简单注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;#define max(a,b,c) (……

九九乘法表

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ for (int i = 1; i ……

1055 二级C语言转换

摘要:```c #include int main(){ int n; scanf("%d",&n); printf("%o",n); return 0; } ``````c ……

1251: 统计字母个数(hashMap解法 )

摘要: 蛮简单的一题,可以用数组来处理,也可以用hashmap处理(PS:本人比较喜欢直观一点吧),用hashmap处理就当做复习一下hashmap的使用方法吧。 `……