题解列表

筛选

c语言大一新生

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>/* run this program using the consol……

用数组进行数字逆序输出

摘要:解题思路:非常简单的用两个循环将数组输入与输出出来注意事项:用空格将打印输出的数组隔开参考代码:#include<stdio.h>int main(){ int arr[10]; int ……

1147:角谷猜想

摘要:解题思路:注意事项:参考代码: 方法一:#include<stdio.h>int main(){ int num; scanf("%d&quo……

[编程入门]三个字符串的排序

摘要:解题思路:注意事项:如果使用strcmp感觉只能用冒泡排序了,初始化字符串时可以用一维的字符串指针数组储存,用二维字符串数组也行。参考代码:#include <stdio.h>#inclu……