結果
| 問題 | No.167 N^M mod 10 |
| コンテスト | |
| ユーザー |
_matumo_
|
| 提出日時 | 2019-07-09 13:22:10 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 94 bytes |
| 記録 | |
| コンパイル時間 | 56 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-09-14 09:07:13 |
| 合計ジャッジ時間 | 2,406 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 25 WA * 2 |
ソースコード
N=int('1'+('0'+input())[-2:])
M=int('1'+('0'+input())[-2:])
n=pow(N,M,10) if M else 1
print(n)
_matumo_