結果
| 問題 | No.500 階乗電卓 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-04-09 16:21:41 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 135 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 80,260 KB |
| 実行使用メモリ | 300,612 KB |
| 最終ジャッジ日時 | 2026-07-18 12:47:42 |
| 合計ジャッジ時間 | 7,175 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | TLE * 1 -- * 19 |
ソースコード
#yuki_500 import math n=int(raw_input()) res=math.factorial(n) if res<10**12: print res else: res2=res%10**12 print "%012d" % res2