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:
#!/usr/bin/python

a,b = (int(i) for i in input().split())

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

Submission status: Accepted

Solution code:
input_data = [int(i) for i in input().split()]
a = input_data[0]
b = input_data[1]

print(int(a/b),int(a%b),"{0:.5f}".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:
i = j = 0
n = ''
m = ''
 
 
line = input()
 
while line[i] != ' ':
    n = n + line[i]
    i += 1
     
while i < len(line):
    m = m + line[i]
    i += 1
     
n = int(n)
m = int(m)
 
d = n // m
r = n % m
f = n / m
 
print(d,end=' ')
print(r,end=' ')
print("{0:.5f}".format(f))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#! python3
 
a, b = [int(x) for x in input().strip().split(' ')]
print('%d %d %.10f' % (a//b, a%b, a/b))

Submission status: Accepted

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

aba = (a // b)
abb = (a % b)
abc = (a / b)

print('{0} {1} {2:f}'.format(aba, abb, abc))

Submission status: Accepted

Solution code:
import math

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

aba = math.floor(a / b)
abb = (a % b)
abc = (a / b)

print('{0} {1} {2:f}'.format(aba, abb, abc))

Submission status: Accepted

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

ans_div = a / b
ans_rest = a % b
ans_divf = float(a / b)

print ("%d %d %f"%(ans_div, ans_rest, ans_divf))

Submission status: Accepted

Solution code:
x,y=[int(i) for i in input().split()]
k0=x//y
k1=x%y
k2=(float)(x/y)
print('{0} {1} '.format(k0,k1),'{:.5f}'.format(k2))

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

def ABProblem():
    a,b = map(int,input().split())
    print(int(a/b),a%b,"%0.5f"%(a/b))
ABProblem()

Submission status: Accepted

Solution code:
import sys
(a, b) = [int(i) for i in input().split(' ')]
d = a // b
r = a % b
f = a / b    
print(repr(d) +" "+ repr(r) +" "+ ('%0.5f' % f))

Submission status: Accepted

Solution code:
(a, b) = [int(i) for i in input().split(' ')]  
print( repr(a // b) +" "+ repr(a % b) +" "+ ('%0.5f' % (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(int(a/b),a%b,round(a/b,5))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(int(a/b), a%b, '%03.6f' % (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 = int(a/b)
r = a%b
f = round(a/b, 5)

print(d, r, f)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
[a, b] = [int(num) for num in input().split()]
print('%s %s %.8f' % ((a // b), (a % b), (a / b)))

Submission status: Accepted

Solution code:
# Aizu Problem ITP_1_4_A: A/B Problem
#
import sys, math, os

# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input.txt", "rt")


a, b = [int(_) for _ in input().split()]
print("%d %d %.5f" % (a // b, a % b, a / b))

Submission status: Accepted

Solution code:
x=list(map(int,input().split()))
a,b= x[0],x[1]
print(str(a//b)+" "+str(a%b)+" {0:06f}".format(a/b))

Submission status: Accepted

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

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 = map(int, raw_input().split())

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

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

Submission status: Accepted

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

x = a // b
y = a % b
z = ("%.5f" %(a/b))


print (x, " ", y, " ", z)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = map(int, raw_input().split())
print('%d %d %.5f' % (a/b, a%b, float(a)/b))

Submission status: Accepted

Solution code:
nums=[]
nums=input().split()

print(int(nums[0])//int(nums[1]),int(nums[0])%int(nums[1]),"{0:.8f}".format(float(nums[0])/float(nums[1])))

Submission status: Accepted

Solution code:
from decimal import Decimal
x = list(input().split(" "))
a = Decimal(int(x[0]))
b = Decimal(int(x[1]))
d = a // b
r = a % b
f = a / b
print(d, r, "{:.10f}".format(f))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
my_value = input()
my_value_list = ([int(x) for x in my_value.split()])

print(my_value_list[0] // my_value_list[1], end=" ")
print(my_value_list[0] % my_value_list[1], end=" ")
print("{:.6f}".format(my_value_list[0]/my_value_list[1]))

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())
x = a//b
y = a%b
g = a/b
print("{0} {1} {2:.5f}".format(x,y,g))

Submission status: Accepted

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

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

Submission status: Accepted

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

print("{} {}".format( (a//b), (a%b)), end=' ')
print("{0:.15f}".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:
ab = input()
ab_num = ab.split()
a = int(ab_num[0])
b = int(ab_num[1])
print(a // b,a % b,"%.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())
print("%d %d %f" % (a/b, a%b, a/b))

Submission status: Accepted

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

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

d = round(a/b,5)

print(str(int(l[0]/l[1])) + " " + str(l[0]%l[1]) + " " + str(d))

Submission status: Accepted

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

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

d = round(a/b,5)

#print(str(int(l[0]/l[1])) + " " + str(l[0]%l[1]) + " " + str(d))
print(int(l[0]/l[1]),l[0]%l[1],d)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import*
a, b = map(int, input().split())

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

print(d, r, f)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int, input().split())
d=a//b
r=a%b
f=a/b
print("%d %d %f" %(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 =[int(i) for i in input().split()]
#a=2
#b=100000009

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

Submission status: Accepted

Solution code:
a, b = [int(s) for s in input().split()]
print('%d %d %.5f' % (a // b, a % b, a / b))

Submission status: Accepted

Solution code:
a,b = list(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:
S = raw_input().split(' ')
S[0] = int(S[0])
S[1] = int(S[1])
 
d = str(S[0]/S[1])
r = str(S[0]%S[1])
f = format(1.0*S[0]/S[1], ".8f")
 
print(d + " " + r + " " + f)

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

    
main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_4_A&lang=jp

"""
import sys
from sys import stdin
input = stdin.readline


def main(args):
    a, b = map(int, input().split())
    d = a // b
    r = a % b
    f = float(a) / float(b)

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



if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inp = input().split()
inp = [int(x) for x in inp]
print(int(inp[0]/inp[1]), end=' ')
print(inp[0]%inp[1], end=' ')
print('{:f}'.format(inp[0]/float(inp[1])))

Submission status: Accepted

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

Submission status: Accepted

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

import fileinput
import math

def main():
    for line in fileinput.input():
        a, b = map(int, line.strip().split())

        intD = a / b
        intR = a % b
        floatD = float(a) / float(b)

        print('%d %d %lf' % (intD, intR, floatD))



if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def main():
    data = []
    n = input().split()
    a = int(n[0])
    b = int(n[1])

    divans = a / b
    intdiv = int(divans)
    divr = a % b

    print("{0} {1} %.5f".format(intdiv,divr) % divans)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys
a,b = map(int,sys.stdin.readline().split())

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

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

Submission status: Accepted

Solution code:
def main():
    data = []
    n = input().split()
    a = int(n[0])
    b = int(n[1])

    divans = a / b
    intdiv = int(divans)
    divr = a % b

    print("{0} {1} {2:.5f}".format(intdiv, divr, divans))
    
if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

d = a // b
r = a % b
f = ('%03.5f' % (a / b))

print(d, r, f, sep=" ")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding:utf-8
array = map(int, raw_input().split())
d = array[0] / array[1]
r = array[0] % array[1]
f = float(array[0]) / array[1]

print d,r,
print "%.20f\n" % round(f,10)

Submission status: Accepted

Solution code:
a, b = map(int, raw_input().split())
d = a/b
r = a%b
f = a*1.0/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,r,"{0:.5f}".format(f))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
instr = input()
instrSp = instr.split()

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

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

Submission status: Accepted

Solution code:
import math

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

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

Submission status: Accepted

Solution code:
tmp = input().split()
value = [0 for _ in range(2)]
value[0] = int(tmp[0])
value[1] = int(tmp[1])
d = value[0] // value[1]
r = value[0] % value[1]
f = value[0] / value[1]
print("{} {} {:f}".format(d,r,f))

Submission status: Accepted

Solution code:
x = raw_input()
x = x.split(" ")
a = int(x[0])
b = int(x[1])
d = a/b
r = a%b
f = float(a)/float(b)
#print(str(d)+" "+str(r)+" ")
print "%d %d %.10f" % (d,r,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:
ab = [int(x) for x in input().split()]
a, b = ab[0], ab[1]
print(a // b)
print(a % b)
print("{0:f}".format(a / b))

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
u=float(f)
print('{0} {1} {2:.5f}'.format(d,r,u))

Submission status: Accepted

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

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

Submission status: Accepted

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

if __name__ == "__main__":
    ret = ab()

Submission status: Accepted

Solution code:
#Computation - A / B Problem

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

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

print(str(d)+" "+str(r)+" " + "%.5f" %(f))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print("{0:d} {1:d} {2:.5f}".format(i//j,i%j,i/j))

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8

a, b = (int(i) for i in input().split())

print(int(a / b) , end = ' ')
print(a % b , end = ' ')
print(format(float(a) / float(b), ".7f"))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-

import sys

a, b = map(int, sys.stdin.readline().split())
print(a//b, a%b, round(a/b, 6))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = [int(n) for n in input().split()]
print('%s %s %.5f' % (a//b, a%b, a/b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python

if __name__ == '__main__':
    a, b = map(int, raw_input().split())
    print '{} {} {:.5f}'.format(a/b, a%b, 1.0*a/b)

Submission status: Accepted

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

Submission status: Accepted

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

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

c=math.floor(a/b)
d=a-b*c
e="%.5f"%(a/b)

print(str(c)+" "+str(d)+" "+str(e))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

d = int(a / b)
e = int(a % b)
f = "{0:.8f}".format(a / b)

print(d, e, f)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list=input().split()
if 1 <=  int(list[0]) and int(list[0]) <= 10000000000 and 1 <=  int(list[1]) and int(list[1]) <= 10000000000:
    d=int(list[0])/int(list[1])
    r=int(list[0])-int(list[1])*int(d)
    print("{0} {1} {2:.5f}".format(int(d), r,d))
else:
    print("ERROR")

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

c1 = int( a / b )
c2 = int( a % b )
c3 = float( a / b )
print(str(c1) + " " + str(c2) +  " " + str("{0:.5f}".format(c3)))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#-*- coding: utf-8 -*-  
### 二つの数値a, bをスペース区切りで入力し、
### a/b(int), a%b, a/b(float) を求める

# 数値入力・変換
str_in = raw_input()
int_in = map(int, str_in.split())

# 計算
int_div = int_in[0] / int_in[1]
remainder = int_in[0] % int_in[1]
float_div = round( float( int_in[0] )/ float( int_in[1] ), 5)

# 出力
print( repr(int_div) + ' '+ repr(remainder) + ' ' + repr(float_div))

Submission status: Accepted

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

Submission status: Accepted

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

d = int(a / b)
r = a % b
f = round(a / b, 5)
print(str(d) + " " + str(r) + " " + str(f))

Submission status: Accepted

Solution code:
import sys

l = []
for i in sys.stdin:
    l.append(i.split())

for i in range(0,len(l)):
    print(int(int(l[i][0]) / int(l[i][1])),int(int(l[i][0]) % int(l[i][1])),'%.5f' % float(int(l[i][0]) / int(l[i][1])))

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

Submission status: Accepted

Solution code:
x=input().split()
a=int(x[0])
b=int(x[1])
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("{0} {1} {2:.5f}".format(d,r,f))

Submission status: Accepted

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

sum = a // b
remainder = a % b
quotient = a / b

print("%d %d %.08f" % (sum, remainder, quotient))

Submission status: Accepted

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

n = list(map(int, input().split()))
print(int(n[0] / n[1]))
print(int(n[0] % n[1]))
print("{0:.20f}".format(float(n[0] / n[1])))

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 = tuple(int(n) for n in input().split())

d,r = divmod(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,f'{a/b: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 = [int(n) for n in input().strip().split(" ")]
print("%d %d %f" % (a // b, a % b, a / b))

Submission status: Accepted

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

Submission status: Accepted

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

print('%s %s %.5f'%(d,r,f))

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
#! python3
# a_b_problem.py

a, b = [int(x) for x in input().split(' ')]
d = int(a/b)
r = a%b
f = a/b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = list(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())
print(int(a/b),a%b,"%.10f" % (a/b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def numinput():
    a = input().split()
    for i in range(len(a)):
        a[i] = int(a[i])
    return a

def main():
    a = numinput()
    print('%d %d %f' % (a[0] // a[1], a[0] % a[1], a[0] / a[1]))

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
tmp=list(map(int,input().split()))
print(int(tmp[0]/tmp[1]),tmp[0]%tmp[1],round(tmp[0]/tmp[1],6))

Submission status: Accepted

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

Submission status: Accepted

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

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

a = map(int, raw_input().split())

print('%i %i %f' % (a[0]/a[1], a[0]%a[1], float(a[0])/float(a[1])))