题解列表
自定义函数之字符串拷贝
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char str1[100],str2[100]; int m, n,i,j; scanf("%d", &n);……
getchar解决问题
摘要:解题思路:先输入再用字符比较注意事项:i与j的比较参考代码:#include <stdio.h>int main(){ int word = 0, number = 0, tab = 0, other……
题解 1120: C语言训练-"水仙花数"问题2
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c; for(int i=100;i<100……
汉诺塔(python)
摘要:解题思路:注意事项:参考代码:def hanoi(n, a, b, c): if n > 0: hanoi(n - 1, a, c, b) print('mo……