結果

問題 No.613 Solitude by the window
ユーザー RyutoRyuto
提出日時 2017-12-15 22:39:20
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 132 bytes
コンパイル時間 162 ms
コンパイル使用メモリ 82,004 KB
実行使用メモリ 134,912 KB
最終ジャッジ日時 2024-12-14 16:02:41
合計ジャッジ時間 67,458 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 TLE * 1
other TLE * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

indat = [int(x) for x in input().split()]

ans = 2 % indat[1]
for i in range(indat[0]):
    ans *= (ans + 4) % indat[1]

print(ans)
0