buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
def main():
numbers = input().split()
a, b, c = map(int, numbers)
a_to_b = list(range(a, b)) #a to b
result = [x for x in a_to_b if c % x == 0]
#約数検索
count = int(len(result))
print(count)
if __name__=="__main__":
main()
| def main():
numbers = input().split()
a, b, c = map(int, numbers)
a_to_b = list(range(a, b + 1)) #a to b
result = [x for x in a_to_b if c % x == 0]
#約数検索
count = int(len(result))
print(count)
if __name__=="__main__":
main() | [["+", 3, 4, 0, 652, 3, 4, 0, 657, 17, 72], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 77 |
(a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, (b + 1)):
if c % i == 0:
count + 1
print(count) | (a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, (b + 1)):
if c % i == 0:
count = count + 1
print(count) | [["+", 0, 57, 64, 196, 0, 1, 0, 662, 0, 32], ["+", 64, 196, 0, 1, 0, 662, 12, 657, 31, 22]] | 5 | 55 |
(a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b):
if (c % i) == 0:
cnt = cnt + 1
print(cnt) | (a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
if (c % i) == 0:
cnt = cnt + 1
print(cnt) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 55 |
(a, b, c) = (int(i) for i in input().sprit())
count = 0
for i in range(a, b + 1) :
if c % i == 0 :
count += 1
print(count) | (a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, b + 1) :
if c % i == 0 :
count += 1
print(count) | [["-", 12, 668, 0, 659, 12, 652, 63, 319, 319, 22], ["+", 12, 668, 0, 659, 12, 652, 63, 319, 319, 22]] | 5 | 53 |
( a, b, c) = [int(i) for i in input().split()]
count = 0
for i in range( a, b):
if c % i == 0:
count += 1
print( count) | ( a, b, c) = [int(i) for i in input().split()]
count = 0
for i in range( a, b+1):
if c % i == 0:
count += 1
print( count) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 51 |
line = list(map(int, input().split(" ")))
count = 0
for value in range(line[0], line[1]):
if line[2] % value == 0:
count += 1
print(count) | line = list(map(int, input().split(" ")))
count = 0
for value in range(line[0], line[1] + 1):
if line[2] % value == 0:
count += 1
print(count) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 56 |
count = 0
x = input().split()
for i in range(int(x[0]),int(x[1])):
if int(x[2]) % i ==0:
count += 1
print(count) | count = 0
x = input().split()
for i in range(int(x[0]),int(x[1])+1):
if int(x[2]) % i ==0:
count += 1
print(count) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 54 |
a, b, c = list(map(int, input().split()))
count = 0
for i in range(a,b):
if (c % i) == 0:
count += 1
print(count) | a, b, c = list(map(int, input().split()))
count = 0
for i in range(a, b+1):
if (c % i) == 0:
count += 1
print(count) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 50 |
x = input().split()
a = x[0]
b = x[1]
c = x[2]
A = 0
for i in range(int(a),int(b)):
if int(c) % int(i) ==0:
A += 1
elif int(c) % int(i) != 0:
A += 0
print(A) | x = input().split()
a = x[0]
b = x[1]
c = x[2]
A = 0
for i in range(int(a),int(b)+1):
if int(c) % int(i) ==0:
A += 1
elif int(c) % int(i) != 0:
A += 0
print(A) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 82 |
a, b, c = sorted(map(int, input().split(' ')))
print(len([x for x in range(a, b+1) if not(c%x)])) | a, b, c = list(map(int, input().split(' ')))
print(len([x for x in range(a, b+1) if not(c%x)])) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 51 |
m = list(map(int, input().split()))
c = 0
for i in range(m[0],m[1]):
if i % m[2] == 0:
c = c + 1
print(c) | m = list(map(int, input().split()))
c = 0
for i in range(m[0],m[1]+1):
if m[2] % i == 0:
c = c + 1
print(c) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612], ["-", 8, 196, 0, 57, 15, 666, 0, 657, 31, 22], ["-", 8, 196, 0, 57, 15, 666, 0, 657, 17, 109], ["+", 8, 196, 0, 57, 15, 666, 0, 657, 17, 109], ["+", 8, 196, 0, 57, 15, 666, 0, 657, 12, 22]] | 5 | 55 |
count = 0
a,b,c=list(map(int, input().split()))
for i in range(a,b):
if c%i == 0:
count+=1
print(count) | count = 0
a,b,c=list(map(int, input().split()))
for i in range(a,b+1):
if c%i == 0:
count+=1
print(count) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 48 |
a, b, c = list(map(int, input().split()))
k = 0
for i in range(a, b):
if c % i == 0 and a < b:
k += 1
print(k) | a, b, c = list(map(int, input().split()))
k = 0
for i in range(a, b+1):
if c % i == 0:
k += 1
print(k) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612], ["-", 0, 7, 8, 196, 0, 57, 15, 679, 17, 355], ["-", 8, 196, 0, 57, 15, 679, 12, 666, 0, 22], ["-", 8, 196, 0, 57, 15, 679, 12, 666, 667, 18]] | 5 | 52 |
a,b,c =list(map(int, input().split()))
n=0
for i in range(b-a):
if(c%(a+i)==0):
n=n+1 | a,b,c =list(map(int, input().split()))
n=0
for i in range(b-a+1):
if(c%(a+i)==0):
n=n+1
print(n) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612], ["+", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 52 |
a, b, c = list(map(int,input().split()))
i = a
j = 0
for i in range(a,b):
if c % i == 0:
j = j + 1
print(j)
| a, b, c = list(map(int,input().split()))
j = 0
for i in range(a, b+1):
if c % i == 0:
j = j + 1
print(j)
| [["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["-", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["-", 36, 36, 0, 656, 0, 1, 0, 662, 12, 22], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 53 |
a, b, c = [int(x) for x in input().split()]
ans = 0
for x in range(a, b):
if(c % x == 0):
ans += 1
print(ans) | a, b, c = [int(x) for x in input().split()]
ans = 0
for x in range(a, b+1):
if(c % x == 0):
ans += 1
print(ans) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 51 |
a,b,c=list(map(int,input().split()))
sum=0
for i in range(a,b):
if c % a ==0:
sum=sum+1
print('sum') | a,b,c=list(map(int,input().split()))
sum=0
for i in range(a,b+1):
if c % i ==0:
sum=sum+1
print(sum) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612], ["-", 8, 196, 0, 57, 15, 666, 0, 657, 12, 22], ["+", 8, 196, 0, 57, 15, 666, 0, 657, 12, 22], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 52 |
a,b,c = list(map(int, input().split()))
ct = 0
for i in range(a, b+1):
if i % c == 0:
ct += 1
print(ct)
| a,b,c = list(map(int, input().split()))
ct = 0
for i in range(a, b+1):
if c % i == 0:
ct += 1
print(ct)
| [["-", 8, 196, 0, 57, 15, 666, 0, 657, 31, 22], ["-", 8, 196, 0, 57, 15, 666, 0, 657, 17, 109], ["+", 8, 196, 0, 57, 15, 666, 0, 657, 17, 109], ["+", 8, 196, 0, 57, 15, 666, 0, 657, 12, 22]] | 5 | 50 |
a, b, c = map(int, input().split())
print(len([ x for x in range(a, b) if c % x == 0])) | a, b, c = map(int, input().split())
print(len([ x for x in range(a, b + 1) if c % x == 0])) | [["+", 0, 659, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 659, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 42 |
a,b,c = list(map(int,input().split()))
ans = []
for i in range(a,b+1):
if c%i == 0:
ans.append(i)
print(ans) | a,b,c = list(map(int,input().split()))
lst = []
for i in range(a,b+1):
if c%i == 0:
lst.append(i)
print(len(lst)) | [["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["-", 64, 196, 0, 1, 0, 652, 63, 319, 500, 22], ["+", 64, 196, 0, 1, 0, 652, 63, 319, 500, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", ... | 5 | 54 |
print((lambda a: len([i for i in range(a[0], a[1]) if a[2] % i == 0]))(list(map(int, input().split())))) | print((lambda a: len([i for i in range(a[0], a[1]+1) if a[2] % i == 0]))(list(map(int, input().split())))) | [["+", 0, 659, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 659, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 55 |
a,b,c = list(map(int, input().split()))
i=0
for x in range(a,b+1):
print(x)
if (c % x) == 0:
i+=1
print(i) | a,b,c = list(map(int, input().split()))
i=0
for x in range(a,b+1):
if (c % x) == 0:
i+=1
print(i) | [["-", 0, 7, 8, 196, 0, 1, 0, 652, 63, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 56 |
a, b, c = map(int, input().split())
s = list(map(lambda x: c % x, range(a, b)))
print(s.count(0)) | a, b, c = map(int, input().split())
s = list(map(lambda x: c % x, range(a, b+1)))
print(s.count(0)) | [["+", 3, 4, 0, 652, 3, 4, 0, 657, 17, 72], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 48 |
class HowManyDivisors:
def output(self, a, b, c):
d = 0
for i in range(a, b, 1):
if c % i == 0:
d += 1
print(d)
if __name__ == "__main__":
hmd = HowManyDivisors()
a, b, c = list(map(int, input().split()))
hmd.output(a, b, c) | class HowManyDivisors:
def output(self, a, b, c):
d = 0
for i in range(a, b + 1, 1):
if c % i == 0:
d += 1
print(d)
if __name__ == "__main__":
hmd = HowManyDivisors()
a, b, c = list(map(int, input().split()))
hmd.output(a, b, c) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 87 |
import math
inp = input().strip().split()
a = int(inp[0])
b = int(inp[1])
c = int(inp[2])
n = 0
for i in range(a,b):
if c%i == 0:
n += 1
print(n) | import math
inp = input().strip().split()
a = int(inp[0])
b = int(inp[1])
c = int(inp[2])
n = 0
for i in range(a,b+1):
if c%i == 0:
n += 1
print(n) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 69 |
a, b, c = map(int, input().split())
DivisorCount = 0
DivideNum = a
for var in range(a, b):
if c % DivideNum == 0:
DivisorCount += 1
DivideNum += 1
print(DivisorCount) | a, b, c = map(int, input().split())
DivisorCount = 0
DivideNum = a
for var in range(a, b+1):
if c % DivideNum == 0:
DivisorCount += 1
DivideNum += 1
print(DivisorCount) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 51 |
n = input().split()
a = int(n[0])
b = int(n[1])
c = int(n[2])
counta = 0
if a == b:
if c % a == 0:
counta += 1
else:
for i in range(a,b):
if c % i == 0:
counta += 1
print(counta) | n = input().split()
a = int(n[0])
b = int(n[1])
c = int(n[2])
counta = 0
if a == b:
if c % a == 0:
counta += 1
else:
for i in range(a,b+1):
if c % i == 0:
counta += 1
print(counta) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 80 |
i=0
a=list(map(int,input().split()))
for x in range(a[0],a[1]):
if(a[2]%x==0):
i+=1
print(i) | i=0
a=list(map(int,input().split()))
for x in range(a[0],a[1]+1):
if(a[2]%x==0):
i+=1
print(i) | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 55 |
#include <stdio.h>
main() {
int a, b, c;
scanf("%d%d", &a, &b);
c = (double)a / b;
printf("%d %d %f\n", a / b, a % b, c);
return 0;
}
| #include <stdio.h>
main() {
int a, b;
double c;
scanf("%d%d", &a, &b);
c = (double)a / b;
printf("%d %d %f\n", a / b, a % b, c);
return 0;
}
| [["-", 36, 36, 0, 30, 0, 9, 0, 43, 0, 21], ["+", 36, 36, 0, 30, 0, 9, 0, 43, 0, 35], ["+", 36, 36, 0, 30, 0, 9, 0, 43, 39, 40]] | 0 | 58 |
#include <stdio.h>
int main() {
unsigned int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f", a / b, a % b, (float)a / (float)b);
return 0;
} | #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %lf", a / b, a % b, (double)a / (double)b);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["-", 3, 4, 0, 16, 12, 74, 39, 77, 39, 40], ["+", 3, 4, 0, 16, 12, 74, 39, 77, 39, 40]] | 0 | 55 |
#include <stdio.h>
int main(void) {
// ??°????????\???????????°????????????????????\???
double num1, num2;
scanf("%lf %lf", &num1, &num2);
// ??\???????????????????????°????¨????????????????
printf("%d %d %.6f\n", num1 / num2, fmod(num1, num2), num1 / num2);
return 0;
} | #include <stdio.h>
int main(void) {
// ??°????????\???????????°????????????????????\???
double num1, num2;
scanf("%lf %lf", &num1, &num2);
// ??\???????????????????????°????¨????????????????
printf("%d %g %.6f\n", (int)(num1 / num2), fmod(num1, num2), num1 / num2);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 74, 0, 24], ["+", 0, 2, 3, 4, 0, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 2, 3, 4, 0, 74, 0, 25], ["+", 0, 2, 3, 4, 0, 74, 51, 23, 0, 24], ["+", 0, 2, 3, 4, 0, 74, 51, 23, 0, 25]] | 0 | 55 |
#include <math.h>
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %.5f", d, r, f);
} | #include <math.h>
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %.5f", d, r, f);
return 0;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 0 | 66 |
#include <math.h>
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %.5f", d, r, f);
return 0;
} | #include <math.h>
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %.5f", d, r, f);
} | [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 0 | 69 |
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
main() {
int a, b, c, r;
double d;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
c = (double)a / (double)b;
printf("%d %d %.5f\n", d, r, c);
return 0;
}
| #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
main() {
int a, b, c, r;
double d;
scanf("%d %d", &a, &b);
c = a / b;
r = a % b;
d = (double)a / (double)b;
printf("%d %d %.5f\n", c, r, d);
return 0;
}
| [["-", 0, 30, 0, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 30, 0, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 0 | 76 |
#include <stdio.h>
int main(void) {
int a, b, c, sum = 0;
scanf("%d %d", &a, &b);
printf("%d ", a / b);
printf("%d ", a % b);
printf("%d\n", 1.0 * a / b);
return (0);
}
| #include <stdio.h>
int main(void) {
int a, b, c, sum = 0;
scanf("%d %d", &a, &b);
printf("%d ", a / b);
printf("%d ", a % b);
printf("%f\n", 1.0 * a / b);
return (0);
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 74 |
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %8.6lf\n", a / b, a % b, (double)(a / b));
return 0;
}
| #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %8.6lf\n", a / b, a % b, (double)a / b);
return 0;
}
| [["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 24], ["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 25]] | 0 | 54 |
#include <stdio.h>
main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %d\n", a / b, a % b, (double)a / b);
}
| #include <stdio.h>
main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %lf\n", a / b, a % b, (double)a / b);
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 49 |
#include <stdio.h>
int main(void) {
// your code goes here
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %d", a / b, a % b, (double)a / (double)b);
return 0;
}
| #include <stdio.h>
int main(void) {
// your code goes here
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %lf\n", a / b, a % b, (double)a / (double)b);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 56 |
#include <stdio.h>
int main() {
//変数の宣言
int a, b;
int d, r;
double f;
//入力
scanf("%d %d", &a, &b);
//処理
d = a / b;
r = a % b;
f = a / b;
//出力
printf("%d %d %f\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main() {
//変数の宣言
int a, b;
int d, r;
double f;
//入力
scanf("%d %d", &a, &b);
//処理
d = a / b;
r = a % b;
f = 1.0 * a / b;
//出力
printf("%d %d %f\n", d, r, f);
return 0;
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 0 | 73 |
#include <stdio.h>
int main(void) {
// Your code here!
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f\n", a / b, a % b, a / b);
return 0;
}
| #include <stdio.h>
int main(void) {
// Your code here!
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f\n", a / b, a % b, (double)a / b);
return 0;
}
| [["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 24], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 25]] | 0 | 51 |
#include <stdio.h>
int main(void) {
int a = 0, b = 0;
scanf("%d %d", &a, &b);
printf("%d %d %f", a / b, a % b, a / b);
}
| #include <stdio.h>
int main(void) {
int a = 0, b = 0;
scanf("%d %d", &a, &b);
printf("%d %d %f", a / b, a % b, (double)a / (double)b);
}
| [["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 24], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 25], ["+", 0, 2, 3, 4, 0, 16, 12, 74, 0, 24], ["+", 3, 4, 0, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 2, 3, 4, 0, 16, 12, 74, 0, 25]] | 0 | 50 |
#include <stdio.h>
int main() {
int x, y;
scanf("%d%d", &x, &y);
printf("%d %d %f\n", x / y, x % y, x / y);
return 0;
}
| #include <stdio.h>
int main() {
int x, y;
scanf("%d%d", &x, &y);
printf("%d %d %f\n", x / y, x % y, (double)x / y);
return 0;
}
| [["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 24], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 25]] | 0 | 49 |
#include <stdio.h>
int main(void) {
int a, b, d, r;
scanf("%d %d", &a, &b);
double f;
d = a % b;
r = a / b;
f = 1.0 * a / b;
printf("%d %d %.5lf\n", d, r, f);
return (0);
}
| #include <stdio.h>
int main(void) {
int a, b, d, r;
scanf("%d %d", &a, &b);
double f;
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %.5lf\n", d, r, f);
return (0);
}
| [["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109]] | 0 | 73 |
//
// main.c
// ITP1_4_A
//
// Created by k16031kk on 2018/05/21.
// Copyright © 2018年 AIT. All rights reserved.
//
#include <stdio.h>
int main(int argc, const char *argv[]) {
// insert code here...
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = d % b;
f = (double)a / b;
printf("... | //
// main.c
// ITP1_4_A
//
// Created by k16031kk on 2018/05/21.
// Copyright © 2018年 AIT. All rights reserved.
//
#include <stdio.h>
int main(int argc, const char *argv[]) {
// insert code here...
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("... | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22]] | 0 | 88 |
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", a, b);
d = a / b;
r = a % b;
f = a * 1.0 / b;
printf("%d %d %.8lf\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a * 1.0 / b;
printf("%d %d %.8lf\n", d, r, f);
return 0;
}
| [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 68 |
#include <stdio.h>
int main() {
long a, b, d, r;
double f;
scanf("%ld %ld", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%ld %ld %.5lf\n", d, r, f);
}
| #include <stdio.h>
int main() {
long a, b, d, r;
double f;
scanf("%ld %ld", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%ld %ld %.5lf\n", d, r, f);
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25]] | 0 | 65 |
#include <stdio.h>
int main(void) {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a & b;
f = 1.00000 * a / b;
printf("%d %d %.5lf\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.00000 * a / b;
printf("%d %d %.5lf\n", d, r, f);
return 0;
}
| [["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 67], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109]] | 0 | 71 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d%lf\n", a / b, a % b, (double)a / b);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %lf\n", a / b, a % b, (double)a / b);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 53 |
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %.5lf\n", d, r, f);
}
| #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.00000 * a / b;
printf("%d %d %.5lf\n", d, r, f);
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 0 | 65 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d\n", &a, &b);
int d = a / b;
int r = a % b;
double f = (double)(a / b);
printf("%d %d %f\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d\n", &a, &b);
int d = a / b;
int r = a % b;
double f = (double)a / b;
printf("%d %d %f\n", d, r, f);
return 0;
}
| [["-", 0, 43, 49, 50, 51, 74, 51, 23, 0, 24], ["-", 0, 43, 49, 50, 51, 74, 51, 23, 0, 25]] | 0 | 71 |
#include <stdio.h>
#include <stdlib.h>
//メイン関数
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f", a / b, a % b, (double)(a / b));
return 0;
}
| #include <stdio.h>
#include <stdlib.h>
//メイン関数
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f", a / b, a % b, (double)a / b);
return 0;
}
| [["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 24], ["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 25]] | 0 | 57 |
#include <stdio.h>
int main(void) {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
1 <= a, b <= 1000000000;
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %f \n", d, r, f);
return (0);
}
| #include <stdio.h>
int main(void) {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
1 <= a, b <= 1000000000;
d = a / b;
r = a % b;
f = (double)a / (double)b;
printf("%d %d %f \n", d, r, f);
return (0);
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 24], ["+", 0, 11, 12, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 25]] | 0 | 79 |
#include <stdio.h>
int main(void) {
long int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%ld %ld %lf\n", a / b, a % b, ((float)a) / b);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d %lf\n", a / b, a % b, ((double)a) / b);
return 0;
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 16, 31, 23, 0, 74, 39, 77, 39, 40], ["+", 0, 16, 31, 23, 0, 74, 39, 77, 39, 40]] | 0 | 63 |
#include <stdio.h>
int main() {
long int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d %f\n", a / b, a % b, (float)a / b);
return 0;
} | #include <stdio.h>
int main() {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d %f\n", a / b, a % b, (double)a / b);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40]] | 0 | 60 |
#include <stdio.h>
int main(void) {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %f", d, r, f);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %f", d, r, f);
return 0;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 0 | 68 |
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
{ printf("%d %d %d\n", a / b, a % b, 1.0 * a / b); }
return 0;
} | #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
{ printf("%d %d %.8lf\n", a / b, a % b, 1.0 * a / b); }
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 53 |
#include <stdio.h>
int main(void) {
long a, b;
long d, r;
double f;
scanf("%ld %ld", &a, &b);
d = a + b;
r = a % b;
f = (double)a / b;
printf("%ld %ld %.5lf\n", d, r, f);
return 0;
} | #include <stdio.h>
int main(void) {
long a, b;
long d, r;
double f;
scanf("%ld %ld", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%ld %ld %.5lf\n", d, r, f);
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]] | 0 | 73 |
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %f", d, r, f);
return 0;
}
| #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %f", d, r, f);
return 0;
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25]] | 0 | 67 |
#include <stdio.h>
int main() {
int a, b, d, r;
float f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (float)a / b;
printf("%d %d %d\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %f\n", d, r, f);
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 71 |
#include <stdio.h>
int main(void) {
int a, b;
double f;
scanf("%d %d", &a, &b);
f = a / b;
printf("%d %d %lf\n", a / b, a % b, (double)f);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b;
double f;
scanf("%d %d", &a, &b);
f = (double)a / (double)b;
printf("%d %d %lf\n", a / b, a % b, (double)f);
return 0;
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 24], ["+", 0, 11, 12, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 25]] | 0 | 60 |
#include <stdio.h>
int main() {
int a;
int b;
scanf("%d%d", &a, &b);
int d = a / b;
int r = a % b;
double f = a / b;
printf("%d %d %.5lf\n", d, r, f);
}
| #include <stdio.h>
int main() {
int a;
int b;
scanf("%d%d", &a, &b);
int d = a / b;
int r = a % b;
double f = (double)a / b;
printf("%d %d %.8lf\n", d, r, f);
}
| [["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 62 |
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %f\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.00000 * a / b;
printf("%d %d %f\n", d, r, f);
return 0;
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 0 | 68 |
#include <stdio.h>
int main() {
int a = 0, b = 0, d = 0, r = 0;
float f = 0;
scanf("%d %d\n", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %lf\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main() {
int a = 0, b = 0, d = 0, r = 0;
double f = 0;
scanf("%d %d\n", &a, &b);
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %lf\n", d, r, f);
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 0 | 79 |
#include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %lf\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %.8lf\n", d, r, f);
return 0;
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 70 |
#include <stdio.h>
main() {
int a, b, c;
scanf("%d%d", &a, &b);
printf("%d", a / b);
printf("%d", a % b);
printf("%.5f\n", (double)a / b);
return 0;
} | #include <stdio.h>
main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%d ", a / b);
printf("%d ", a % b);
printf("%.5f\n", (double)a / b);
return 0;
} | [["-", 36, 36, 0, 30, 0, 9, 0, 43, 0, 21], ["-", 36, 36, 0, 30, 0, 9, 0, 43, 49, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 68 |
#include <stdio.h>
int main() {
double a, b, f;
int d, r;
scanf("%lf%lf", &a, &b);
d = a / b;
r = (int)a % (int)b;
f = d / r;
printf("%d %d %f\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main() {
double a, b, f;
int d, r;
scanf("%lf%lf", &a, &b);
d = a / b;
r = (int)a % (int)b;
f = a / b;
printf("%d %d %f\n", d, r, f);
return 0;
}
| [["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22]] | 0 | 74 |
#include <stdio.h>
int main(void) {
long a, b;
scanf("%d %d", &a, &b);
printf("%d %d %lf\n", a / b, a % b, (double)a / (double)b);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f\n", a / b, a % b, (double)a / b);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 2, 3, 4, 0, 16, 12, 74, 0, 24], ["-", 3, 4, 0, 16, 12, 74, 39, 77, 39, 40], ["-", 0, 2, 3, 4, 0, 16, 12, 74, 0, 25]] | 0 | 56 |
#include <stdio.h>
int main(void) {
long a, b;
scanf("%d %d", &a, &b);
printf("%d %d %lf\n", a / b, a % b, (double)a / (double)b);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f\n", a / b, a % b, (double)a / (double)b);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 56 |
/*********************************
*include
*********************************/
#include <stdio.h>
/*********************************
*define
*********************************/
int input_ary[10000];
/*********************************
*function
*********************************/
int main(void) {
int num1;
int... | /*********************************
*include
*********************************/
#include <stdio.h>
/*********************************
*define
*********************************/
int input_ary[10000];
/*********************************
*function
*********************************/
int main(void) {
int num1;
int... | [["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 75 |
#include <stdio.h>
int main(void) {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.000000000 * a / b;
printf("%d,%d,%.8lf\n", d, r, f);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.000000000 * a / b;
printf("%d %d %.8lf\n", d, r, f);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 71 |
#include <stdio.h>
int main(void) {
int a, b;
int n, m;
double x;
scanf("%d %d", a, b);
n = a / b;
m = a % b;
x = (double)a / b;
printf("%d %d %.5lf", n, m, x);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
int n, m;
double x;
scanf("%d %d", &a, &b);
n = a / b;
m = a % b;
x = (double)a / b;
printf("%d %d %.5lf", n, m, x);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 70 |
#include <stdio.h>
int main(void) {
int a, b;
int d, r;
float f;
scanf("%d %d", &a, &b);
if (a >= 1 && b <= 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10) {
d = a / b;
r = a % b;
f = (float)a / b;
printf("%d %d %.5f\n", d, r, f);
};
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d %d", &a, &b);
if (a >= 1 || b <= 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10) {
d = a / b;
r = a % b;
f = (double)a / (double)b;
printf("%d %d %.5f\n", d, r, f);
};
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 98], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 106], ["-", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 24], ["+", 0, 11, ... | 0 | 102 |
#include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %f", d, r, f);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a * 1.0 / b;
printf("%d %d %lf\n", d, r, f);
return 0;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 69 |
#include <stdio.h>
int main() {
int a, b, d, r;
scanf("%d %d", &a, &b);
long f;
r = a % b;
d = (a - r) / b;
f = 1.0 * a / b;
printf("%d %d %l\n", d, r, f);
return 0;
} | #include <stdio.h>
int main() {
int a, b, d, r;
scanf("%d %d", &a, &b);
double f;
r = a % b;
d = (a - r) / b;
f = 1.0 * a / b;
printf("%d %d %lf\n", d, r, f);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 74 |
#include <stdio.h>
int main() {
int a, b, d, r;
float f;
scanf("%d %d", &a, &b);
r = a % b;
d = (a - r) / b;
f = a / b;
printf("%d %d %d\n", d, r, f);
return 0;
} | #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
r = a % b;
d = (a - r) / b;
f = 1.0 * a / b;
printf("%d %d %f\n", d, r, f);
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 72 |
#include <stdio.h>
int main() {
long long int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f\n", a / b, a % b, (float)a / b);
return 0;
} | #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f\n", a / b, a % b, (double)a / b);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40]] | 0 | 54 |
#include <stdio.h>
int main() {
int a, b;
double c;
scanf("%d %d", &a, &b);
c = (double)a / b;
printf("%d %d\n", a / b, a % b, c);
return 0;
} | #include <stdio.h>
int main() {
int a, b;
double c;
scanf("%d %d", &a, &b);
c = (double)a / b;
printf("%d %d %f\n", a / b, a % b, c);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 59 |
#include <stdio.h>
main()
{
int a, b;
double c;
scanf("%d%d", &a, &b);
c = (double)a / b;
printf("%d &d %f\n", a / b, a % b, c);
return 0;
} | #include <stdio.h>
main()
{
int a, b;
double c;
scanf("%d%d", &a, &b);
c = (double)a / b;
printf("%d %d %f\n", a / b, a % b, c);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 59 |
#include <stdio.h>
int main(void) {
int a, b, d = 0, r = 0;
double f = 0;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d &d &lf\n", d, r, f);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, d = 0, r = 0;
double f = 0;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %lf\n", d, r, f);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 78 |
#include <stdio.h>
int main() {
int a = 0;
int b = 0;
int d, r;
double f;
scanf("%d%d", a, b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %f\n", d, r, f);
return 0;
} | #include <stdio.h>
int main() {
int a = 0;
int b = 0;
int d, r;
double f;
scanf("%d%d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %f\n", d, r, f);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25]] | 0 | 72 |
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d%d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %.5f\n", d, r, f);
return (0);
} | #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d%d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / (double)b;
printf("%d %d %.5f\n", d, r, f);
return (0);
} | [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 24], ["+", 0, 11, 12, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 25]] | 0 | 70 |
import java.math.BigDecimal;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
double f = 1.0 * x / y;
BigDecimal g = new BigDecimal(f);
g = g.setScale(3, BigDecimal.ROUND_HAL... | import java.math.BigDecimal;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
double f = 1.0 * x / y;
BigDecimal g = new BigDecimal(f);
g = g.setScale(5, BigDecimal.ROUND_HAL... | [["-", 0, 1, 0, 11, 12, 492, 3, 4, 0, 499], ["+", 0, 1, 0, 11, 12, 492, 3, 4, 0, 499]] | 3 | 119 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
double c = a / b;
String d = String.format("%.5f", c);
System.out.println(a / b + " " + a % b + " " + d);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
double c = (double)a / b;
String d = String.format("%.5f", c);
System.out.println(a / b + " " + a % b + " " + d);
}
} | [["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 24], ["+", 49, 200, 51, 16, 31, 74, 39, 511, 0, 512], ["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 25]] | 3 | 99 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int d = a / b;
int r = a % b;
double f = a / b;
System.out.printf("%d %d %f\n", d, r, f);
}
} | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int d = a / b;
int r = a % b;
double f = (double)a / (double)b;
System.out.printf("%d %d %f\n", d, r, f);
}
} | [["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 24], ["+", 49, 200, 51, 16, 31, 74, 39, 511, 0, 512], ["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 25], ["+", 0, 503, 49, 200, 51, 16, 12, 74, 0, 24], ["+", 49, 200, 51, 16, 12, 74, 39, 511, 0, 512], ["+", 0, 503, 49, 200, 51, 16, 12, 74, 0, 25]] | 3 | 92 |
import java.util.*;
class Main {
static Scanner s = new Scanner(System.in);
public static void main(String[] args) {
int a = Integer.parseInt(s.next()), b = Integer.parseInt(s.next());
System.out.printf("%d %d %e", a / b, a % b, 1.0f * a / b);
}
} | import java.util.*;
class Main {
static Scanner s = new Scanner(System.in);
public static void main(String[] args) {
int a = Integer.parseInt(s.next()), b = Integer.parseInt(s.next());
System.out.printf("%d %d %f", a / b, a % b, 1.0 * a / b);
}
} | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 515], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 515]] | 3 | 87 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int d = a / b;
int r = a % b;
double f = a / b;
System.out.println(d + " " + r + " " + String.format("%.5f"... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int d = a / b;
int r = a % b;
double f = (double)a / (double)b;
System.out.println(d + " " + r + " " + Stri... | [["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 24], ["+", 49, 200, 51, 16, 31, 74, 39, 511, 0, 512], ["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 25], ["+", 0, 503, 49, 200, 51, 16, 12, 74, 0, 24], ["+", 49, 200, 51, 16, 12, 74, 39, 511, 0, 512], ["+", 0, 503, 49, 200, 51, 16, 12, 74, 0, 25]] | 3 | 104 |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
String[] x = line.split(" ");
int a = Integer.parseInt(x[0])... | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
String[] x = line.split(" ");
int a = Integer.parseInt(x[0])... | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21]] | 3 | 187 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a, b, d, r;
a = sc.nextInt();
b = sc.nextInt();
d = a / b;
r = a % b;
double f = a / b;
System.out.print(d + " " + r + " ");
System.out.printf("%.8f\n",... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a, b, d, r;
a = sc.nextInt();
b = sc.nextInt();
d = a / b;
r = a % b;
double f = (double)a / b;
System.out.print(d + " " + r + " ");
System.out.printf("... | [["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 24], ["+", 49, 200, 51, 16, 31, 74, 39, 511, 0, 512], ["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 25]] | 3 | 112 |
import java.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String num1 = br.readLine();
String[] num2 = num1.split(" ");
int a = Integer.parseInt(num2[0]);
int b = Integer.parseInt(num2[1]);
... | import java.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String num1 = br.readLine();
String[] num2 = num1.split(" ");
int a = Integer.parseInt(num2[0]);
int b = Integer.parseInt(num2[1]);
... | [["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 24], ["+", 49, 200, 51, 16, 31, 74, 39, 511, 0, 512], ["+", 0, 503, 49, 200, 51, 16, 31, 74, 0, 25]] | 3 | 145 |
import java.util.Scanner;
/**
* Created by khrom on 2017/06/14.
*/
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double a = scanner.nextDouble();
double b = scanner.nextDouble();
System.out.printf("%d %d %.5f", Math.floor(a / b), (int)(a % b)... | import java.util.Scanner;
/**
* Created by khrom on 2017/06/14.
*/
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double a = scanner.nextDouble();
double b = scanner.nextDouble();
System.out.printf("%d %d %.5f", (int)Math.floor(a / b), (int)(a... | [["+", 0, 1, 0, 492, 3, 4, 0, 74, 0, 24], ["+", 0, 492, 3, 4, 0, 74, 39, 506, 0, 507], ["+", 0, 1, 0, 492, 3, 4, 0, 74, 0, 25]] | 3 | 87 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
try {
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
String inputData = rea... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
try {
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
String inputData = rea... | [["-", 0, 492, 3, 4, 0, 16, 12, 492, 141, 22], ["+", 0, 492, 3, 4, 0, 16, 12, 492, 141, 22]] | 3 | 207 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int d = a / b;
int r = a % b;
String f = String.format("%.5f", a / b);
System.out.println(d + " " + r + " " + f... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int d = a / b;
int r = a % b;
String f = String.format("%.5f", (double)a / b);
System.out.println(d + " " + r +... | [["+", 51, 492, 3, 4, 0, 16, 31, 74, 0, 24], ["+", 3, 4, 0, 16, 31, 74, 39, 511, 0, 512], ["+", 51, 492, 3, 4, 0, 16, 31, 74, 0, 25]] | 3 | 103 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine()... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine()... | [["+", 0, 503, 49, 200, 51, 16, 31, 16, 31, 515], ["+", 0, 503, 49, 200, 51, 16, 31, 16, 17, 48], ["-", 49, 200, 51, 492, 3, 4, 0, 5, 0, 491], ["+", 49, 200, 51, 492, 3, 4, 0, 5, 0, 491]] | 3 | 168 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a, b, d, r;
double f, a1, b1;
a = sc.nextInt();
b = sc.nextInt();
d = a / b;
r = a % b;
a1 = a;
b1 = b;
f = a1 / b1;
System.out.print(d + " " + r ... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a, b, d, r;
double f, a1, b1;
a = sc.nextInt();
b = sc.nextInt();
d = a / b;
r = a % b;
a1 = a;
b1 = b;
f = a1 / b1;
System.out.print(d + " " + r ... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 125 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int x = a / b;
int y = a % b;
double f2;
f2 = 1.0 * a / b;
System.out.println(x + " " + y + " " + String.format("%8f... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int x = a / b;
int y = a % b;
double f2;
f2 = 1.0 * a / b;
System.out.println(x + " " + y + " " + String.format("%8f... | [["+", 3, 4, 0, 16, 12, 492, 3, 4, 0, 21], ["+", 3, 4, 0, 16, 12, 492, 3, 4, 0, 22]] | 3 | 112 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double a = Double.parseDouble(sc.next());
double b = Double.parseDouble(sc.next());
int c1 = (int)(a / b);
int c2 = (int)(a % b);
double c = a / b;
System.out.print(c1 + "... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double a = Double.parseDouble(sc.next());
double b = Double.parseDouble(sc.next());
int c1 = (int)(a / b);
int c2 = (int)(a % b);
double c = a / b;
System.out.print(c1 + "... | [["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 132 |
#include <stdio.h>
int main(void) {
double a, b;
scanf("%lf %lf", &a, &b);
printf("%d %d %f", a / b, (int)a % (int)b, a / b);
return 0;
} | #include <stdio.h>
int main(void) {
double a, b;
scanf("%lf %lf", &a, &b);
printf("%d %d %f", (int)a / (int)b, (int)a % (int)b, a / b);
return 0;
} | [["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 24], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 25], ["+", 0, 2, 3, 4, 0, 16, 12, 74, 0, 24], ["+", 3, 4, 0, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 2, 3, 4, 0, 16, 12, 74, 0, 25]] | 0 | 55 |
#include <stdio.h>
int main(void) {
int a, b;
int d, r;
float f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (float)(a / b);
printf("%d %d %d", d, r, f);
return (0);
} | #include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %lf", d, r, f);
return (0);
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 11, 12, 74, 39, 77, 39, 40], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["-", 0, 1, 0, 11, 12, 74, 51, 23, 0, 24], ["-", 0, 1, 0, 11, 12, 74, 51, 23, 0, 25], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4... | 0 | 76 |
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %d\n", a / b, a % b, (double)a / b);
return 0;
} | #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %lf\n", a / b, a % b, (double)a / b);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 52 |
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a - b / d;
f = (1.00000 * a) / (1.00000 * b);
printf("%d %d %f\n", d, r, f);
return 0;
} | #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a - b * d;
f = (1.00000 * a) / (1.00000 * b);
printf("%d %d %f\n", d, r, f);
return 0;
} | [["-", 0, 1, 0, 11, 12, 16, 12, 16, 17, 85], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 48]] | 0 | 78 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.