Problem:


A/B Problem

Write a program which reads two integers a and b, and calculates the following values:

  
a &divide; b:  d (in integer)

  
remainder of a &divide; b:  r (in integer)

  
a &divide; b:  f (in real number)

Input

Two integers a and b are given in a line.

Output

Print d, r and f separated by a space in a line. For f, the output should not contain an absolute error greater than 10-5.

Constraints

  
 1 ≤ a, b ≤ 109

Sample Input 1

3 2

Sample Output 1

1 1 1.50000



Sample input:
3 2


Sample output:
1 1 1.50000

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(f'{a//b} {a%b} {a/b:.5f}')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(int(a/b),a%b,f"{a/b:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a//b,a%b,f'{a/b:.05f}')

Submission status: Accepted

Solution code:
a, b = map(int, input().split()) 

d=a//b

r=a%b

f=a/b

print(str(d)+' '+str(r)+' '+"{:.8f}".format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

d=a//b
r=a%b
f=a/b

print('{0} {1} {2:.5f}'.format(d,r,f))

Submission status: Accepted

Solution code:
a , b = map(int, input().split()) 

d = int(a / b)
r = a % b
f = (a / b)

print( d , r , '{:.5f}'.format(f) )

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(f'{a // b} {a % b} {a / ｂ:.8f}')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(a // b, a % b, '{:.10f}'.format(a / b))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print("{} {} {:.10f}".format(d, r, f))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

d = a // b
r = a % b
ff = a / b
print(f"{d} {r} {ff:.5f}")

Submission status: Accepted

Solution code:
a, b = (int(x) for x in input().split())
a_b = a//b
print("{} {} {:.6f}".format(a//b, a%b, a/b))

Submission status: Accepted

Solution code:
from decimal import Decimal
a,b = map(int,input().split())
print("{} {} {:.8f}".format(a//b,a%b,float(a/b)))

Submission status: Accepted

Solution code:
a, b = map(int, input().split(" "))
ans1 = a // b
ans2 = a % b
ans3 = a / b

print(f"{ans1} {ans2} {ans3: .7f}")

Submission status: Accepted

Solution code:
import decimal
a,b = map(int,input().split(" "))
d = a // b
r = a % b
f = '{:.15f}'.format(a/b)
print(d,r,f)

Submission status: Accepted

Solution code:
import sys

a, b = map(int, input().split())
print(f"{a // b} {a % b} {a / b:.10f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
x = a // b
y = a % b
z = a / b

print('{} {} {:.5f}'.format(x,y,z))

Submission status: Accepted

Solution code:
# coding: utf-8

a,b = (int(x) for x in input().strip().split())
    
d = int(a / b)
r = a % b
temp = a / b
f = f"{temp:.5f}"

print(str(d) + " " + str(r) + " " + str(f))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
w = a//b
A = a%b
s = a/b
print(w,A,"{:.5f}".format(s))

Submission status: Accepted

Solution code:
import math
a ,b = map(int, input().split(' '))
d = a // b
r = a % b
f = a / b
n = 5
x = f
y = math.floor(x * 10 ** n) / (10 ** n)
print(d,r,y)

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
print(int(a // b), int(a % b), f"{a /b:.5f}")

Submission status: Accepted

Solution code:
import sys
from decimal import Decimal

input = sys.stdin.readline

def main():
    a,b = map(int, input().split())
    
    s = int(a//b)
    r = int(a%b)
    f = Decimal(a/b)
    
    print(s,r,'{:.8f}'.format(f))
    
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(f'{a//b} {a%b} {a/b:.5f}')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if 1<=a<=10**9 and 1<=b<=10**9:
    d=a//b
    r=a%b
    f=a/b
    print(d,r,'{:.5f}'.format(f))
else:
    pass

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = int(a/b)
r = int(a%b)
f = a/b
print("{0} {1} {2:.5f}".format(d, r, f))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

d = a // b
r = a % b
f = a / b

print("{0} {1} {2:.5f}".format(d, r, f))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

d, r = divmod(a, b)
f = '{:.5f}'.format(a / b)

print(d, r, f)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print("%d %d %.5f" %(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(d,r,'{:.5f}'.format(f))

Submission status: Accepted

Solution code:
def calculate():
    n,m=tuple(map(int,input().split()))
    
    i=int(float(n)/float(m))
    j=n%m
    k=float(n)/float(m)
    
    return i,j,k


a,b,c=calculate()


print(a,b,"{:.30f}".format(c))

#print("{10} {b} {c:.20g}")

#print(a," ",b," ",c)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print('{} {} {:.10f}'.format(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f="{:.5f}".format(a/b)
print(d,r,f)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a//b, a%b, "{:.10f}".format(float(a/b)))

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
d = int(a/b)
r = int(a%b)
f = float(a/b)

print(d,r,format(f,'.5f'))

Submission status: Accepted

Solution code:
a,b=[int(x) for x in input().split()]
print(a//b,a%b,f"{a/b:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
print(a//b, a%b, '{:.6f}'.format(a/b))

Submission status: Accepted

Solution code:
a, b = list(map(int, input().split()))

d, r = divmod(a, b)
f = a / b

print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a // b)
print(a % b)
print(f'{a/b:5f}')

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
x = a //b
y = a % b
z = a / b
print(f"{x} {y} {z:.5f}")

Submission status: Accepted

Solution code:
a,b=map(int, input().split())
print(a//b,a%b,f"{a/b:.6f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(f"{d} {r} {f:5f}")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

d = a // b
r = a % b
f = '{:.5f}'.format(a / b)

print(d, r, f)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(a//b, a%b, format(a/b, '.5f'))

Submission status: Accepted

Solution code:
#12 A / B Problem
a,b = map(int,input().split())
x,y,z = int(a//b),int(a%b),'{0:.8f}'.format(a/b)
print(x,y,z)

Submission status: Accepted

Solution code:
a,b=map(int, input().split())
print(a//b, a%b, "{0:.5f}".format(a/b))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(int(a/b),int(a%b),"{:.6f}".format(a/b))

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
d = a//b
r = a%b
f = a/b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b = map(int,input().split())


print(a//b,a%b,'{:.5f}'.format(a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=(a//b)
r=(a%b)
f=(float(a/b))
print(f'{d} {r} {f:.05f}')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

print(int(a/b), a%b, '{:.5f}'.format(a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=int(a//b)
r=int(a%b)
f='{:.5f}'.format(a/b)
print(d,r,f)

Submission status: Accepted

Solution code:
a,b=(int(x) for x in input().split())

print(f"{(a//b)} {(a%b)} {(a/b):.5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print('%d %d %.6f'%(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b

print(f'{d} {r} {f:.5f}')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print("{0} {1} {2:.8f}".format(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

f = a / b
r = a % b
print(int(f),r,'{:.10f}'.format(f))

Submission status: Accepted

Solution code:
a, b=map(int, input().split())

print(int(a//b), int(a%b), "{:.5f}".format(a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(a//b,a%b,f'{(a/b):.6f}')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
c=a//b
d=a%b
e=a/b
print(c,d,"{0:5f}".format(e))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

a,b=map(int,input().split())
d = a//b
r = a%b
f = a/b

print(d,r,"{0:.5f}".format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d = a//b
r = a%b
f = a/b
print(d, r,"{0:.5f}".format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=int(a%b)
f=a/b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = a//b
r = a-(b*d)
f = a/b
print(d,r,'{:.05f}'.format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print("{0} {1} {2:.5f}".format(d,r,f))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = a//b
r = a-(b*d)
f = a/b
print(d,r,'{:.05f}'.format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

d=a//b
r=a%b
f=a/b

print(d,r,'{:.5f}'.format(f))

Submission status: Accepted

Solution code:
i = input()
a, b = map(int, i.split())
print(a // b, a % b, round(float(a / b), 5))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

print(a//b, end=" ")
print(a%b, end=" ")
print(f'{(a/b):.10f}')

Submission status: Accepted

Solution code:
x,y = map(int,input().split())
print(x // y,x % y,'{:.5f}'.format(x / y))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d=a//b
r=a%b
f=f'{a/b:.05f}'
print(d,r,f)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
x = a//b
y = a%b
z = a/b
print(x , y , f'{z:.5f}')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

print(a//b,a%b,format(a/b,'.5f'))

Submission status: Accepted

Solution code:
a,b =map(int,input().split())

d=a//b
r=a%b
f=float(a/b)
print('{} {} {:.5f}'.format(d,r,f))

Submission status: Accepted

Solution code:
a,b = map(int, input().split())

d = a//b
r = a%b
f = a/b

print("{0} {1} {2:.9f}".format(d, r, f))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a//b,a%b,'{:.5f}'.format(a/b))

Submission status: Accepted

Solution code:
x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
c=a//b
d=a%b
e=a/b
print(c,d,"{0:.5f}".format(e))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = a // b
r = a % b
f = float(a / b)
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a,b=(int(x) for x in input().split())
d=int(a/b)
r=a%b
f=format(a/b,'>20f')
print(d,r,f)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = a//b
r = a%b
f = a/b
print("%d %r %.6f" %(d,r,f))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print('{0} {1} {2:8f}'.format(a // b, a % b, a / b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(a//b,a%b,f"{a/b:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = a//b
r = a%b
f = a/b
print(d,r,f"{f:.5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(f"{d} {r} {f:.05f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(d, r,'{:.5f}'.format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(f'{a//b} {a%b} {a/b:8.5f}')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())


def func(a, b):
    return a // b, a % b,  a / b


d, r, f = func(a, b)


print(f'{d} {r} {f:.5f}')

Submission status: Accepted

Solution code:
def division(a, b):
   return float(a / b)

def div_rest(a, b):
    return a % b

def div_result(a, b):
    return a//b

a, b = map(int, input().split())

result = div_result(a,b)
rest = div_rest(a,b)
x = division(a,b)
print(result, rest, '%.10f' % x)

Submission status: Accepted

Solution code:
a, b = map(int,input().split())

print("{0} {1} {2:.7f}".format(a//b, a%b, a/b))

Submission status: Accepted

Solution code:
a,b,=map(int,input().split())
print(a//b,a%b,'{:.5f}'.format(a/b))

Submission status: Accepted

Solution code:
ii = lambda:int(input())
mi = lambda:list(map(int,input().split()))
ix = lambda x:list(input() for _ in range(x))
mix = lambda x:list(mi() for _ in range(x))
iix = lambda x:list(int(input()) for _ in range(x))
##########
def a():
    a,b = mi()
    d,r = divmod(a,b)
    f = a/b
    print(f"{d} {r} {format(f,'.7f')}")

def resolve():
    a()

if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# coding: utf-8
a,b= map(int,input().split())

print('{} {} {:5f}'.format(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a//b, a%b, f'{a/b:.5f}')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=int(a/b)
r=int(a%b)
f=float(a/b)
print(d,r,f'{f:.5f}')

Submission status: Accepted

Solution code:
(a , b)=map(int,input().split())
d = int(a//b)
r = int(a%b)
f = float(a/b)
print(d , r , '{:.5f}'.format(f))

Submission status: Accepted

Solution code:
s = input().split()
a = int(s[0])
b = int(s[1])
print(a//b,a%b,"{:.5f}".format(a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=f'{a/b:.5f}'
print(d,r,f)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

print("{0} {1} {2:6f}".format(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(f'{d} {r} {f:.6f}')

Submission status: Accepted

Solution code:

a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(f'{d} {r} {f:.6f}')

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
import math
a,b=map(int,input().split()) 
r=a%b
d=(a-r)/b

f=float(a/b)


print(math.floor(d),r,f"{f:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
d = int(a/b)
r = int(a%b)
f = float(a/b)
print(d, r, f"{f:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

num1 = a//b
num2 = a%b
num3 = a/b

print('%d %d {:.5f}'.format(num3)%(num1, num2))

Submission status: Accepted

Solution code:
import operator
from decimal import *
a, b = map(int, input().split())
print(operator.floordiv(a, b), end=' ')
print(operator.mod(a, b), end=' ')
print(Decimal(operator.truediv(a, b)).quantize(Decimal('.00001')))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=float(a/b)
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b=map(int,input().split())
print(a//b,a%b,"{:.5f}".format(a/b))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
q = a//b
mod = a%b
val = a/b
print(q,mod,'{:.5f}'.format(val))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(int(a/b),a%b,'{:.5f}'.format(a/b))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b=map(int,input().split())
print(a//b,a%b,f"{a/b:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = int(a/b)
r = a%b
f = float(a) / float(b)
print("{} {} {:.5f}".format(d,r,f))

Submission status: Accepted

Solution code:
import operator


def div3(a, b):
    return operator.floordiv(a, b), operator.mod(a,  b), a / b


if __name__ == '__main__':
    a, b = (int(i) for i in input().split())
    ans1, ans2, ans3 = div3(a, b)
    print(ans1, ans2, '{:.5f}'.format(ans3))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = a // b
r = a % b
f = a / b
print(f'{d} {r} {f:6.5f}')

Submission status: Accepted

Solution code:
a, b, = map(int,input().split())

d = a//b
r = a%b
f = float(a/b)

print(d, r, '{:.5f}'.format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(a//b,a%b,f'{a/b:.05f}')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

print(a//b, a%b, '{:.5f}'.format(a/b))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

d = a//b
r = a%b
f = float(a/b)

print(d,r,'{:.5f}'.format(f))

Submission status: Accepted

Solution code:
a , b = map (int , input() . split())
print( a//b )
print( a-b*(a//b) )
print("{:.5f}".format(a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

d=a//b
r=a%b
f=float(a/b)



print(f"{d} {r} {f:.05f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a//b,' ',a%b,' ',f"{a/b:.5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

x=a//b
y=a%b
z=float(a/b)

print(f"{x} {y} {z:.05f}")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

d = int(a/b)
r = a%b
f = a/b

print("{0} {1} {2:.10f}".format(d, r, f))

Submission status: Accepted

Solution code:
l = input().split()
a = int(l[0])
b = int(l[1])
print(f"{a//b} {a%b} {a/b:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int, input().split())

print('%d %d %.5f'%(a/b, a%b, a/b))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
1 <= a,b <= 10**9
x = a // b
y = a % b
z = a / b
print(f"{x} {y} {z: .5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=float(a/b)
print("{0} {1} {2:.5f}".format(d,r,f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=int(a//b)
r=int(a%b)
f=float(a/b)
print(d,r,"{:.5f}".format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(a//b,a%b,"{0:.5f}".format(a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(f'{d} {r} {f:5f}')

Submission status: Accepted

Solution code:
a,b=(int(x) for x in input().split())

if 1<=a and b<=10**9:
   d=int(a/b)
   r=a%b
   f=f'{a/b:5f}'
   print(str(d),str(r),str(f))
else:
   pass

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print("%d %d %f" %(a/b, a%b, a/b))

Submission status: Accepted

Solution code:
a,b=(int(x)for x in input().split())

print(
    round(
        (a//b)
        ),end=' '
        
    )


print(
    round(
        a%b
        ),end=' '
        
    )


print(
    format(
    a/b,'.5f'
        )
    )

Submission status: Accepted

Solution code:
a,b=raw_input().split()

A=int(a)
B=int(b)

d=int(A/B)
r=int(A%B)
f=(float(A)/float(B))

print('%d %d %f'%(d,r,f))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(a // b, a % b, f'{a/b:.05f}')

Submission status: Accepted

Solution code:
a, b = (int(i) for i in input().split())
d = int(a/b)
r = a%b
f = float(a/b)
print(d, r, '{:.8f}'.format(f))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

a, b = map(int, input().split())
d = int(a / b)
r = a % b
f = (a / b)
print(d, r, '{:.5f}'.format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(f"{d} {r} {f:6.5f}")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d=a//b
r=a%b
f=float(a)/b
print(d,r,'{:.5f}'.format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(f'{d} {r} {f:1.05f}')

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

print(a//b,a%b,"{:.5f}".format(a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

d=int(a//b)
r=int(a%b)
f=(a/b)

print(d,r,"{:.5f}".format(f))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

print("%d %d %.10f"%(a/b, a%b, a/b))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = a // b
r = a % b
f = f'{a/b:5f}'
print(d, r, f)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=int(a%b)
f=a/b

print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if b != 0:
    print(a // b, a % b, "{:.5f}".format(a / b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=int(a//b)
r=int(a%b)
f=a/b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=int(a/b)
r=int(a%b)
f=float(a/b)
print(f'{d} {r} {f:5f}')

Submission status: Accepted

Solution code:
import math

a,b=map(int,input().split())
d=a//b
r=int(a%b)
f=a/b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:

a,b=map(int,input().split())

d=a//b
r=a%b
f=a/b

print('{0} {1} {2:9.5f}'.format(d,r,f))

Submission status: Accepted

Solution code:
a,b =map(int,input().split())

d=a//b
r=a%b
f=a/b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(int(a//b),int(a%b),format(a/b,'.5f'))

Submission status: Accepted

Solution code:
a, b = (int(x) for x in input().split())

d = a//b
r = a%b
f = a/b

print('{0} {1} {2:6.5f}'.format(d,r,f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=int(a%b)
f=a/b
print(f'{d} {r} {f:.05f}')

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = int(a/b)
r = a%b
f = float(a/b)
print(d,r,"{0:.5f}".format(f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(int(a/b),int(a%b),f"{a/b:.6f}")

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
d = a//b
r = a%b
f = a/b

line="{0} {1} {2:.5f}".format(d,r,f)
print(line)

Submission status: Accepted

Solution code:
a,b = [int(i) for i in input().split()]
print(a//b,a%b,f"{a/b:.08f}")

Submission status: Accepted

Solution code:
a,b=input().split()
a=int(a)
b=int(b)
c=a/b
print(a//b,a%b,end=' ')
print('{:.06f}'.format(c))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

d = int(a // b)
f = int(a % b)
r  = float(a / b)

print(f"{d} {f} {r:.5f}")

Submission status: Accepted

Solution code:
a,b=(int(x) for x in input().split())
d=(a//b)
r=a%b
f="{:.5f}".format(a/b)
print(d,r,f)

Submission status: Accepted

Solution code:
a, b = [int(arg) for arg in input().split()]
print(int(a/b), a%b, round(a/b, 5))

Submission status: Accepted

Solution code:
a,b=map(int,input().split());print(a//b,a%b,f'{a/b:f}')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(f'{d} {r} {f:.5f}')

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
answer1 = a//b
answer2 = a % b
answer3 = a / b
print(str(answer1) + ' ' + str(answer2) + ' ' + str('{:.5f}'.format(answer3)))

Submission status: Accepted

Solution code:
def test_case():
    a, b = map(int, input().split())
    d = int(a / b)
    r = int(a % b)
    f = float(a) / float(b)
    print("{0} {1} {2:.8f}".format(d, r, f))


if __name__ == "__main__":
    test_case()

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
d = int(a//b)
r = int(a%b)
f = float(a/b)
print("{0} {1} {2:.5f}".format(d, r, f))

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
import math
d = math.floor(a/b)
r = math.floor(a%b)
f = ("{:.5f}".format(a/b))
print(d,r,f)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
import math
a,b=map(int,input().split())

d=a//b
r=a%b
f=a/b

print(f'{d:d} {r:d} {f:.5f}')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

d = a // b
r = a % b
f = a / b

print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

d = a // b
r = a % b
f = a / b

print(f'{d} {r} {f:.05f}')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

print(a//b, a%b, round(a/b,6))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b=map(int,input().split())

c = int(a/b)
d = int(a%b)
e = float(a/b)

print(c,d,'%f'%e)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = a // b
r = a % b
f = a / b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
x = a//b
y = a%b
z = a/b
print(x, y,'{:.5f}'.format(z))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = a//b
r = a%b
f= float(a)/b
print(d , r ,'{:.5f}'.format(f))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

a, b = map(int, input().split())
d = int(a / b)
r = a % b
f = (a / b)
print(d, r, '{:.5f}'.format(f))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = a//b
r = a%b
f = a/b

print('{} {} {:.10f}'.format(d,r,f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

x=a//b
y=a%b
z=a/b

print(x, y, f'{z:.5f}')

Submission status: Accepted

Solution code:
a , b = map(int,input().split())
d = a // b
r = a % b
f = a / b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=int(a/b)
r=int(a-b*d)
f=a/b
print(d,r,'{:.5f}'.format(f))

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
print(str(a//b) + " " + str(a%b) + " " + str("{:.5f}".format(a/b)))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
x = a // b
y = a % b
z = a / b
print(f"{x} {y} {z:.5f}")

Submission status: Accepted

Solution code:
# https://onlinejudge.u-aizu.ac.jp/courses/lesson/2/ITP1/4/ITP1_4_A


def main():
    a, b = (int(e) for e in input().split())
    d = int(a / b)
    r = a % b
    f = a / b
    print(f"{d} {r} {f:.5f}")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a, b = map(int, input().split())


def divi_list(a, b):
    return f'{a // b} {a % b} {a / b:.5f}'


x = divi_list(a, b)
print(x)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
x=divmod(a,b)
print(x[0],x[1],format(a/b,'.5f'))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d=int(a/b)
r=int(a%b)
f=a/b
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
d = a//b
r = a%b
f = a/b
print("{0} {1} {2:.8f} ".format(d, r, f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
c=a//b
d=a%b
e=a/b
print(c,d,f"{e:.05f}")

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
c = a // b
d = a % b
e = a / b
print("%d %d %.5f" %(c, d, e))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print("%d %d %.10f"%(d, r, f))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

print("%d %d %.5f"%(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a , b = map(int , input() . split())
d = a // b
r = a % b
f = a / b

print(d , r , format(f , '.9f'))

Submission status: Accepted

Solution code:
a,b = list(map(int, input().split()))
print(a//b, a%b,"%8f"%(a/b))

Submission status: Accepted

Solution code:
def main():
    a, b = map(int, input().split())
    d = a // b
    r = a % b
    f = a / b
    print(f"{d} {r} {f:.5f}")
    return 0


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

d = a//b
r = a%b
f = a/b
print("{} {} {:f}".format(d, r, f))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = a // b
r = a % b
f = a / b
print("%d %d %.5f" %(d,r,f))

Submission status: Accepted

Solution code:

a,b=input().split()
a=int(a)
b=int(b)
c=a//b
d=a%b
e=a/b
print(f"{c} {d} {e:.5f}")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

d=int(a/b)
r=int(a%b)
f=a/b

print(d, r, "{:.5f}".format(f))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(f'{d} {r} {f:.5f}')

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
print(int(a/b),int(a%b),'{:.5f}'.format(a/b))

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
print(a//b, a%b, f'{a/b:.10f}')

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

print(a//b, a%b,"{0:.5f}".format(a/b))

Submission status: Accepted

Solution code:
a,b=(int(x) for x in input().split())
print(f'{a//b} {a%b} {a/b:5f}')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print("%d %d %.5f" %(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a, b = map(float, input().split())
print(int(a // b), int(a % b), format(a / b, '.20f'))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(a//b,a%b,f'{a/b:.5f}')

Submission status: Accepted

Solution code:
a, b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print("{0} {1} {2:5f}".format(d, r ,f))

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
d = a//b
r = a%b
f = a/b
print("{0} {1} {2:.5f}".format(d,r,f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if 1<=a<=10**9 and 1<=b<=10**9:
    d=a//b
    r=a%b
    f=a/b

    print(d,r,'{:.5f}'.format(f))
else:
    pass

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if 1<=a<=10**9 and 1<=b<=10**9:
    d=a//b
    r=a%b
    f=a/b
    print(d,r,'{:.5f}'.format(f))

Submission status: Accepted

Solution code:
a,b=[int(x) for x in input().split()]
print("{0} {1} {2:.5f}".format(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print('{} {} {:.5f}'.format(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b

print(f'{d} {r} {f:8.5f}')

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
def d(a, b):
    D = a // b
    return D
def r(a, b):
    R = a % b
    return R
def f(a, b):
    F = a / b
    return F
print('{0} {1} {2:.5f}'.format(d(a, b), r(a, b), f(a, b)))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print(d,r,'{:.05f}'.format(f))

Submission status: Accepted

Solution code:
a, b = map(float, input().split())

d = int(a/b)
r = int(a%b)
f = format(float(a/b),'.5f')

print('{} {} {}'.format(d,r,f))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

d=int(a/b)
r=int(a%b)
f=float(a/b)





print(d,end=' ')
print(r,end=' ')
print('{:.5f}'.format(f))

Submission status: Accepted

Solution code:
def main():
    a,b=map(int,input().split())
    print(a//b,a%b,"{0:.5f}".format(a/b))
 
 
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a,b = input().split()
d=int(int(a)/int(b))
r=int(int(a)%int(b))
f=int(a)/int(b)
print(f"{d} {r} {f:.5f}")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(f"{d} {r} {f:.8f}")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = int(a / b)
r = a % b
f = a / b
print('{0:d} {1:d} {2:.5f}'.format(d, r, f))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b=map(int,input().split())
print(a//b,a%b,'{:.5f}'.format(a/b))