結果
問題 |
No.500 階乗電卓
|
ユーザー |
|
提出日時 | 2020-08-29 12:49:20 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 203 bytes |
コンパイル時間 | 367 ms |
コンパイル使用メモリ | 82,212 KB |
実行使用メモリ | 53,572 KB |
最終ジャッジ日時 | 2024-11-14 05:36:33 |
合計ジャッジ時間 | 2,104 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
N = int(input()) if N >= 50: print('0' * 12) else: x = 1 for i in range(1, N + 1): x *= i x = str(x) print(x[max(-len(x), -12):])