結果

問題 No.167 N^M mod 10
ユーザー ntuda
提出日時 2024-01-05 13:11:14
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 62 bytes
コンパイル時間 244 ms
コンパイル使用メモリ 82,452 KB
実行使用メモリ 53,284 KB
最終ジャッジ日時 2024-09-27 19:02:22
合計ジャッジ時間 2,069 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 21 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input()[-1])
M = int(input()[-2:])
print(pow(N,M,10))
0