2024-11-07 04:13:22
2024-11-07 08:43:05
第一题:
#include<stdio.h>
void main()
{
long s=1;
int x;
char a[100];
scanf("%s",a);
char*p = a;
for (int i = 0; i < sizeof(p)-1; i++)
{
x = (int)p[i] - 48;
s *= x;
}
printf("%ld\n",s);
}
2024-11-07 09:16:31
2024-11-07 13:28:31
嗯,谢谢