結果
| 問題 | No.167 N^M mod 10 |
| コンテスト | |
| ユーザー |
ixmel
|
| 提出日時 | 2017-03-31 18:28:02 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 83 bytes |
| 記録 | |
| コンパイル時間 | 366 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 23,336 KB |
| 最終ジャッジ日時 | 2026-03-28 19:19:26 |
| 合計ジャッジ時間 | 2,879 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 2 |
| other | AC * 1 TLE * 1 -- * 25 |
ソースコード
n=int(input()) m=int(input()) out=1 n%=10 for i in range(m):out=out*n%10 print(out)
ixmel