結果

問題 No.2079 aaabbc
ユーザー terasaterasa
提出日時 2022-09-28 19:57:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 114 ms / 2,000 ms
コード長 520 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 87,244 KB
実行使用メモリ 73,252 KB
最終ジャッジ日時 2023-08-24 04:34:06
合計ジャッジ時間 3,195 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 108 ms
73,096 KB
testcase_01 AC 107 ms
73,000 KB
testcase_02 AC 107 ms
73,024 KB
testcase_03 AC 108 ms
72,908 KB
testcase_04 AC 106 ms
73,032 KB
testcase_05 AC 107 ms
73,032 KB
testcase_06 AC 114 ms
73,048 KB
testcase_07 AC 111 ms
72,924 KB
testcase_08 AC 114 ms
73,184 KB
testcase_09 AC 110 ms
73,024 KB
testcase_10 AC 110 ms
73,056 KB
testcase_11 AC 109 ms
72,848 KB
testcase_12 AC 106 ms
73,012 KB
testcase_13 AC 108 ms
73,000 KB
testcase_14 AC 110 ms
73,252 KB
testcase_15 AC 109 ms
73,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import deque
import sys
import pypyjit
import itertools
import heapq
import math
from collections import deque, defaultdict
from functools import lru_cache

# for AtCoder Easy test
if __file__ == 'prog.py':
    pass
else:
    sys.setrecursionlimit(10 ** 6)
pypyjit.set_param('max_unroll_recursion=-1')

input = sys.stdin.readline


def readints(): return map(int, input().split())
def readlist(): return list(readints())
def readstr(): return input()[:-1]


N = int(input())
print(pow(3, N, 998244353))
0