結果
| 問題 | No.502 階乗を計算するだけ |
| コンテスト | |
| ユーザー |
Justinlam33
|
| 提出日時 | 2017-04-13 16:35:09 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 103 bytes |
| 記録 | |
| コンパイル時間 | 482 ms |
| コンパイル使用メモリ | 20,676 KB |
| 実行使用メモリ | 28,644 KB |
| 最終ジャッジ日時 | 2026-04-02 05:51:36 |
| 合計ジャッジ時間 | 7,350 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 32 TLE * 1 -- * 19 |
ソースコード
n=int(input()) if n<1000000007: x=1 for i in range(2,n+1): x*=i x%=1000000007 else: x=0 print(x)
Justinlam33