题解列表

筛选

The 3n + 1 problem (C语言代码)

摘要:解题思路:好吧,承认自己英语阅读能力菜的抠脚,CE了两次,才发现这句话,you are to determine the maximum cycle length over all numbers b……

去掉空格 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10000],b[10000],i,j; while(gets……

C语言程序设计教程(第三版)课后习题3.7 (C语言代码)

摘要:解题思路:利用数组进行字符的转换。定义两个字符数组,利用循环给第一个数组输入要转换的字符串,然后对字符数组进行遍历,把数组a里面的所有字符加4赋给数组b,最后再利用循环遍历b数组,将b数组里面的字符转……

我美吗!

摘要:解题思路:注意事项:参考代码:#include "stdio.h" double fact(int n); double mypow(double x,int n); int main() {……

我美吗!

摘要:解题思路:注意事项:参考代码:#include "stdio.h" int ctof(int c); int main() {  int c;  for(c=-100;c<=150;c+=5……