| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 798 | 朱宸赋 | 编程求n!=1*2*3*...*n | C++ | Accepted | 100 | 0 MS | 252 KB | 144 | 2019-09-22 11:08:45 |
#include<iostream> int main(){ int n,sum=1,i=1; scanf("%d",&n); while(i<=n){ sum=sum*(i++); } printf("%d",sum); return 0; }