結果
| 問題 |
No.167 N^M mod 10
|
| コンテスト | |
| ユーザー |
ixmel
|
| 提出日時 | 2017-03-31 18:28:02 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 83 bytes |
| コンパイル時間 | 276 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 16,128 KB |
| 最終ジャッジ日時 | 2024-07-07 04:45:20 |
| 合計ジャッジ時間 | 2,728 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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