結果
| 問題 |
No.1842 Decimal Point
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-18 22:23:15 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 191 bytes |
| コンパイル時間 | 188 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 16,128 KB |
| 最終ジャッジ日時 | 2024-06-29 09:15:26 |
| 合計ジャッジ時間 | 5,104 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 TLE * 1 -- * 2 |
ソースコード
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)