結果

問題 No.2193 メガの下1桁
ユーザー shino16shino16
提出日時 2022-09-30 23:00:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 174 bytes
コンパイル時間 229 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 20,220 KB
最終ジャッジ日時 2023-08-26 02:28:03
合計ジャッジ時間 4,470 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,332 KB
testcase_01 AC 15 ms
7,896 KB
testcase_02 AC 15 ms
7,908 KB
testcase_03 AC 15 ms
7,804 KB
testcase_04 AC 15 ms
7,900 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 15 ms
7,804 KB
testcase_10 AC 15 ms
7,948 KB
testcase_11 WA -
testcase_12 AC 15 ms
7,876 KB
testcase_13 AC 15 ms
7,900 KB
testcase_14 AC 15 ms
7,804 KB
testcase_15 AC 15 ms
7,792 KB
testcase_16 AC 15 ms
7,784 KB
testcase_17 AC 14 ms
7,952 KB
testcase_18 TLE -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
testcase_39 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

# naive (this should TLE)

m = int(input())
d = int(input())
r = int(input())
b = int(input())
for _ in range(r):
    m = (m + d) ** m
print('A' if m % 11 == 10 else m % 10)
0