Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
710 | 陶俊宸 | 编程求n!=1*2*3*...*n | C++ | Accepted | 100 | 0 MS | 256 KB | 136 | 2019-09-21 17:03:45 |
#include<iostream> int main(){ int a=1,b=1,c; scanf("%d",&c); while(a<=c){ b=b*a; a++; } printf("%d",b); return 0; }