Submission #1971774


Source Code Expand

n = int(input())
p = 1
for i in range(1, n+1):
   p = p * i
print(p%(10**9+7))

Submission Info

Submission Time
Task B - Training Camp
User longhill
Language Python (3.4.3)
Score 0
Code Size 82 Byte
Status TLE
Exec Time 2104 ms
Memory 3460 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
AC × 2
TLE × 1
AC × 4
TLE × 3
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 17 ms 2940 KB
00_example_02.txt AC 17 ms 2940 KB
00_example_03.txt TLE 2104 ms 3460 KB
01.txt AC 18 ms 2940 KB
02.txt AC 17 ms 2940 KB
03.txt TLE 2104 ms 3456 KB
04.txt TLE 2103 ms 3460 KB