結果

問題 No.2079 aaabbc
ユーザー terasa
提出日時 2022-09-28 19:57:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 520 bytes
コンパイル時間 820 ms
コンパイル使用メモリ 82,312 KB
実行使用メモリ 55,680 KB
最終ジャッジ日時 2024-12-22 17:44:41
合計ジャッジ時間 1,856 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

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