题解列表

筛选

Tom数 (C语言代码)

摘要:解题思路:注意事项:参考代码:编译错误#include<stdio.h>int fac(unsigned int n, int s = 0){    s += n % 10;    n /= 10; ……

去掉空格 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[81]; while(gets(a)) { for(int i=0;a[i]!=&#39;\0&……

打印平行四边形 (C语言代码)

摘要:解题思路:先找到前面空格个数的规律注意事项:参考代码:#include<stdio.h>int main(){    int n;    scanf("%d",&n);    for(int i=1;……