| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 933 | 龚施宇 | 编程求n!=1*2*3*...*n | C++ | Accepted | 100 | 0 MS | 252 KB | 159 | 2019-09-23 20:23:43 |
#include<iostream> int main(){ int sum,n,m; sum=1; m=1; scanf("%d",&n); while(m<=n){ sum=sum*m; m=m+1; } printf("%d",sum); return 0; }