結果
問題 | No.523 LED |
ユーザー |
![]() |
提出日時 | 2021-02-01 03:53:39 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 168 bytes |
コンパイル時間 | 110 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 17,312 KB |
最終ジャッジ日時 | 2024-06-29 22:39:34 |
合計ジャッジ時間 | 3,998 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 TLE * 1 -- * 19 |
ソースコード
m = 1000000007 N = int(input()) result = 1 for i in range(1, N * 2 + 1): result *= i result %= m result *= pow(pow(2, N, m), -1, m) result %= m print(result)