Submission #1651829
Source Code Expand
N = int(input()) ans = 1 for i in range(1,N+1): ans = ans * i % (10**9 + 7) print(ans)
Submission Info
Submission Time | |
---|---|
Task | B - Training Camp |
User | gumpen7 |
Language | Python (3.4.3) |
Score | 200 |
Code Size | 95 Byte |
Status | AC |
Exec Time | 38 ms |
Memory | 2940 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 200 / 200 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 00_example_01.txt, 00_example_02.txt, 00_example_03.txt |
All | 00_example_01.txt, 00_example_02.txt, 00_example_03.txt, 01.txt, 02.txt, 03.txt, 04.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_example_01.txt | AC | 18 ms | 2940 KB |
00_example_02.txt | AC | 18 ms | 2940 KB |
00_example_03.txt | AC | 38 ms | 2940 KB |
01.txt | AC | 20 ms | 2940 KB |
02.txt | AC | 19 ms | 2940 KB |
03.txt | AC | 38 ms | 2940 KB |
04.txt | AC | 32 ms | 2940 KB |