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 |
|---|---|---|---|---|
#include <stdio.h>
int main(void) {
int a, b;
int d;
int 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(void) {
int a, b;
int d;
int 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, 23, 0, 24], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 31, 13], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 48], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]] | 0 | 71 |
#include <stdio.h>
int main(void) {
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);
return 0;
} | #include <stdio.h>
int main(void) {
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);
return 0;
} | [["-", 0, 1, 0, 11, 12, 74, 51, 23, 0, 24], ["-", 0, 1, 0, 11, 12, 74, 51, 23, 0, 25]] | 0 | 74 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d", a / b);
printf("%d", a % b);
printf("%.5f\n", (double)a / b);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d ", a / b);
printf("%d ", a % b);
printf("%.5f\n", (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 | 67 |
#include <stdio.h>
int main(void) {
long 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\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 = (double)a / (double)b;
printf("%d %d %.5f\n", d, r, f);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 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 | 73 |
//
// ?????????
//
#include <stdio.h>
int main() {
long a, b;
char line[30];
fgets(line, sizeof(line), stdin);
sscanf(line, "%d %d", &a, &b);
printf("%ld %ld %lf\n", a / b, a % b, (double)a / (double)b);
return 0;
} | //
// ?????????
//
#include <stdio.h>
int main() {
long a, b;
char line[30];
fgets(line, sizeof(line), stdin);
sscanf(line, "%ld %ld", &a, &b);
printf("%ld %ld %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 | 78 |
#include <stdio.h>
int main(void)
{
long a, b;
while (scanf("%ld %ld", &a, &b) != EOF)
{
printf("%ld", a / b);
printf("%ld", a % b);
printf("%.5lf\n", ((double)a / (double)b));
}
return 0;
} | #include <stdio.h>
int main(void)
{
long a, b;
while (scanf("%ld %ld", &a, &b) != EOF)
{
printf("%ld ", a / b);
printf("%ld ", a % b);
printf("%.5lf\n", ((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 | 78 |
#include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%d%d%f\n", a / b, a % b, (double)a / (double)b);
return 0;
} | #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%d %d %.5f\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 | 55 |
#include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %.5lf\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 %.8f\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], ["+", 3, 4, 0, 16, 31, 74, 51, 23, 0, 25], ["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 25]] | 0 | 55 |
#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 = (double)a / (double)b;
printf("%d,%d,%lf", 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 = (double)a / (double)b;
printf("%d %d %lf", 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 | 74 |
#include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d", &a);
scanf("%d", &b);
d = a + b;
r = a % b;
f = (double)a / b;
printf("%d %d %lf", d, r, f);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d", &a);
scanf("%d", &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %lf", 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 | 79 |
#include <stdio.h>
int main(void) {
int a, b;
double c;
scanf("%d%d", &a, &b);
c = 1.0 * a / b;
printf("%d%d%f\n", a / b, a % b, c);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
double c;
scanf("%d%d", &a, &b);
c = 1.0 * 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() {
int a, b;
double c;
scanf("%d%d", &a, &b);
c = a / b;
printf("%d %d %.5lf\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 %.5lf\n", a / b, a % b, c);
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 | 56 |
#include <stdio.h>
int main(void) {
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) {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %f\n", a / b, a % b, 1.0 * a / b);
return 0;
} | [["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48]] | 0 | 50 |
#include <stdio.h>
int main(int argc, const char *argv[]) {
int a, b, d, r;
double a1, b1, f;
scanf("%d %d", &a, &b);
d = a / b;
r = a - b;
a1 = a;
b1 = b;
f = a1 / b1;
printf("%d %d %.8lf\n", d, r, f);
return 0;
} | #include <stdio.h>
int main(int argc, const char *argv[]) {
int a, b, d, r;
double a1, b1, f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
a1 = a;
b1 = b;
f = a1 / b1;
printf("%d %d %.8lf\n", d, r, f);
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 33], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109]] | 0 | 89 |
#include <stdio.h>
int main(int argc, const char *argv[]) {
int d;
int r;
double f;
int a;
int b;
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(int argc, const char *argv[]) {
int d;
int r;
double f;
int a;
int b;
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, 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 | 80 |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void) {
char tmp[1000];
//??\???
fgets(tmp, sizeof(tmp), stdin);
int num1 = atoi(strtok(tmp, " "));
int num2 = atoi(strtok(NULL, " "));
//?°???°?????????????????¨
double fnum1 = num1;
double fnum2 = num2;
//???????... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void) {
char tmp[1000];
//??\???
fgets(tmp, sizeof(tmp), stdin);
int num1 = atoi(strtok(tmp, " "));
int num2 = atoi(strtok(NULL, " "));
//?°???°?????????????????¨
double fnum1 = num1;
double fnum2 = num2;
//???????... | [["-", 0, 1, 0, 2, 3, 4, 0, 2, 63, 22], ["-", 0, 2, 3, 4, 0, 2, 3, 4, 0, 24], ["-", 0, 2, 3, 4, 0, 2, 3, 4, 0, 25], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 31, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 31, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22]] | 0 | 109 |
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%d %d %f\n", a / b, a % b, a / b);
return 0;
} | 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, 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 | 47 |
#include <stdio.h>
int main(int argc, const char *argv[]) {
int a, b;
double c;
scanf("%d %d", &a, &b);
c = a / b;
printf("%d %d %f", a / b, a & b, c);
return 0;
} | #include <stdio.h>
int main(int argc, const char *argv[]) {
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, 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, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 109]] | 0 | 64 |
#include <stdio.h>
int main(void) {
double f;
int a, b, d, r;
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;
} | #include <stdio.h>
int main(void) {
double f;
int a, b, d, r;
scanf("%d %d", &a, &b);
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, 74, 51, 23, 0, 24], ["-", 0, 11, 12, 74, 51, 23, 0, 16, 12, 22], ["+", 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, 51, 22]] | 0 | 74 |
#include <stdio.h>
int main(void) {
long int a, b;
float f;
scanf("%d%d", &a, &b);
f = (double)a / b;
printf("%d %d %f\n", a / b, a % b, f);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
double f;
scanf("%d%d", &a, &b);
f = (double)a / b;
printf("%d %d %.5lf\n", a / b, a % b, f);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 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 | 61 |
#include <stdio.h>
int main() {
int a, b;
int d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % d;
f = a * 1.0 / b * 1.0;
printf("%d %d %lf\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 = a * 1.0 / b * 1.0;
printf("%d %d %lf\n", d, r, f);
return (0);
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22]] | 0 | 75 |
#include <stdio.h>
main() {
int a, b;
long double c;
scanf("%d%d", &a, &b);
c = (long 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, 30, 0, 9, 0, 43, 39, 86, 0, 96], ["-", 12, 16, 31, 74, 39, 77, 39, 86, 0, 96]] | 0 | 61 |
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d", &a);
scanf("%d", &b);
d = a / b;
r = a % b;
f = (double)(a / b);
printf("%d %d %.5lf\n", d, r, f);
return 0;
} | #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d", &a);
scanf("%d", &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, 74, 51, 23, 0, 24], ["-", 0, 11, 12, 74, 51, 23, 0, 16, 12, 22], ["+", 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, 51, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 80 |
#include <stdio.h>
int main(void) {
int a, b;
double f;
scanf("%d", &a);
scanf("%d", &b);
f = a / b;
printf("%d %d %f", a / b, a % b, f);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
double f;
scanf("%d", &a);
scanf("%d", &b);
f = 1.0 * a / b;
printf("%d %d %f\n", a / b, a % b, 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, 44]] | 0 | 63 |
#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 = a / b;
printf("%d %d %f\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 %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 | 75 |
#include <cstring>
#include <iomanip>
#include <iostream>
#include <string>
#define _CRT_SECURE_NO_WARNINGS
using namespace std;
int swap(int &a, int &b) {
int c;
c = a;
a = b;
b = c;
return 0;
}
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " " << static_cast<int>(a) / b << ... | #include <cstring>
#include <iomanip>
#include <iostream>
#include <string>
#define _CRT_SECURE_NO_WARNINGS
using namespace std;
int swap(int &a, int &b) {
int c;
c = a;
a = b;
b = c;
return 0;
}
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " " << fixed << static_cast<double... | [["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["-", 31, 2, 63, 346, 3, 347, 0, 77, 39, 40], ["+", 31, 2, 63, 346, 3, 347, 0, 77, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22]] | 1 | 95 |
#include <cstdio>
using namespace std;
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 <cstdio>
using namespace std;
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]] | 1 | 56 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " " << a / b << " " << setiosflags(ios::fixed)
<< setprecision(5) << 1.0 * a / b << endl;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " " << setiosflags(ios::fixed)
<< setprecision(5) << 1.0 * a / b << endl;
return 0;
}
| [["-", 31, 16, 31, 16, 31, 16, 12, 16, 17, 85], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 109]] | 1 | 66 |
#include <stdio.h>
int main() {
int a, b, d, r;
scanf("%d %d", &a, &b);
double f;
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;
scanf("%d %d", &a, &b);
double f;
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]] | 1 | 68 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
printf("%d %d %.5f\n", a / b, a % b, a / b);
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
printf("%d %d %f\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, 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]] | 1 | 46 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
double fa = a, fb = b;
printf("%d %d %.lf\n", a / b, a % b, fa / fb);
return 0;
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
double fa = a, fb = b;
printf("%d %d %.89lf\n", a / b, a % b, fa / fb);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 57 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main(void) {
int a, b;
int d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %f\¥n", d, r, f);
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main(void) {
int a, b;
int d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %f\n", d, r, f);
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 70 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
printf("%d %d %.5lf\n", a / b, a % b, (double)(a / b));
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
printf("%d %d %.8lf\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, 2, 3, 4, 0, 74, 51, 23, 0, 24], ["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 25]] | 1 | 50 |
#include <stdio.h>
int main(void) {
double a, b;
scanf("%lf %lf", &a, &b);
int l, m;
double n;
l = a / b;
m = a - (a / b) * b;
n = a / b;
printf("%d %d %f\n", l, m, n);
return 0;
} | #include <stdio.h>
int main(void) {
double a, b;
scanf("%lf %lf", &a, &b);
int l, m;
double n;
l = a / b;
m = a - l * b;
n = a / b;
printf("%d %d %f\n", l, m, n);
return 0;
} | [["-", 0, 11, 12, 16, 12, 16, 31, 23, 0, 24], ["-", 12, 16, 12, 16, 31, 23, 0, 16, 31, 22], ["-", 12, 16, 12, 16, 31, 23, 0, 16, 17, 85], ["-", 12, 16, 12, 16, 31, 23, 0, 16, 12, 22], ["-", 0, 11, 12, 16, 12, 16, 31, 23, 0, 25], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 31, 22]] | 1 | 76 |
#include <cstdio>
using namespace std;
int main() {
int a, b;
scanf("%d,%d", &a, &b);
printf("%d %d %.5lf\n", a / b, a % b, a / b);
} | #include <cstdio>
using namespace std;
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %.5lf", 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, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 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]] | 1 | 50 |
#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 %.6f\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 %.6f\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]] | 1 | 68 |
#include <iostream>
#include <stdio.h>
int main() {
int a, b;
std::cin >> a >> b;
int d, r;
double f;
d = a / b;
r = a % b;
f = (double)a / (double)b;
printf("%d, %d, %lf\n", d, r, f);
return 0;
} | #include <iostream>
#include <stdio.h>
int main() {
int a, b;
std::cin >> a >> b;
int d, r;
double f;
d = a / b;
r = a % b;
f = (double)a / (double)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]] | 1 | 72 |
#include <cstdio>
int main() {
int a, b;
scanf("%d %d", &a, &b);
int d = a / b;
int r = a % b;
double f = a / b;
printf("%d %d %f\n", d, r, f);
return 0;
} | #include <cstdio>
int main() {
int a, b;
scanf("%d %d", &a, &b);
int d = a / b;
int r = a % b;
double f = (double)a / (double)b;
printf("%d %d %f\n", d, r, f);
return 0;
} | [["+", 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, 43, 49, 50, 51, 16, 12, 74, 0, 24], ["+", 49, 50, 51, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 12, 74, 0, 25]] | 1 | 64 |
#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 = (double)a / b;
printf("%d %d %d", 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 = (double)a / b;
printf("%d %d %f\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, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 71 |
#include <math.h>
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
f = (double)a / b;
r = b - d;
printf("%d %d %f", 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;
f = (double)a / b;
r = a - b * d;
printf("%d %d %f", 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], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 48]] | 1 | 72 |
#include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %.5f", d, r, f);
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %.5f", 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]] | 1 | 64 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main(int argc, const char *argv[]) {
int a, b, c, d;
double e;
cin >> a >> b;
c = a / b;
d = a % b;
e = 1.0 * a / b;
// printf("%d " "%d,%.5lf\n",c,d,e);
// insert code here...
// cout << c <<" " << d << " " ;
printf("%d", c);
printf(... | #include <iostream>
#include <stdio.h>
using namespace std;
int main(int argc, const char *argv[]) {
int a, b, c, d;
double e;
cin >> a >> b;
c = a / b;
d = a % b;
e = 1.0 * a / b;
// printf("%d " "%d,%.5lf\n",c,d,e);
// insert code here...
// cout << c <<" " << d << " " ;
printf("%d", c);
printf(... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 109 |
#include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = a / b;
cout << d << " " << r << " " << f << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = (double)a / b;
cout << d << " " << r << " " << fixed << f << endl;
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, 16, 31, 16, 31, 16, 17, 151], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22]] | 1 | 69 |
#include <stdio.h>
int main() {
long a, b, d, r;
float f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (float)a / (float)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, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 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, 11, 12, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 11, 12, 16, 12, 74, 39, 77, 39, 40]] | 1 | 74 |
#include <cstdio>
#include <iostream>
int main() {
int a, b, d, r;
double f;
std::cin >> a >> b;
d = a / b, r = a % b, f = (double)a / (double)b;
std::cout << d << " " << r << " ";
printf("%.f\n", f);
return 0;
} | #include <cstdio>
#include <iostream>
int main() {
int a, b, d, r;
double f;
std::cin >> a >> b;
d = a / b, r = a % b, f = (double)a / (double)b;
std::cout << d << " " << r << " ";
printf("%.8f\n", f);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 83 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " " << fixed << (double)a / (double)b
<< endl;
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " " << fixed << (double)a / (double)b
<< endl;
return 0;
} | [["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6]] | 1 | 60 |
#include <cstdio>
#include <iostream>
using namespace std;
void cal(int a, int b) {
int f = (double)a / (double)b;
printf("%d %d %.5f\n", a / b, a % b, f);
}
int main() {
int a, b;
cin >> a >> b;
cal(a, b);
} | #include <cstdio>
#include <iostream>
using namespace std;
void cal(int a, int b) {
double f = (double)a / (double)b;
printf("%d %d %.5f\n", a / b, a % b, f);
}
int main() {
int a, b;
cin >> a >> b;
cal(a, b);
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 74 |
#include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % d;
f = 1.0 * a / 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 = 1.00000000000000 * a / b;
printf("%d %d %.14lf\n", d, r, f);
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 70 |
#include <cstdio>
int main() {
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", a, r, f);
}
| #include <cstdio>
int main() {
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);
}
| [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 66 |
#include <cstdio>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %lf/n", a / b, a % b, (double)a / b);
return 0;
} | #include <cstdio>
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, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 51 |
#include <cstdio>
using namespace std;
int main(void) {
int a, b;
scanf("%d%d", a, b);
printf("%d %d %.5f", a / b, a % b, (double)a / (double)b);
return 0;
} | #include <cstdio>
using namespace std;
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
printf("%d %d %.5f", a / b, a % b, (double)a / (double)b);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 1 | 57 |
#include <iostream>
using namespace std;
#include <iomanip>
int main() {
int a, b, r, d;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = (r * 1.0) / b;
cout << d << " " << r << " " << setprecision(20) << f << endl;
return 0;
} | #include <iostream>
using namespace std;
#include <iomanip>
int main() {
int a, b, r, d;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = (a * 1.0) / b;
cout << d << " " << r << " " << fixed << setprecision(10) << f << endl;
return 0;
} | [["-", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 151], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13]] | 1 | 80 |
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
cout << a / b << " " << a % b << " " << printf("%.5lf\n", 1.0 * a / b)
<< endl;
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
cout << a / b << " " << a % b << " ";
printf("%.5lf\n", 1.0 * a / b);
return 0;
} | [["-", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 69 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b;
int d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = a / b;
cout << d << " " << r << " ";
cout << fixed << setprecision(5) << f << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b;
int d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = (double)a / b;
cout << d << " " << r << " ";
cout << fixed << setprecision(5) << f << endl;
} | [["+", 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]] | 1 | 78 |
#include <stdio.h>
int main(void)
{
int a, b, d, r, f;
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, 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, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 71 |
#include <stdio.h>
int main() {
double a, b;
scanf("%lf %lf", &a, &b);
printf("%d:%d:%f\n", (int)a / (int)b, (int)a % (int)b, a / b);
} | #include <stdio.h>
int main() {
double a, b;
scanf("%lf %lf", &a, &b);
printf("%d %d %.8f\n", (int)a / (int)b, (int)a % (int)b, a / b);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 58 |
#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, 00000 / b * 1, 00000;
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 = a * 1.00000 / b * 1.00000;
printf("%d %d %f", d, r, f);
return 0;
} | [["-", 0, 1, 0, 34, 31, 11, 12, 16, 12, 13], ["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["-", 0, 34, 12, 34, 31, 16, 31, 16, 31, 13], ["+", 0, 11, 12, 16, 31, 16, 31, 16, 12, 13], ["-", 0, 1, 0, 34, 12, 34, 31, 16, 12, 13], ["-", 8, 9, 0, 1, 0, 34, 12, 34, 0, 21], ["-", 8, 9, 0, 1, 0, 34, 12, 34, 12, 13], ["+", 8, 9, 0, 1... | 1 | 75 |
#define _GRIBCXX_DEBUG
#include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <numeric>
#in... | #define _GRIBCXX_DEBUG
#include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <numeric>
#in... | [["-", 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, 31, 74, 0, 24], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 25]] | 1 | 303 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, c;
cin >> a >> c;
printf("%d %d %.2f\n", a / c, a % c, a / (c * 1.0));
return (0);
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, c;
cin >> a >> c;
printf("%d %d %.5f\n", a / c, a % c, a / (c * 1.0));
return (0);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 54 |
#include "stdio.h"
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " ";
printf("%.8f\n", a / b);
return 0;
} | #include "stdio.h"
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " ";
printf("%.8f\n", (double)a / (double)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]] | 1 | 60 |
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " ";
cout << a % b << " ";
printf("%. 5lf\n", 1.0 * a / b);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " ";
cout << a % b << " ";
printf("%.5lf\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]] | 1 | 62 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; ++i)
#define FOR(i, a, b) for (int i = a; i... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; ++i)
#define FOR(i, a, b) for (int i = a; i... | [["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 85]] | 1 | 146 |
#include <stdio.h>
int main(void) {
float f;
int a, b, d, r;
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) {
double f;
int a, b, d, r;
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, 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, 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, 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,... | 1 | 68 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
long long a, b;
cin >> a >> b;
printf("%l %l %.5f\n", a / b, a % b, (double)a / (double)b);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
long long a, b;
cin >> a >> b;
printf("%d %d %.5f\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]] | 1 | 55 |
#include <stdio.h>
int main() {
int a, b, d = 0, r = 0;
double f = 0.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() {
int a, b, d = 0, r = 0;
double f = 0.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]] | 1 | 77 |
#include <stdio.h>
int main(void)
{
int a, b, d, r;
double f = 0;
scanf("%d", &a);
scanf("%d", &b);
d = a / b;
r = a % b;
f = (double)a / (double)b;
printf("%d %d &lf\n", d, r, f);
return 0;
} | #include <stdio.h>
int main(void)
{
int a, b, d, r;
double f = 0;
scanf("%d", &a);
scanf("%d", &b);
d = a / b;
r = a % b;
f = (double)a / (double)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]] | 1 | 84 |
#include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a + b;
r = a % b;
f = (double)a / (double)b;
printf("%d %d %f", d, r, f);
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = (double)a / (double)b;
printf("%d %d %f", 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]] | 1 | 70 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <functional>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, d, r;
long double f;
cin >> a >> b;
d = floor(a / b);
r = a % b;
f = (long double)a / b;
printf("%d %d %ld", d,... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <functional>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, d, r;
long double f;
cin >> a >> b;
d = floor(a / b);
r = a % b;
f = (long double)a / b;
printf("%d %d %LF", d,... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 83 |
/*
????????°??§???????????¨????????????
*/
#include <algorithm>
#include <ctype.h>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
#define LLU unsigned long long int
#defin... | /*
????????°??§???????????¨????????????
*/
#include <algorithm>
#include <ctype.h>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
#define LLU unsigned long long int
#defin... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 402 |
#include "bits/stdc++.h"
using namespace std;
int main() {
int a, b;
cin >> a >> b;
double f = (double)a / b;
printf("%d,%d,%f", a / b, a % b, f);
return 0;
} | #include "bits/stdc++.h"
using namespace std;
int main() {
int a, b;
cin >> a >> b;
double f = (double)a / b;
printf("%d %d %f\n", a / b, a % b, f);
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]] | 1 | 55 |
// ConsoleApplication7.cpp : ???????????????
// ??¢????????±????????§????????¨????????? ?????????????????????????????????
//
#include <stdio.h>
int main(int argc, char *argv[]) {
int i;
int a, b;
double af, bf;
char temp[22];
fgets(temp, sizeof(temp), stdin);
sscanf(temp, "%d %d", &a, &b);
af = (doubl... | // ConsoleApplication7.cpp : ???????????????
// ??¢????????±????????§????????¨????????? ?????????????????????????????????
//
#include <stdio.h>
int main(int argc, char *argv[]) {
int i;
int a, b;
double af, bf;
char temp[22];
fgets(temp, sizeof(temp), stdin);
sscanf(temp, "%d %d", &a, &b);
af = (doubl... | [["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 85]] | 1 | 102 |
#include <math.h>
#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 <math.h>
#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, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 54 |
#include <iostream>
#include <stdio.h>
int main(int argc, char const *argv[]) {
int a;
int b;
std::cin >> a >> b;
printf("%d ", a / b);
printf("%d ", a % b);
printf("%f \n", (double)(a / b));
return 0;
} | #include <iostream>
#include <stdio.h>
int main(int argc, char const *argv[]) {
int a;
int b;
std::cin >> a >> b;
printf("%d ", a / b);
printf("%d ", a % b);
printf("%f \n", (double)a / (double)b);
return 0;
} | [["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 24], ["-", 3, 4, 0, 74, 51, 23, 0, 16, 12, 22], ["+", 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, 51, 22]] | 1 | 75 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int d = a / b;
int r = a % b;
float f = a / b;
cout << d << " " << r << " " << std::fixed << std::setprecision(5) << f
<< endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int d = a / b;
int r = a % b;
double f = a * 1.0 / b;
cout << d << " " << r << " " << std::fixed << std::setprecision(5) << f
<< endl;
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 17, 48], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13]] | 1 | 78 |
#include <stdio.h>
int main(void) {
int a, b = 0;
scanf("%d %d", &a, &b);
printf("%d %d %5f\n", a / b, a % b, (float)(a / b));
return 0;
} | #include <stdio.h>
int main(void) {
int a, b = 0;
scanf("%d %d", &a, &b);
printf("%d %d %5f\n", a / b, a % b, (double)a / b);
return 0;
} | [["-", 0, 2, 3, 4, 0, 74, 39, 77, 39, 40], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 24], ["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 25]] | 1 | 57 |
#include <iomanip>
#include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
std::cout << a / b << ' ' << a / b << ' ' << std::fixed
<< std::setprecision(5) << static_cast<double>(a) / b << std::endl;
return 0;
} | #include <iomanip>
#include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
std::cout << a / b << ' ' << a % b << ' ' << std::fixed
<< std::setprecision(5) << static_cast<double>(a) / b << std::endl;
return 0;
} | [["-", 31, 16, 31, 16, 31, 16, 12, 16, 17, 85], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 109]] | 1 | 71 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double f;
long a, b, d, r;
cin >> a >> b;
d = a / b;
r = a % b;
f = (double)a / b;
printf("%ld %ld %lf\n");
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double f;
long a, b, d, r;
cin >> a >> b;
d = a / b;
r = a % b;
f = (double)a / b;
printf("%ld %ld %lf\n", d, r, f);
return 0;
} | [["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 64 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b = 0;
cin >> a >> b;
cout << a / b << " " << a % b << " ";
double da, db = 0;
da = (double)a;
db = (double)b;
cout << fixed << setprecision(2);
cout << da / db << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b = 0;
cin >> a >> b;
cout << a / b << " " << a % b << " ";
double da, db = 0;
da = (double)a;
db = (double)b;
cout << fixed << setprecision(5);
cout << da / db << endl;
return 0;
} | [["-", 0, 1, 0, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 1, 0, 16, 12, 2, 3, 4, 0, 13]] | 1 | 86 |
#include "cstdio"
#include <math.h>
int main() {
int a, b;
double f;
scanf("%f %f", &a, &b);
f = (double)a / b;
printf("%d %d %f\n", a / b, a % b, f);
} | #include "cstdio"
#include <math.h>
int main() {
int a, b;
double f;
scanf("%d %d", &a, &b);
f = (double)a / b;
printf("%d %d %f\n", a / b, a % b, f);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 60 |
#include <stdio.h>
int a, b, d, r;
double f;
int main() {
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %lf\n", d, r, f);
} | #include <stdio.h>
int a, b, d, r;
double f;
int main() {
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = (double)a / b;
printf("%d %d %lf\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]] | 1 | 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 = a / b;
printf("%d %d %5lf", 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 %5lf", 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]] | 1 | 68 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int a, b;
cin >> a >> b;
printf("%d, %d %lf\n", a / b, a % b, double(a / b));
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int a, b;
cin >> a >> b;
printf("%d %d %f\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, 1, 0, 2, 3, 4, 0, 2, 63, 40], ["+", 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, 2, 3, 4, 0, 25]] | 1 | 65 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
long long int a, b, d, r;
double A, B, f;
cin >> A >> B;
a = A;
b = B;
d = a / b;
r = a % b;
f = a / b;
cout << d << " " << r << " " << fixed << setprecision(5) << f << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
long long int a, b, d, r;
double A, B, f;
cin >> A >> B;
a = A;
b = B;
d = a / b;
r = a % b;
f = A / B;
cout << d << " " << r << " " << fixed << setprecision(5) << f << endl;
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]] | 1 | 92 |
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
printf("%d %d %.5f\n", a / b, a % b, (float)(a / b));
return 0;
}
| #include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
printf("%d %d %.8lf\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, 2, 3, 4, 0, 74, 39, 77, 39, 40], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 24], ["-", 0, 2, 3, 4, 0, 74, 51, 23, 0, 25]] | 1 | 57 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
long a, b;
long d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %.5lf\n", d, r, f);
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
long a, b;
long d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = 1.0 * 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]] | 1 | 65 |
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = (double)a / (double)b;
printf("%d %d %.5lf\n", a, b, f);
return 0;
}
| #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = (double)a / (double)b;
printf("%d %d %.5lf\n", d, r, f);
return 0;
}
| [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 73 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
double d, r, f;
d = a / b;
r = a % b;
f = (double)a / b;
cout << d << " " << r << " ";
cout << fixed << setprecision(3) << f << endl;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int d, r;
double f;
d = a / b;
r = a % b;
f = (double)a / b;
cout << d << " " << r << " ";
cout << fixed << setprecision(8) << f << endl;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13]] | 1 | 83 |
#include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = double(a) / b;
cout << d << " " << r << " " << setprecision(20) << scientific << f << endl;
return 0;
}
| #include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = double(a) / b;
cout << d << " " << r << " " << fixed << setprecision(20) << f << endl;
return 0;
}
| [["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 17, 151], ["-", 0, 1, 0, 16, 31, 16, 31, 16, 17, 151], ["-", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22]] | 1 | 83 |
#include <bits/stdc++.h>
using namespace std;
int main() {
cout << fixed << setprecision(12);
int a, b;
cin >> a, b;
cout << a / b << " " << a % b << " " << (double)a / b << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
cout << fixed << setprecision(12);
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " " << (double)a / b << endl;
return 0;
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152]] | 1 | 62 |
#include <stdio.h>
int main() {
int a, b, c, d;
double e;
scanf("%d %d", &a, &b);
c = a / b;
d = a % b;
e = a / b;
printf("%d %d %.5f\n", c, d, e);
return 0;
}
| #include <stdio.h>
int main() {
int a, b, c, d;
double e;
scanf("%d %d", &a, &b);
c = a / b;
d = a % b;
e = 1.0 * a / b;
printf("%d %d %.5f\n", c, d, e);
return 0;
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 1 | 68 |
#include <stdio.h>
int main(void) {
int a, b, d, r;
double f;
scanf("%d", &a);
scanf("%d", &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", &a);
scanf("%d", &b);
d = a / b;
r = a % b;
f = (double)a / (double)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, 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]] | 1 | 75 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
printf("%d %d %d\n", a / b, a % b, (double)a / b);
return 0;
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> 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]] | 1 | 51 |
/*
* iraira.cpp
*
* Created on: 2018/05/02
* Author: J01003
*/
/*
* taete.cpp
*
* Created on: 2018/04/26
* Author: J01003
*/
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b, r;
double f1, f2;
cin >> a >> b;
f1 = a / b;
r = a % b;
f2 = 1.00000 * a / b;... | /*
* iraira.cpp
*
* Created on: 2018/05/02
* Author: J01003
*/
/*
* taete.cpp
*
* Created on: 2018/04/26
* Author: J01003
*/
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b, r;
double f1, f2;
cin >> a >> b;
f1 = a / b;
r = a % b;
f2 = 1.00000 * a / b;... | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 31, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 85], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 109]] | 1 | 71 |
#include <cstdio>
int main() {
int a, b;
scanf("%d %d", &a, &b);
int d = a / b;
int r = a % b;
double f = (double)a / b;
printf("%d %d,%.5f\n", d, r, f);
return 0;
}
| #include <cstdio>
int main() {
int a, b;
scanf("%d %d", &a, &b);
int d = a / b;
int r = a % b;
double f = (double)a / b;
printf("%d %d %.5f\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]] | 1 | 67 |
#include <cstdio>
int main() {
int a, 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 <cstdio>
int main() {
int a, b;
scanf("%d %d", &a, &b);
int d = a / b;
int r = a % b;
double f = (double)a / b;
printf("%d %d %5lf\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]] | 1 | 61 |
#include <stdio.h>
int main(void) {
int a;
int b;
int d;
int r;
double f;
scanf("%d%d", &a, &b);
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;
int b;
int d;
int 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;
}
| [["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 74 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
cout << x / y << " " << x % y << " " << printf("%.8lf\n", double(x) / y);
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
cout << x / y << " " << x % y << " ";
printf("%.8lf\n", double(x) / y);
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 58 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int d = a / b;
int r = a % b;
int f = (double)a / b;
printf("%d %d %lf", d, r, f);
return 0;
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int d = a / b;
int r = a % b;
double f = (double)a / b;
printf("%d %d %f", 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, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 65 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a, b;
printf("%d %d %f\n", a / b, a % b, (double)a / b);
return 0;
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
printf("%d %d %f\n", a / b, a % b, (double)a / b);
return 0;
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152]] | 1 | 51 |
#include <cstdio>
#include <iostream>
using namespace std;
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 %lf\n", d, r, f);
return 0;
}
| #include <cstdio>
#include <iostream>
using namespace std;
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, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 75 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.