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: Runtime Error

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

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

print(d,r,f)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math


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: Runtime Error

Solution code:
print(int(input())/int(input()))

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
a = float(input())
print (a ** 2.0 * math.pi, a * 2.0 * math.pi)

Submission status: Runtime Error

Solution code:
a = float(input())
print (a ** 2.0 * 3.14159265359, a * 2.0 * 3.14159265359)

Submission status: Runtime Error

Solution code:
#coding: utf-8

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

print(int(a / b) , end = ' ')
print(a % b , end = ' ')
print("{: 0<7.5}".format(float(a) / float(b)))

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
d = 0
while a > b:
    a -= b
    d += 1
r = a
f = round(a/b, 5)
print('{} {} {}'.format(d, r, f))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

count = 0
num = a
    
while num <= b:
    if c % num == 0:
        count += 1
    else:
        pass
    num += 1
    
print(count)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

d = a // b

r = a % b

f = a / b

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

Submission status: Runtime Error

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

#x = a // b

#y = a % b

#z = a / b

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

Submission status: Runtime Error

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

#x = a // b

#y = a % b

#z = a / b

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(d,r,f)

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input().split())
print(str(int(a[0]/a[1])))
print(str(a[0]%a[1]))
print(str(a[0]/float(a[1])))

Submission status: Runtime Error

Solution code:
a,b,c = map(int, input().split())
sum = 0
result = 0
while b >= a:
    result = c%a
    if result == 0:
        sum += 1
    a += 1
print(sum)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = map(int, raw_input())
print a/b, a%b, float(a)/b

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split()
    a,b = int(a),int(b)
    print '%d %d %f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split()
    a,b = int(a),int(b)
    print '%d %d %f15' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split()
    a,b = int(a),int(b)
    print '%d %d %5.10f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split()
    a,b = int(a),int(b)
    print '%d %d %5.8f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split()
    a,b = long(a),long(b)
    print '%d %d %5.8f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split(' ')
    a,b = int(a),int(b)
    print '%d %d %5.8f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split()
    a,b = int(a),int(b)
    print '%d %d %5.6f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split(' ',2)
    a,b = int(a),int(b)
    print '%d %d %5.6f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split(' ',1)
    a,b = int(a),int(b)
    print '%d %d %5.6f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a,b = line.split()
    a,b = int(a),int(b)
    print '%d %d %.8f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    p = line.index(' ')
    a,b = line[:p],line[p+1:]
    a,b = int(a),int(b)
    print '%d %d %.12f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    p = line.strip('\n').index()
    a,b = line[:p],line[p+1:]
    a,b = int(a),int(b)
    print '%d %d %.12f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    p = line.strip('\n').index(' ')
    a,b = line[:p],line[p+1:]
    a,b = int(a),int(b)
    print '%d %d %.12f' %(a/b, a%b, 1.0*a/b)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
    a, b = map(int, line.rstrip('\n').split(' '))
    d, r, f = a/b, a%b, (a*1.0)/b
    print '%d %d %.5f' % (d, r, f)

Submission status: Runtime Error

Solution code:
while True:
    i = map(int, raw_input().split())
    if i[1]==0: break
    else: print i[0]/i[1],i[0]%i[1],float(i[0])/i[1]

Submission status: Runtime Error

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

print a/b, a % b, real(a)/real(b)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#!/usr/bin/python

import sys

num = str(raw_input()).split(" ")

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

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

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

sys.exit()

Submission status: Runtime Error

Solution code:
a,b = map(int,raw_input()) 
d=a/b
r=a%b
f=1.0*a/b
print d,r,f