题解列表

筛选

1055 二级C语言转换

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

九九乘法表

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

宏定义和函数找最大值

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

python解法(一行)

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

循环和if()语句

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

循环初始值的判断

摘要:解题思路:        将循环的初始值设为1,每次落地要增加的路程为上一次谈起的高度即代码中的n;路程的初始值设为100。注意事项:        循环开始时i的值为:“1”。参考代码:    #i……