結果

問題 No.167 N^M mod 10
ユーザー dango
提出日時 2023-06-15 21:48:08
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 60 bytes
コンパイル時間 311 ms
コンパイル使用メモリ 82,364 KB
実行使用メモリ 54,024 KB
最終ジャッジ日時 2024-06-23 19:29:55
合計ジャッジ時間 2,520 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 14 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input()[-1])
M = int(input()[-1])
print(N ** M % 10)
0