結果
問題 | No.2193 メガの下1桁 |
ユーザー | shino16 |
提出日時 | 2022-09-30 23:01:28 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 172 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 10,648 KB |
実行使用メモリ | 20,312 KB |
最終ジャッジ日時 | 2023-08-26 02:28:16 |
合計ジャッジ時間 | 4,355 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
12,252 KB |
testcase_01 | AC | 15 ms
7,800 KB |
testcase_02 | AC | 14 ms
7,956 KB |
testcase_03 | AC | 15 ms
7,840 KB |
testcase_04 | AC | 15 ms
7,812 KB |
testcase_05 | AC | 15 ms
7,804 KB |
testcase_06 | AC | 15 ms
7,832 KB |
testcase_07 | AC | 15 ms
7,824 KB |
testcase_08 | AC | 16 ms
7,936 KB |
testcase_09 | AC | 15 ms
7,832 KB |
testcase_10 | AC | 15 ms
7,828 KB |
testcase_11 | AC | 37 ms
8,300 KB |
testcase_12 | AC | 14 ms
7,800 KB |
testcase_13 | AC | 15 ms
7,832 KB |
testcase_14 | AC | 15 ms
7,768 KB |
testcase_15 | AC | 15 ms
7,904 KB |
testcase_16 | AC | 15 ms
7,764 KB |
testcase_17 | AC | 14 ms
7,940 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 | -- | - |
ソースコード
# 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 % b == 10 else m % b)