Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102474 吴梓玄 13求n的阶乘 C Wrong Answer 1 MS 200 KB 189 2024-12-21 17:09:20

Tests(0/10):


Code:

#include <stdio.h> int main() { int a,s=1; scanf("%d",&a); if (a=0){ printf("%d",1); } else{ for(int i=1;i<=a;++i){ s=s*i; } printf("%d",s); } return 0; }


Run Info:

------Input------
11
------Answer-----
39916800
------Your output-----
1