結果
| 問題 | 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 |
| 記録 | |
| コンパイル時間 | 284 ms |
| コンパイル使用メモリ | 21,288 KB |
| 実行使用メモリ | 15,612 KB |
| 最終ジャッジ日時 | 2026-08-01 16:18:16 |
| 合計ジャッジ時間 | 5,764 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)