摘要: include <stdio.h> int main(){ int n; scanf("%d",&n); //定义两个数组,一个用乘法存n!,一个用加法存sum; int a[100]={0};int b[100]={0}; a[0]=1;b[0]=1; int i;int j; for(i=2;i 阅读全文
posted @ 2025-11-07 23:26 Wang040404 阅读(0) 评论(0) 推荐(0)
摘要: include <stdio.h> include <string.h> int main() { char s1[100],s2[100]; int a[101]={0}; int b[101]={0}; int c[102]={0}; //存入第一个字符数字 scanf("%s", s1); i 阅读全文
posted @ 2025-11-06 22:37 Wang040404 阅读(2) 评论(0) 推荐(0)