結果
| 問題 | No.2613 Sum of Combination |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-20 02:06:58 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 116 bytes |
| 記録 | |
| コンパイル時間 | 92 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 21,248 KB |
| 最終ジャッジ日時 | 2024-09-28 05:22:40 |
| 合計ジャッジ時間 | 11,674 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 1 -- * 2 |
| other | -- * 49 |
ソースコード
N, P = map(int, input().split()) mod = 992844353 ans = 1 while N : ans *= pow(2, N % P, mod) ans %= mod print(ans)