結果

問題 No.1476 esreveR dna esreveR
ユーザー Super SolenoidSuper Solenoid
提出日時 2021-05-01 19:22:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 78 bytes
コンパイル時間 108 ms
コンパイル使用メモリ 10,564 KB
実行使用メモリ 22,680 KB
最終ジャッジ日時 2023-09-27 08:36:03
合計ジャッジ時間 4,054 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
12,312 KB
testcase_01 WA -
testcase_02 TLE -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import ceil
N = int(input())
print((6**ceil((N-1)/2)+N%2)%998244353)
0