結果
| 問題 | No.1476 esreveR dna esreveR |
| コンテスト | |
| ユーザー |
terry_u16
|
| 提出日時 | 2021-04-16 20:36:21 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 60 ms / 2,000 ms |
| + 263µs | |
| コード長 | 236 bytes |
| 記録 | |
| コンパイル時間 | 224 ms |
| コンパイル使用メモリ | 95,980 KB |
| 実行使用メモリ | 78,592 KB |
| 最終ジャッジ日時 | 2026-08-04 07:18:45 |
| 合計ジャッジ時間 | 1,621 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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