| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1176 | 李言 | 编程求n!=1*2*3*...*n | C++ | Accepted | 100 | 0 MS | 260 KB | 141 | 2019-10-05 16:16:30 |
#include<iostream> int main(){ int a,n; scanf("%d",&n); a=n-1; while(a>=1){ n=n*a; a=a-1; } printf("%d",n); return 0; }