結果
問題 | No.523 LED |
ユーザー |
![]() |
提出日時 | 2021-02-01 04:31:50 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 169 ms / 2,000 ms |
コード長 | 171 bytes |
コンパイル時間 | 221 ms |
コンパイル使用メモリ | 81,904 KB |
実行使用メモリ | 59,304 KB |
最終ジャッジ日時 | 2024-06-29 22:46:41 |
合計ジャッジ時間 | 2,729 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
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), m - 2, m) result %= m print(result)