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

r = list(range(3))
r[0] = int(a / b)
r[1] = a % b
r[2] = (a/b)

print("{} {} {:.100f}".format(r[0], r[1], r[2]))

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:.10f}')

Submission status: Accepted

Solution code:
from decimal import Decimal
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 = a // b
r = a % b
x = a / b
F = "{:.5f}".format(x)
print(d, r, F)

Submission status: Accepted

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


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


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


def decimal_point(a, b):
    return round(a / b, 5)


d = quotient(a, b)
r = remainder(a, b)
f = decimal_point(a, b)

print(d, r, f)

Submission status: Accepted

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

d = a // b

r = a % b

f = a / b

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

Submission status: Accepted

Solution code:
def int_warizan(a, b):
    d = a // b
    return d


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


def float_warizan(a, b):
    f = a / b
    return f


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

print(f'{int_warizan(a, b)} {amari_warizan(a, b)} {float_warizan(a, b):.6f}')

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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


def quo(x, y):
    return x // y


def remain(x, y):
    return x % y


def div(x, y):
    return x / y


d = quo(a, b)
r = remain(a, b)
f = div(a, b)

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(*divmod(a,b),format(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 %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 %d %f" % (d,r,f))

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

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, '{:.05f}'.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,"{:.08f}".format(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, raw_input().split())
print "%d %d %f" %(a/b, a%b, float(a)/float(b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = input().split(" ")
x = int(a) // int(b)
y = int(a) % int(b)
z = int(a) / int(b)
zi = int(z)
print(str(x) + " " + str(y) + " " + "{:.6f}".format(z))

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
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, f"{a/b:.8f}")

Submission status: Accepted

Solution code:
import math
line = list(map(int,input().split()))
a = line[0]
b = line[1]
num1 = math.floor(a/b)
num2 = a%b
num3 = float(a/b)

print(str(num1) + " "+str(num2),end= " ")
print("{:.8f}".format(num3))

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

Submission status: Accepted

Solution code:
import math
from decimal import Decimal, ROUND_HALF_UP
a,b = map(Decimal, input().split())
d = math.floor(a / b)
r = a % b
f = a / b
print(d, r, f.quantize(Decimal("0.00001"), rounding=ROUND_HALF_UP))

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

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

Submission status: Accepted

Solution code:
import math
a, b = map(int, input().split())
d = int(a/b)
r = int(a%b)
f = math.floor((a/b)*100000)/100000
print(str(d)+" "+str(r)+" "+str(f))

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

if __name__ == '__main__':
  main()

Submission status: Accepted

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

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('{0} {1} {2:.5f}'.format(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:
a, b = map(int, input().split())

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

Submission status: Accepted

Solution code:
import sys
import math
a, b= map(int, input().split())
d=a//b
r=a%b
f=float(a)/b;
print(str(d)+' '+str(r)+' '+str('{:.05f}'.format(f)))

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

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

Submission status: Accepted

Solution code:
import sys
a,b = map(int,sys.stdin.readline().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("{0} {1} {2:.5f}".format(d, r, f))

Submission status: Accepted

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

d,r = divmod(a,b)
c = a/b
print(d,r,format(c,"f"))

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

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())
d = a // b
r = a % b
z = float(a / b)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b =input().split()
a,b=[int(a),int(b)]
d=a//b
r=a%b
print(d,r,"{:.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(d,r,round(f,5))

Submission status: Accepted

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

Submission status: Accepted

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

d = a // b
r = a % b
f = 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
c = a / b

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

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 %.20f"%(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 = a / b

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

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:
num = input("").split()

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

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

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

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

Submission status: Accepted

Solution code:
import math

a, b = map(int, input().split())
d = a / b
round_d = math.floor(d)
r = a % b
f = (f'{d:.9f}')
print(round_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:
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,'{:.5f}'.format(a/b))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b = map(float,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("{} {} {:.9f}".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('{} {} {:.5f}'.format(d, r, f))

Submission status: Accepted

Solution code:
import math
import copy
from copy import deepcopy
import sys
import fractions
# import numpy as np
from functools import reduce
# import statistics
import decimal
import heapq
import collections
import itertools
sys.setrecursionlimit(100001)

# input = sys.stdin.readline
# sys.setrecursionlimit(10**6)

# ===FUNCTION===

def getInputInt():
    inputNum = int(input())
    return inputNum


def getInputListInt():
    outputData = []
    inputData = input().split()
    outputData = [int(n) for n in inputData]

    return outputData


def getSomeInputInt(n):
    outputDataList = []
    for i in range(n):
        inputData = int(input())
        outputDataList.append(inputData)

    return outputDataList


def getSomeInputListInt(n):
    inputDataList = []
    outputDataList = []
    for i in range(n):
        inputData = input().split()
        inputDataList = [int(n) for n in inputData]
        outputDataList.append(inputDataList)

    return outputDataList


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

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

Submission status: Accepted

Solution code:
s = list(map(int,input().split()))
if s[0]/s[1]<0.00001:
    print(s[0]//s[1],s[0]%s[1],0.00000)
else:
    print(s[0]//s[1],s[0]%s[1],s[0]/s[1])

Submission status: Accepted

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

Submission status: Accepted

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



division_integer = int(a) // int(b)
division_remainder = int(a) % int(b)
division_decimals = float(a) / float(b)

print(division_integer, division_remainder, '{:.5f}'.format(division_decimals))

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:
#2020-03-18
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())
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:.5f}".format(a//b,a%b,a/b))

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,"{:.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(" "))
c1 = a // b
c2 = a % b
c3 = a / b
print("{} {} {:.6f}".format(c1, c2, c3))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
s = input().rstrip().split(' ')
a = int(s[0])
b = int(s[1])
base = a / b
c = math.floor(base)
d = a % b
e = Decimal(str(base)).quantize(Decimal('0.00001'), rounding=ROUND_HALF_UP)
print(str(c) + " " + str(d) + " " + str(e))

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

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

Submission status: Accepted

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

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

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=(int(x) for x in input().split())
print(a//b,a%b,f"{a/b:.8f}")

Submission status: Accepted

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

print("{0} {1} {2:.5f}".format(ab[0]//ab[1], ab[0]%ab[1], float(ab[0]/ab[1])))

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_value = input()

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

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

Submission status: Accepted

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

waru = a//b
amari = a - waru * b
waru_s = format(a/b, "f")

print(waru,amari,waru_s)

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

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,5), sep =" ")

Submission status: Accepted

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

Submission status: Accepted

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

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("{} {} {:.5f}". 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('%d %d %.5f'%(c,d,e))

Submission status: Accepted

Solution code:
i = input().split()
n1 = int(i[0])
n2 = int(i[1])
d = str(n1//n2)
e = str(n1%n2)
f = str(format(n1/n2,'.5f'))
print(d+" "+e+" "+f)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  a, b = map(int, input().split(' '))
# a ÷ b ： d (整数)
# a ÷ b の余り ： r (整数)
# a ÷ b ： f (浮動小数点数)

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

if __name__ == "__main__":
  main()

Submission status: Accepted

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

ansa = a // b
ansb = a % b
ansc = a/b

print(f"{ansa} {ansb} {ansc:.5f}")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(str(a // b) + " " + str(a - a // b * b) + " " + str(int(a / b * 100000) / 100000))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

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

d= a//b

r=a%b

f= a/b

print(d, r, '{:.20f}'.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:
sc = input().split()
a = int(sc[0])
b = int(sc[1])
print('{} {} {:.10f}'.format(a // b, a % b, a / b))

Submission status: Accepted

Solution code:
import math
n=5
a,b=[int(i) for i in input().split()]
d=a//b
r=a%b
f="{:.5f}".format(math.floor(a/b*10**n)/(10**n))
print(str(d)+" "+str(r)+" "+str(f))

Submission status: Accepted

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

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:
# -*- coding: utf-8 -*-

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


if __name__ == "__main__":
    a, b = map(int, input().split())
    print(calc(a, b))

Submission status: Accepted

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

Submission status: Accepted

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

#tmp= int(input())
tmp = input().split()
a,b = list(map(lambda a: int(a), tmp))



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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

print("%d %d %f"%(a//b, a%b, float(a/b)))

Submission status: Accepted

Solution code:
val = input().split()
val = [int(n) for n in val]

d = val[0] // val[1]
r = val[0] % val[1]
f = val[0] / val[1]

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a, b = [int(x) for x in 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):.10f}")

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

Submission status: Accepted

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

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

print(d, r, f)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

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 = int(a/b)
e = a%b
f = format(a/b, '10f')
print(d, e, 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())
print(int(a/b),end=" ")
print(a%b,end=" ")
print('{:.10f}'.format(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:
#input
#map wo tukau
#map(func,inputs)
a,b=map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

ans1 = int(a / b)
ans2 = a % b
ans3 = float(a) / float(b)

print("{} {} {:.5f}".format(ans1, ans2, ans3))

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

Submission status: Accepted

Solution code:
a,b = [int(i) for i 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(a//b,a%b,f'{a/b:.10f}')

Submission status: Accepted

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

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:.6f}".format(d, r, f))

Submission status: Accepted

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

result1 = int(a // b)
result2 = int(a % b)
result3 = float(a / b)

print(f"{result1} {result2} {result3:.5f}")

Submission status: Accepted

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