結果
| 問題 | No.1842 Decimal Point |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-18 22:23:15 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 191 bytes |
| 記録 | |
| コンパイル時間 | 472 ms |
| コンパイル使用メモリ | 20,420 KB |
| 実行使用メモリ | 30,300 KB |
| 最終ジャッジ日時 | 2026-03-18 20:13:34 |
| 合計ジャッジ時間 | 9,766 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 TLE * 3 |
ソースコード
t = int(input())
for _ in range(t):
a,b,c = map(int,input().split())
m = a*pow(10,c,b)%b;
for i in range(10):
if (a*pow(10,c,10*b)-m-b*i)%(10*b) == 0:
print(i)