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(str(a//b))
print(str(a%b))
print("%.5f" %(a/b))

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 = map(int,input().split())
print("{0} {1} {2}".format(a//b,a%b, format(a/b, ".10f")))

Submission status: Accepted

Solution code:
l = input().split()

a = int(l[0])
b = int(l[1])

fdiv = a / b
print(a // b,a % b,f'{fdiv:.7f}')

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:
import sys
import itertools

# import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

ans = 0
A = [int(i) for i in readline().split()]

print("%d %d %.10f" % (A[0] // A[1], A[0] % A[1], A[0] / A[1]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y = map(int,input().split())
d = int(x/y)
r = x%y
f = x/y
print(str(d)+" " + str(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('%d %d %.10f' % (d,r,f))

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
div, mod = divmod(a,b)
f = a/b
print('{} {} {:.9f}'.format(div, mod, f))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
a, b = map(int, input().split())
print(a // b)
print(a % b)
n = 6
x = math.floor(a / b * 10**n) / 10**n
print(x)

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:.8f}")

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())
print("%d %d %.10f"%(a/b,a%b,a/b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def truncate(n, decimals=5):
    multiplier = 10 ** decimals
    return int(n * multiplier) / multiplier
a, b = [int(x) for x in input().split()]
d = int(a / b)
r = int(a % b)
f = truncate(a / b)
print(d , r , f)

Submission status: Accepted

Solution code:
number = input().split()
a = int(number[0])
b = int(number[1])

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
import math

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

d = math.floor(a / b)
r = a % b
f = round(a / b, 5)

print(f"{d} {r} {f}")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

div_int = int(a / b)
mod = a % b
div = round(a / b, 5)

print(div_int, mod, div)

Submission status: Accepted

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

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,r,f = a//b, a%b, a/b
print("%d %d %.5f"%(d,r,f))

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a,b = map(int, raw_input().split())
print str(a/b)+" "+str(a%b)+" "+str("{0:.6f}".format(float(a)/float(b)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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())

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

Submission status: Accepted

Solution code:
def calc_division(a, b):
    d = a // b
    r = a % b
    f = a / b
    print("{0:d} {1:d} {2:0.5f}".format(d, r, f))


if __name__ == "__main__":
    param = input()
    param = param.split(" ")
    a = int(param[0])
    b = int(param[1])
    calc_division(a, b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(*[*divmod(a, b), format(a / b, ".6f")])

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print("{0} {1} {2:.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(d,r,f"{f:.6f}")

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:.6f}")

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:
from decimal import *

integers = list(map(int, input().split(" ")))
a = integers[0]
b = integers[1]

d = a // b
r = a % b
f = Decimal(str(a)) / Decimal(str(b))

print(d, r, f.quantize(Decimal("0.00001"),rounding=ROUND_HALF_UP))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num=input().split()
a=int(num[0])
b=int(num[1])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

def main():
    a,b=list(map(int,input().split()))
    print(a//b,a%b,format(a/b,".6f"))
main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def A_divide_B(a,b):
    d = int(a/b)
    r = int(a%b)
    f = round(float(a)/b,5)
    return d,r,f


def main():
    a, b= map(int, input().split())
    d,r,f = A_divide_B(a,b)
    print("%d %d %.5f"%(d,r,f))

if __name__ == "__main__":
    main()

Submission status: Accepted

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

print(a // b, end = " ")
print(a % b, end = " ")
print('%.5f'%(a / b))

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(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(a//b,a%b, f"{a/b:.5f}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = [int(i) for i in input().split()]
q, mod = divmod(a, b)
div = round(a/b, 5)

print("{} {} {}".format(q, mod, div))

Submission status: Accepted

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

a=int(a)
b=int(b)

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

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

Submission status: Accepted

Solution code:
Input = input().split()
A = int(Input[0])
B = int(Input[1])
d = int(A/B)
r = (A%B)
f =float(A)/float(B)
print("{0} {1} {2:.8f}".format(d,r,f))

Submission status: Accepted

Solution code:
a,b=list(map(int,input().split()))
f=a/b
if f < 1e-5:
    f = 0
print(a//b,a%b,f)

Submission status: Accepted

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

print(a // b, a % b, "%.6f"% (a / b))

Submission status: Accepted

Solution code:
a, b, *_ = map(int, input().split())
d = int(a / b)
r = a % b
f = round(a / b, 6)
print(f"{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:
i = input()
a,b = map(int, i.split())

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

Submission status: Accepted

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

d = a // b
r = a % b
f = (a * 10000000000 // b) / 10000000000
print("%d %d %.10f"% (d, r, f))

Submission status: Accepted

Solution code:
l = list(map(int, input().split()))
a,b = l[0],l[1]
c = a//b
d = a%b
e = a/b
print("%d %d %.10f"%(c, d, e))

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=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(a // b, a % b, '{:.5f}'.format(float(a) / float(b)))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

a, b = (int(x) for x in input().split())
d = math.floor(a/b)
r = a%b
f = a/b

print(d, r, end=" ")
print("%.8f" %f)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
arr=input().split()
for i,v in enumerate(arr):
    arr[i]=int(v)
d=arr[0]//arr[1]
r=arr[0]%arr[1]
f=arr[0]/arr[1]
print(d,r,'%.5f'%f)

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(str(a//b) + ' ' + str(a%b) + ' ' + '{:.5f}'.format(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 = [int(i) for i in 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())
c = int(a//b)
d = a%b
e = float(a/b)
print(f"{c} {d} {e:.5f}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = a // b
r = a % b
f = float(a)/float(b)
print('{} {} {:.8f}'.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("{0} {1} {2:.5f}".format(x, y, z))

Submission status: Accepted

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

Submission status: Accepted

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

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:
x = input().split(" ")
a = int(x[0])
b = int(x[1])

print(str(a//b)+" "+str(a%b)+" "+str(round((a/b),6)))

#小数点以下はround()で切り捨て

Submission status: Accepted

Solution code:
def main():
    a, b = (int(i) for i in input().split())
    print("{} {} {:.9f}".format(a//b,a%b,a/b))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

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:
import sys

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

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

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:
import math

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

ans1 = math.floor(a / b)
ans2 = a % b
ans3 = format(a / b,'.10f')

print(ans1,ans2,ans3)

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())
print(a//b, a%b, "{0:.5f}".format(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(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(d, r, '{:.10f}'.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 = list(map(int, input().split()))
print(a // b, end = " ")
print(a % b, end = " ")
print('{:.10f}'.format(a / b))

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 = map(int, input().split(" "))
print("%d %d %.10f"%(a/b, a%b, a/b))

Submission status: Accepted

Solution code:
nums = [int(e) for e in input().split()]
print(str(nums[0] // nums[1]) + " " + str(nums[0] % nums[1]) + " " + str("{:.9f}".format((nums[0] / nums[1]))))

Submission status: Accepted

Solution code:
l = input().split()
a = int(l[0])
b = int(l[1])
d = a//b
r = a%b
f = float(a/b)
print(d,r,"{:.9f}".format(f))

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 = map(int,input().split())
print(a//b,a%b,"{: .10f}".format(a/b))

Submission status: Accepted

Solution code:

a,b = [int(x) for x in input().split()]

print("{} {} {:.8f}".format(int(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:.10f}")

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 = a / b

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

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:.5f}")

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b = map(int, input().split(' '))
ans1 = int(a/b)
ans2 = a % b
ans3 = a/b

print(ans1, ans2,'%.10f' % ans3)

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:
nums = input()

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

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

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

Submission status: Accepted

Solution code:
l = input().split()
a = float(l[0])
b = float(l[1])

d = int(a)//int(b)
r = int(a)%int(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('{} {} {:.5f}'.format(d, r, f))

Submission status: Accepted

Solution code:
a, b = [int(i) for i in input().split()]
print(*divmod(a, b), format(a / b, ".5f"))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(a // b, a % b, end=' ')
print('{:.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(d, r,"{:.10f}".format(f))

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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))'''
a,b = map(int,input().split())

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

Submission status: Accepted

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

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) + ' ' + str('{:.5f}'.format(f)))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

d = a // b

r = a % b

f = a / b

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8

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

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=map(int,input().split())
print("%d %d %f" % (a//b,a%b,a/b))

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:
def test():

	i = list(map(int,input().split()))
	d = i[0] // i[1]
	r = i[0] % i[1]
	f = i[0] / i[1]

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

if __name__ == "__main__":
	test()

Submission status: Accepted

Solution code:
s = input().split()
a = int(s[0])
b = int(s[1])

d = int(a/b)
r = a%b
fcalc = float(a/b)
text = f"{fcalc:.5f}"

print(d,r,text)

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())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=raw_input().split()
a=int(n[0])
b=int(n[1])
print "%d %d %.8f"%(a/b,a%b,float(a)/b)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(int(a/b), int(a%b), "{0:.5f}".format(float(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('%d %d %.5f' % (a // b, a % b, a / b))

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
c = int(a/b)
d = a%b
e = a/b
print(c, d, '{:.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("{} {} {:.5f}".format(d, r, f))

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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,raw_input().split())
print "%d %d %.8f"%(a/b,a%b,float(a)/b)

Submission status: Accepted

Solution code:
import sys
import math

nums = list(map(lambda x: int(x), sys.stdin.readline().split(' ')))

r0 = math.floor(nums[0] / nums[1])
r1 = nums[0] % nums[1]
r2 = nums[0] / nums[1]

print(r0, r1, '{:.05f}'.format(r2))

Submission status: Accepted

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

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 = int(a / b)
r = a % b
f = round(float(a) / float(b), 6)
print(str(d),str(r),str(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:
a,b=map(int,input().split())
d=a/b
r=a%b
f=a/b
print(str(int(d))+' '+str(r)+' '+str("{:.5f}".format(f)))

Submission status: Accepted

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

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 = input().split()
a,b = int(a),int(b)
d = int(a/b)
r = a%b
f = a/b
print("%d %d %.5f"%(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, format(f, '.5f'))

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())

def d(a, b):
    d = a // b
    r = a % b
    f = a / b
    return d, r, f

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

print("%d %d %f" % (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:.6f}")

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:
a,b = map(int,input().split())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

print(a//b, a%b, "{0:.8f} ".format(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:
a,b=map(int,input().split())
c=int(a//b)
d=a-(c*b)
print(c)
print(d)
s='{:.5f}'.format(a/b)
print(s)

Submission status: Accepted

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

Submission status: Accepted

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

print("{} {} {:f}".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())

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

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:
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("{0} {1} {2:.6f}".format(a//b,a%b,a/b))

Submission status: Accepted

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

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

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("{0} {1} {2:.8f}".format(a//b,a%b,a/b))

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    a, b = map(lambda x: int(x), input().split())
    print(f"{a // b} {a % b} {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(str(d) + " " + str(r) + " " + format(f, '.5f'))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
a, b = map(int, input().split())
d = a // b
r = a % b
f = (math.floor((a / b)*100000))/100000
print(d, r, 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:
nums = input().split(" ")

a = int(nums[0])
b = int(nums[1])

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 = "{0:10.20f}".format(a / b)

print(d, r, f)

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:
# coding: utf-8
# Your code here!
a, b = map(int, input().split())

d = a // b
r = a % b
#print('%1.5f' %(a / b))
f  = a / b
#print(d, r, f)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
v = list(map(int,input().split()))
print (int(v[0]/v[1]), v[0]%v[1], '{:f}'.format(float(v[0]/v[1])))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
n1 = a // b
n2 = a % b 
n3 = a / b

print( '{0} {1} {2:.10f}'.format(n1, n2, n3))

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(d,r)
print('{:.10f}'.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),
print("{0:.10f}".format(f))

Submission status: Accepted

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

print('{0:d} {1:d} {2:f}'.format(a[0] // a[1], a[0] % a[1], a[0] / a[1]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
x,y=input().split()
x=int(x)
y=int(y)
print("%d %d %.10f"%(x/y,x%y,x/y))

Submission status: Accepted

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

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

print("%d %d %.10f" %(x, y, z))

Submission status: Accepted

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

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,"f"))

Submission status: Accepted

Solution code:
value = input().split(" ")
a = int(value[0])
b = int(value[1])
d = int(a / b)
r = int(a % b)
f = round((a / b),5)

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

Submission status: Accepted

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

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 = map(int, input().split())
print(a // b, a % b, f'{a / b : .20f}')

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())
print("%d %d %.10f"%(a/b, a%b, a/b))

Submission status: Accepted

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

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())
print ("%d %d %.8f"%(a/b,a%b,float(a)/b))

Submission status: Accepted

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

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 = a / b
print(d,r,"{:.5f}".format(f))

Submission status: Accepted

Solution code:
A = [int(i) for i in input().split()]

d1 = int(A[0]/A[1])
r = A[0]%A[1]
d2 = A[0]/A[1]
d2 = '{0:.5f}'.format(d2)
print(d1,r,d2) #5桁まで表示