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

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

Submission status: Accepted

Solution code:

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

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

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

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

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

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

Submission status: Accepted

Solution code:
#from numpy import*
#from scipy import*
from collections import* #defaultdict Counter deque appendleft
from fractions import gcd
from functools import* #reduce
from itertools import* #permutations("AB",repeat=2) combinations("AB",2) product("AB",2) groupby
from operator import mul
from bisect import* #bisect_left bisect_right
from heapq import* #heapify heappop heappushpop
from math import factorial
from copy import deepcopy
import sys
#input=sys.stdin.readline  #危険！基本オフにしろ！
sys.setrecursionlimit(10**6)


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

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


a, b = map(decimal.Decimal, input().split())

print(f"{a // b} {a % b} {(a / b).quantize(decimal.Decimal('.00001'))}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num_a, num_b = list(map(int, input().split()))
list1 = [num_a // num_b, num_a % num_b, round(num_a / num_b, 5)]
joined_list1 = " ".join(map(str, list1))
print(joined_list1)

Submission status: Accepted

Solution code:
# coding: utf-8
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())
d = int(a/b)
r = int(a%b)
f = float(a/b)

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

Submission status: Accepted

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

print(d, " " , r, " " , round(f,6))

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)
print(a % b)
print('%.8f' % (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())
1<= a
b <= 10**9
d = a//b
r = a%b
f = float(a/b)
print(d,r,'{:>.7f}'.format(f))

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
d = a[0]//a[1]
r = a[0]%a[1]
f = a[0]/a[1]
print("%d %d %.5f" %(d,r,f))

Submission status: Accepted

Solution code:
a,b = list(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,"{:.5f}".format(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:
from decimal import Decimal

def main():

    # 引数を受け取る
    args = input().split(' ')

    # リストの中身をint型に変換
    args = [float(i) for i in args]

    ans1 = int(args[0] / args[1])
    ans2 = int(args[0] % args[1])
    ans3 = args[0] / args[1]

    print('{0} {1} {2:.8f}'.format(ans1, ans2, ans3))



if __name__ == "__main__":
    main()

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

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

print(d, r, f)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

d = a//b
r =  a - b * d
f =  a/b

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

Submission status: Accepted

Solution code:
###
### atcorder test program
###

### math class
class math:
    ### GCD
    def gcd(self, a, b):
        if b == 0:
            return a
        return self.gcd(b, a%b)

### input num
i = input()
A, B = [int(x) for x in i.split()]
#N = int(input())
#A = [int(x) for x in input().split()]

print("{0} {1} {2:.5f}".format(A//B, A%B, A/B))

Submission status: Accepted

Solution code:
l=list(map(int,input().split()))
m=l[0]//l[1]
n=l[0]%l[1]
o='{:.5f}'.format(l[0]/l[1])
print(str(m)+' '+str(n)+' '+str(o))

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

Submission status: Accepted

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

print(str(d) + " " + str(r) + " " + str("{0:.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 = (int(x) for x in input().split())
d = a // b
r = a % b
f = float(a / b)
f = "{0:.5f}".format(f)
ab_list = [d, r, f]
for j in range(2):
    print(ab_list[j],end = ' ')

print(ab_list[2])

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
print(*divmod(a,b), f'{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:
x = input()
list = x.split()
[a, b] = list
a = int(a)
b = int(b)

d = a // b
r = a % b
f = float(a) / float(b)
f = round(f, 6)

d = str(d)
r = str(r)
f = str(f)
k = " "

ans = d + k + r + k + f
print(ans)

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 = list(map(int, input().split()))
d = nums[0]//nums[1]
r = nums[0]%nums[1]
f = nums[0]/nums[1]
print('{0} {1} {2:.5f}'.format(d, r, f))

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:
info = [int(i) for i in input().split()]
a = info[0]
b = info[1]
d = int(a / b)
r = a % b
f = round(a / b, 6)
print(d, r, f)

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

Solution code:
init=list(map(int,input().split()))
 
print("%d %d %f" %(init[0]/init[1],init[0]%init[1],init[0]/init[1]))

Submission status: Accepted

Solution code:
a,b = input().split()
d = int(a) // int(b)
r = int(a) % int(b)
f = float(a) / float(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:
# ITP1_4_A
# 割り算

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x, y = map(int, input().split())
print("{0} {1} {2:<.5f}".format(int(x/y), x % y, x/y))

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = list(map(int,input().split()))
a = i[0]
b = i[1]
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())
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:.8f}')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A ,B =map(int,input().split())

i = A // B
j = A % B
k = A / B

print('%d %d %f' % (i,j,k))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = [int(_) for _ in input().split()]
print(A // B, A % B, round(A / B, 7))

Submission status: Accepted

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

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())
print ('{} {} {:.5f}'.format(int(a/b), a%b, float(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:
# coding: utf-8
line = input().rstrip().split()
a = int(line[0])
b = int(line[1])

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

Submission status: Accepted

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

print(f'{d} {m} {a/b: .8f}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
list = input().split()
a = int(list[0])
b = int(list[1])
print(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(str(int(a / b)) + " " + str(a % b)  + " " + str(format(a / b,'.5f')))

Submission status: Accepted

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

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

Submission status: Accepted

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


main()

Submission status: Accepted

Solution code:
a,b=(int(inputData) for inputData in input().split())
print("{} {} {:0.5f}".format(int(a/b),a%b,float(a)/float(b)))

Submission status: Accepted

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

print("{:d} {:d} {:.5f}".format(*divmod(a, b), a / b))

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
x,y = map(int,input().split())

a=x//y
b=int(x%y)
c="{:.5f}".format(x/y)

print(a,b,c)

Submission status: Accepted

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

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=[int(x) for x in input().split()]
d = a // b
r = a % b
f = a * 1.0 / 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 = round(a / b, 6)
print (d, r, f)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b=map(int, input().split())
c=a/b
if a/b<0.000001:c=0
print(a//b,a%b,c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

a, b = map(int, sys.stdin.read().strip().split())

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

Submission status: Accepted

Solution code:
lst = list(map(int, input().split()))
d = lst[0] // lst[1]
r = lst[0] % lst[1]
f = float(lst[0] / lst[1])
print("{} {} {}".format(d, r, round(f, 5)))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
(a, b) = tuple([int(i) for i in input().split(' ')])
d = int(a / b)
r = a % b
f = a / b
print('{0} {1} {2:.8f}'.format(d, r, f))

Submission status: Accepted

Solution code:
a, b = [int(x) for x in input().split()]
print("%d %d %.8f" % (int(a/b), int(a%b), 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:
a,b = [int(i) for i in 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, f = divmod(a,b)
print(f'{d} {f} {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("{0} {1} {2:.7f}".format(int(a//b),int(a%b),a/b))

Submission status: Accepted

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

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

print(d, r, f)

Submission status: Accepted

Solution code:
data = input().split()
x = int(data[0])
y = int(data[1])

d = int(x/y)
r = x%y
f = float(x)/float(y)
print(d, end=" ")
print(r, end=" ")
print('%.5f' % f, end="")

Submission status: Accepted

Solution code:
ab =input()
ab_list = ab.split(" ")
a = int(ab_list[0])
b = int(ab_list[1])
r = a % b
d = int((a - r) / b)
f = a / b
print(str(d) + " " + str(r) + " " + str("{0:.5f}".format(f)))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
z = input()
a,b = [ int(x) for x in z.split() ]
d = a // b
r = a % b
f = float(a) / b
f = round( f , 5 )
print (str(d) + " " + str(r) + " " + str(f))

Submission status: Accepted

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

Submission status: Accepted

Solution code:


try:
    (a,b)  =  map(int,input().split())
except:
    exit

print ('{} {}'.format(a//b,a%b), format(float(a/b),'.8f'))

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=list(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("{0} {1} {2:f}".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(float, input().split())
print(int(a // b), int(a % b), round(a / b, 6))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y=map(int,input().split())
print("{} {} {}".format(x//y,x%y,round(x/y,6)))

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("{0} {1} {2: .5f}".format(d, r, f))

Submission status: Accepted

Solution code:
a, b = list(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(a // b, a % b, "{:.5f}".format(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('{0} {1} {2:.5f}'.format(a//b, a%b, a/b))

Submission status: Accepted

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

Submission status: Accepted

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

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 = [int(i) for i in input().split()]
print('{:d} {:d} {:.6f}'.format(a//b, a%b, a/b))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
a, b=[int(i) for i in 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())

d = a // b #整数の商
r = a % b
f = round(a / b, 6)

print(d, r, f)

Submission status: Accepted

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

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())
print(a//b, a%b, round(a/b, 5))

Submission status: Accepted

Solution code:
input_values = input().split()
int_values = []
for i in input_values:
    int_values.append(int(i))
a = int(int_values[0] / int_values[1])
b = int_values[0] % int_values[1]
c = round(int_values[0] / int_values[1], 6)
print("{0} {1} {2:.5f}".format(a, b, c))

Submission status: Accepted

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

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

if __name__ == '__main__':
	run()

Submission status: Accepted

Solution code:
a,b=map(int,raw_input().split())
print a/b,a%b,"%f"%(1.*a/b)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input().split()
for i in range(len(a)):
    a[i] = int(a[i])
d = a[0] // a[1]
r = a[0] % a[1]
f = a[0] / float(a[1])
print(d,r,"{0:f}".format(f))

Submission status: Accepted

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

Submission status: Accepted

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

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('{} {} {:f}'.format(d,r,f))
#print(str(d) + " " + str(r) + " " + str(f))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

def main():

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

if __name__ == "__main__":

	main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(d,r,f, sep='\n' )

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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