problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p03759 | #include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
puts(b * 2 - a - c ? "No" : "Yes");
} | #include <iostream>
int main() {
int a, b, c;
std::cin >> a >> b >> c;
puts(b * 2 - a - c ? "NO" : "YES");
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,405,521 | 1,405,522 | u168017191 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,527 | 1,405,528 | u396266329 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,535 | 1,405,536 | u689206254 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - a) {
/* code */
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
/* code */
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,405,543 | 1,405,544 | u376859266 | cpp |
p03759 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if ((b - c) == (c - b))
printf("YES");
else
printf("NO");
return 0;
} | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if ((b - a) == (c - b))
printf("YES");
else
printf("NO");
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,405,545 | 1,405,546 | u033208015 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes";
else
cout << "No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,554 | 1,405,555 | u489372131 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,569 | 1,405,570 | u158583803 | cpp |
p03759 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long int ll;
const ll MOD = 1000000007;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "Yes" : "No") << endl;
return 0;
} | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long int ll;
const ll MOD = 1000000007;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "YES" : "NO") << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,584 | 1,405,585 | u075575942 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#define debug(var) cerr << #var << " = " << var << endl;
#else
#define debug(var)
#endif
void init() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
}
void solve() {
int a, b, c;
cin >> a >> b >> c;
puts((b - a == c - b) ? "Yes" : "No");... | #include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#define debug(var) cerr << #var << " = " << var << endl;
#else
#define debug(var)
#endif
void init() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
}
void solve() {
int a, b, c;
cin >> a >> b >> c;
puts((b - a == c - b) ? "YES" : "NO");... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,405,594 | 1,405,595 | u953463534 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,606 | 1,405,607 | u975719989 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,608 | 1,405,609 | u886188867 | cpp |
p03759 | //#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9 + 5;
typedef long long ll;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (2 * a == b + c)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| //#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9 + 5;
typedef long long ll;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (2 * b == a + c)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 1,405,611 | 1,405,612 | u614128939 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes";
else
cout << "No";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 1,405,617 | 1,405,618 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"io.output.change",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,405,619 | 1,405,620 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,621 | 1,405,620 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "yes" << endl;
else
cout << "no" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,622 | 1,405,620 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,405,619 | 1,405,623 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,621 | 1,405,623 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "yes" << endl;
else
cout << "no" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,622 | 1,405,623 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"io.output.change",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,405,619 | 1,405,625 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,621 | 1,405,625 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "yes" << endl;
else
cout << "no" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,622 | 1,405,625 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes";
else
cout << "No";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 1,405,617 | 1,405,627 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
string sto;
int main() {
cin >> a >> b >> c;
sto = "NO";
if (c - a == b - a * 2) {
sto = "YES";
}
cout << sto << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
string sto;
int main() {
cin >> a >> b >> c;
sto = "NO";
if (c - a == (b - a) * 2) {
sto = "YES";
}
cout << sto << endl;
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 1,405,629 | 1,405,630 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (abs(b - a) == abs(c - b)) {
cout << "YES\n";
return 0;
}
cout << "NO\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES\n";
return 0;
}
cout << "NO\n";
return 0;
} | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,405,631 | 1,405,632 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "yes" << endl;
else
cout << "no" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
// freopen(".in","r",stdin);
// freopen(".out","w",stdout);
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,622 | 1,405,633 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "yes" << endl;
else
cout << "no" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
long long a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,622 | 1,405,635 | u723721005 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,640 | 1,405,641 | u476418095 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,642 | 1,405,641 | u476418095 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,643 | 1,405,641 | u476418095 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (abs(b - a) == abs(c - b))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,644 | 1,405,641 | u476418095 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,640 | 1,405,646 | u476418095 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,642 | 1,405,646 | u476418095 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,643 | 1,405,646 | u476418095 | cpp |
p03759 | #include <cstdio>
int n, m, s[200000], a, l, r, mid, ans;
int main() {
scanf("%d %d %d", &l, &mid, &r);
if (mid - l == r - mid)
printf("NO");
else
printf("YES");
// scanf("%d",&n);
// for(int i=1;i<=n;i++) scanf("%d",&s[i]);
// scanf("%d",&m);
// for(int i=1;i<=m;i++){
// scanf("%d",&a);
// ... | #include <cstdio>
int n, m, s[200000], a, l, r, mid, ans;
int main() {
scanf("%d %d %d", &l, &mid, &r);
if (mid - l == r - mid)
printf("YES");
else
printf("NO");
return 0;
} | [
"call.remove",
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add",
"call.add"
] | 1,405,650 | 1,405,651 | u476418095 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "YES" << endl;
} else
cout << "NO" << endl;
return 0;
}
| [
"expression.operation.binary.change",
"control_flow.branch.else.remove",
"literal.string.change",
"io.output.change",
"control_flow.branch.else.add"
] | 1,405,647 | 1,405,654 | u476418095 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - c == c - b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,405,658 | 1,405,659 | u050641473 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (abs(a - b) == abs(b - c)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,405,669 | 1,405,670 | u018807058 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long int ll;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a && c - b) {
cout << "YES" << endl;
return 0;
}
cout << "NO" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long int ll;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "YES" << endl;
return 0;
}
cout << "NO" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 1,405,688 | 1,405,689 | u318027064 | cpp |
p03759 | #include <algorithm>
#include <cstdlib>
#include <iomanip> //小数点以下を表示させる(setprecision())
#include <iostream> //入出力
#include <list>
#include <map>
#include <math.h> //算術演算子
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
//#include <bits/stdc++.h>
using namespace ... | #include <algorithm>
#include <cstdlib>
#include <iomanip> //小数点以下を表示させる(setprecision())
#include <iostream> //入出力
#include <list>
#include <map>
#include <math.h> //算術演算子
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
//#include <bits/stdc++.h>
using namespace ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,405,712 | 1,405,713 | u966508131 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - a) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,405,719 | 1,405,720 | u646051775 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if ((b - a) == (c - b)) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if ((b - a) == (c - b)) {
printf("YES");
} else {
printf("NO");
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,405,725 | 1,405,726 | u270098435 | cpp |
p03759 | #define _CRT_SECURE_NO_WARNINGS
#define MATH_PI 3.14159265358979323846264338327950288419716939
#define DIVIDER9 1000000007
#define lli long long int
#include <fstream>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <string.h>
using namespace std;
#ifdef _WIN32
#pragma warning(disable : 4101)
signe... | #define _CRT_SECURE_NO_WARNINGS
#define MATH_PI 3.14159265358979323846264338327950288419716939
#define DIVIDER9 1000000007
#define lli long long int
#include <fstream>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <string.h>
using namespace std;
#ifdef _WIN32
#pragma warning(disable : 4101)
signe... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change"
] | 1,405,731 | 1,405,732 | u575781793 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else
cout << "NO" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,738 | 1,405,739 | u490963780 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (abs(b - a) == abs(c - b)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,405,740 | 1,405,741 | u096717230 | cpp |
p03759 | #include "iomanip"
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <set>
#include <unordered_set>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << ((b - a == c - b) ? "Yes" : "No")... | #include "iomanip"
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <set>
#include <unordered_set>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << ((b - a == c - b) ? "YES" : "NO")... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,747 | 1,405,748 | u992675902 | cpp |
p03759 | #include <bits/stdc++.h>
typedef long long ll;
#define REP(i, n) for (int i = 0; i < n; i++)
#define ALL(x) (x).begin(), (x).end()
using namespace std;
//素因数分解
vector<pair<ll, int>> factorize(ll n) {
vector<pair<ll, int>> res;
for (ll i = 2; i * i <= n; i++) {
if (n % i)
continue;
res.emplace_back(i,... | #include <bits/stdc++.h>
typedef long long ll;
#define REP(i, n) for (int i = 0; i < n; i++)
#define ALL(x) (x).begin(), (x).end()
using namespace std;
//素因数分解
vector<pair<ll, int>> factorize(ll n) {
vector<pair<ll, int>> res;
for (ll i = 2; i * i <= n; i++) {
if (n % i)
continue;
res.emplace_back(i,... | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,405,907 | 1,405,908 | u355371431 | cpp |
p03759 | #include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
#define rep(i, n) for... | #include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
#define rep(i, n) for... | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,405,909 | 1,405,910 | u834415466 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a + b == 2 * c ? "YES" : "NO") << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << ((a + c) == 2 * b ? "YES" : "NO") << endl;
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 1,405,915 | 1,405,916 | u098923136 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"expression.operation.binary.add"
] | 1,405,925 | 1,405,926 | u512624048 | cpp |
p03759 | #include <iostream>
int main() {
int i, j, k;
std::cin >> i >> j >> k;
if (std::abs(i - j) == std::abs(j - k)) {
std::cout << "YES" << std::endl;
} else {
std::cout << "NO" << std::endl;
}
return 0;
} | #include <iostream>
int main() {
int i, j, k;
std::cin >> i >> j >> k;
if ((i - j) == (j - k)) {
std::cout << "YES" << std::endl;
} else {
std::cout << "NO" << std::endl;
}
return 0;
} | [] | 1,405,929 | 1,405,930 | u491682172 | cpp |
p03759 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {
int a, b, c;
cin >> a >> b >> c;
... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {
int a, b, c;
cin >> a >> b >> c;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,931 | 1,405,932 | u283907492 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep
#define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for
#define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep
#define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for
#define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,933 | 1,405,934 | u801513186 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (2 * B == A + B) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (2 * B == A + C) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,405,935 | 1,405,936 | u028572059 | cpp |
p03759 | // ι⊥l
#include <iostream>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
cout << (a - b == b - c ? "YES" : "No");
} | // ι⊥l
#include <iostream>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
cout << (a - b == b - c ? "YES" : "NO");
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,948 | 1,405,949 | u047554023 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (C - B == B - A)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (C - B == B - A)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,956 | 1,405,957 | u393754572 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); i++)
#define INF 1001001001
#define LLINF 1001001001001001001
#define MOD 1000000007
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> bool chmin(T &a,... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); i++)
#define INF 1001001001
#define LLINF 1001001001001001001
#define MOD 1000000007
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> bool chmin(T &a,... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,958 | 1,405,959 | u616053863 | cpp |
p03759 | #include "bits/stdc++.h"
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include "bits/stdc++.h"
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,960 | 1,405,961 | u938841444 | cpp |
p03759 | #include <bits/stdc++.h>
typedef long long ll;
const int INF = 1e9;
const int MOD = 1e9 + 7;
const ll LINF = 1e18;
using namespace std;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define rrep(i, a, b) for (int i = a; i <= b; i++)
#define revrep(i, s) for (int i = s - 1; i > 0; i--)
#define revrrep(i, s) for (in... | #include <bits/stdc++.h>
typedef long long ll;
const int INF = 1e9;
const int MOD = 1e9 + 7;
const ll LINF = 1e18;
using namespace std;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define rrep(i, a, b) for (int i = a; i <= b; i++)
#define revrep(i, s) for (int i = s - 1; i > 0; i--)
#define revrrep(i, s) for (in... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,964 | 1,405,965 | u729217226 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "Yes" : "No");
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "YES" : "NO");
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,970 | 1,405,971 | u082801599 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
ll max(ll a, ll b) {
if (a >= b)
return a;
else if (a < b)
return b;
}
int gcd(int a, int b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
int main() {
ll a, b, c;
cin >>... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
ll max(ll a, ll b) {
if (a >= b)
return a;
else if (a < b)
return b;
}
int gcd(int a, int b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
int main() {
ll a, b, c;
cin >>... | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,405,978 | 1,405,979 | u245414044 | cpp |
p03759 | #include <bits/stdc++.h>
#include <type_traits>
using namespace std;
#define FOR(i, a, b) for (int i = int(a); i < int(b); i++)
#define REP(i, b) FOR(i, 0, b)
#define MP make_pair
#define PB push_back
#define EB emplace_back
#define ALL(x) x.begin(), x.end()
using pi = pair<int, int>;
using vi = vector<int>;
using ld... | #include <bits/stdc++.h>
#include <type_traits>
using namespace std;
#define FOR(i, a, b) for (int i = int(a); i < int(b); i++)
#define REP(i, b) FOR(i, 0, b)
#define MP make_pair
#define PB push_back
#define EB emplace_back
#define ALL(x) x.begin(), x.end()
using pi = pair<int, int>;
using vi = vector<int>;
using ld... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,982 | 1,405,983 | u075520262 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define MOD 10e9 + 7
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - a)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define MOD 10e9 + 7
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,405,992 | 1,405,993 | u547754910 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
#define r(i, n) for (int i = 0; i < n; i++)
#define INF 1000000000000
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define r(i, n) for (int i = 0; i < n; i++)
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,994 | 1,405,995 | u748823501 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (c - b == b - a)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (c - b == b - a)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,996 | 1,405,997 | u459965464 | cpp |
p03759 | #include <algorithm>
#include <bits/stdc++.h>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#incl... | #include <algorithm>
#include <bits/stdc++.h>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#incl... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,998 | 1,405,999 | u043443359 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <istream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
#define rep0(i, n) for (int i = 0; i <= (n); ++i)
#define rep1(i, n) for (int i = 1; i ... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <istream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
#define rep0(i, n) for (int i = 0; i <= (n); ++i)
#define rep1(i, n) for (int i = 1; i ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,002 | 1,406,003 | u820341516 | cpp |
p03759 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ALL(v) (v).begin(), (v).end()
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + c == 2 * b) {
cout << "YES" << endl;
} else... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ALL(v) (v).begin(), (v).end()
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + c == 2 * b) {
cout << "YES" << endl;
} else... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,012 | 1,406,013 | u852449189 | cpp |
p03759 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin.tie(0);
ios::sync_with_stdio(false);
cin >> a >> b >> c;
cout << (b - a == c - b ? "Yes" : "No") << "\n";
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin.tie(0);
ios::sync_with_stdio(false);
cin >> a >> b >> c;
cout << (b - a == c - b ? "YES" : "NO") << "\n";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,018 | 1,406,019 | u398394831 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes";
else
cout << "No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,757 | 1,405,758 | u247366051 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c)
cout << "YES" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,759 | 1,405,760 | u247366051 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
return 0;
} else {
cout << "NO" << endl;
return 0;
}
} | [
"control_flow.return.add",
"control_flow.return.0.add",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,763 | 1,405,764 | u247366051 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c)
cout << "YES" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c) {
cout << "YES" << endl;
return 0;
}
cout << "NO" << endl;
return 0;
} | [
"control_flow.return.add",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,759 | 1,405,768 | u247366051 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0; //第二次提交同样代码,加一个注释-
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,765 | 1,405,773 | u247366051 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (abs(a - b) == abs(b - c))
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,405,776 | 1,405,777 | u247366051 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "YES";
else
cout << "No";
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "YES";
else
cout << "NO";
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,787 | 1,405,788 | u639300218 | cpp |
p03759 | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
a = b - a;
c = c - b;
if (a == c) {
printf("Yes");
} else {
printf("No");
}
return 0;
}
| #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
a = b - a;
c = c - b;
if (a == c) {
printf("YES");
} else {
printf("NO");
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,405,789 | 1,405,790 | u313629793 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES\n";
}
cout << "NO";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES\n";
} else
cout << "NO";
return 0;
} | [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,405,791 | 1,405,792 | u281694483 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (a - b == b - c)
cout << "YES" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (a - b == b - c) {
cout << "YES" << endl;
return 0;
}
cout << "NO" << endl;
return 0;
} | [
"control_flow.return.add",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,795 | 1,405,796 | u426964396 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes";
else
cout << "No";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,797 | 1,405,798 | u426964396 | cpp |
p03759 | #include <iostream>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes";
else
cout << "No";
return 0;
} | #include <iostream>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,799 | 1,405,800 | u426964396 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes";
else
cout << "No";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,797 | 1,405,801 | u426964396 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0; //第二次提交同样代码,加一个注释
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,802 | 1,405,804 | u426964396 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,802 | 1,405,809 | u426964396 | cpp |
p03759 | #include <cstring>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <cstring>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,811 | 1,405,812 | u426964396 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "yes" << endl;
else
cout << "no" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,815 | 1,405,816 | u263933075 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "yes" << endl;
else
cout << "no" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 1,405,817 | 1,405,816 | u263933075 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "yes" << endl;
else
cout << "no" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,815 | 1,405,819 | u263933075 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "yes" << endl;
else
cout << "no" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 1,405,817 | 1,405,819 | u263933075 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - a))
cout << "YES";
else
cout << "NO";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
return 0;
} | [
"control_flow.branch.if.condition.change",
"identifier.change"
] | 1,405,822 | 1,405,823 | u263933075 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes";
else
cout << "No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,830 | 1,405,831 | u263933075 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (abs(a - b) == abs(b - c))
cout << "YES";
else
cout << "NO";
cout << endl;
return 0;
} | #include <bits/stdc++.h> //头文件
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (a - b == b - c)
cout << "YES"; //如果符合条件
else
cout << "NO"; //否则
cout << endl; //别忘了回车
return 0; //完美结束
} | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,405,833 | 1,405,834 | u263933075 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <utility>
#include <vector>
typedef long long ll;
using namespace std;
int main() {
int a, b... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <utility>
#include <vector>
typedef long long ll;
using namespace std;
int main() {
int a, b... | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,405,864 | 1,405,865 | u573909039 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (abs(b - a) == abs(c - b)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"control_flow.branch.if.condition.change"
] | 1,405,866 | 1,405,867 | u543466827 | cpp |
p03759 | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define reps(i, l, n) for (int i = (l); i <= (n); i++)
template <class T> using vt = vector<T>;
template <class T> using vvt = vector<vector<T>>;
int main() {
int a, b, c;
cin >> a >> b >> c;
i... | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define reps(i, l, n) for (int i = (l); i <= (n); i++)
template <class T> using vt = vector<T>;
template <class T> using vvt = vector<vector<T>>;
int main() {
int a, b, c;
cin >> a >> b >> c;
i... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,405,878 | 1,405,879 | u705561278 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,027 | 1,406,028 | u671641509 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
| [
"variable_declaration.add",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,029 | 1,406,028 | u671641509 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,032 | 1,406,033 | u178957871 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "Yes";
else
cout << "No";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "YES";
else
cout << "NO";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,034 | 1,406,035 | u265789933 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "No";
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES";
else
cout << "NO";
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,051 | 1,406,052 | u924785929 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.