結果
問題 |
No.167 N^M mod 10
|
ユーザー |
![]() |
提出日時 | 2015-05-05 12:47:40 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 86 bytes |
コンパイル時間 | 47 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 8,016 KB |
最終ジャッジ日時 | 2024-07-05 19:07:58 |
合計ジャッジ時間 | 1,999 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 21 WA * 6 |
ソースコード
N = raw_input() M = raw_input() N = int(N) M = int(M) % 100 ANS = N**M % 10 print ANS