結果
問題 | No.1277 級数入り級数 |
ユーザー |
![]() |
提出日時 | 2021-04-02 00:51:48 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 117 ms / 2,000 ms |
コード長 | 115 bytes |
コンパイル時間 | 413 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 57,600 KB |
最終ジャッジ日時 | 2024-12-21 08:36:54 |
合計ジャッジ時間 | 5,987 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 50 |
ソースコード
n = int(input()) mod = int(1e9) + 7 f = 1 for i in range(n): f = (f * (i + 1)) % mod print(1) print(f) print(n)