結果
| 問題 |
No.167 N^M mod 10
|
| コンテスト | |
| ユーザー |
d2verb
|
| 提出日時 | 2015-05-05 12:42:33 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 83 bytes |
| コンパイル時間 | 569 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-05 19:07:52 |
| 合計ジャッジ時間 | 1,232 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 19 WA * 8 |
ソースコード
N = raw_input() M = raw_input() N = int(N) M = int(M) % 4 ANS = N**M % 10 print ANS
d2verb