結果
| 問題 | No.167 N^M mod 10 |
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2015-08-14 13:04:08 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 86 bytes |
| 記録 | |
| コンパイル時間 | 160 ms |
| コンパイル使用メモリ | 77,460 KB |
| 最終ジャッジ日時 | 2025-12-03 16:11:30 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 2 |
| other | AC * 1 TLE * 1 -- * 25 |
ソースコード
N,M = input(),input() n = N % 10 ans = 1 for i in range(0,M): ans *= n print ans % 10
tookunn_1213