結果
| 問題 |
No.1476 esreveR dna esreveR
|
| コンテスト | |
| ユーザー |
👑 terry_u16
|
| 提出日時 | 2021-04-16 20:36:21 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 45 ms / 2,000 ms |
| コード長 | 236 bytes |
| コンパイル時間 | 355 ms |
| コンパイル使用メモリ | 82,188 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2024-07-02 23:00:44 |
| 合計ジャッジ時間 | 1,307 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 |
ソースコード
n: int = int(input()) // 2
mod: int = 998244353
current: int = 6
result: int = 1
for i in range(60):
if ((n >> i) & 1) > 0:
result *= current
result %= mod
current *= current
current %= mod
print(result)
terry_u16