#41354: python


suyueh (suyueh)

學校 : 不指定學校
編號 : 272111
來源 : [125.228.45.241]
最後登入時間 :
2025-06-02 18:21:06

while True:
  try:
    a, b, c = map(int, input().split(' '))  
    rd = a*(10**c)//b  
    rs = str(rd)  
    if len(rs) < c:
      for i in range(c - len(rs)):
        rs = '0' + rs  
    m = rs[(c*-1):]      
    n = rs[:(c*-1)]      
    if n == '':
      n = '0'  
    print(f'{n}.{m}')
  except:
    break