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>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == 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";
} | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,053 | 1,406,052 | u924785929 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == c - b)
cout << "YES";
else
cout << "NO";
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c)
cout << "YES";
else
cout << "NO";
} | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 1,406,054 | 1,406,055 | u659075447 | cpp |
p03759 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep1(i, n) for (int i = 1; i <= (n); ++i)
#define repi(i, a, b) for (int i = a; i <= (b); ++i)
#define rrep(i, n) for (int i = (n - 1); i >= 0; --i)
#define ALL(obj) (obj).begin(), (obj).end()
#define RALL(obj) (obj).rbegin(), (obj).rend()... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep1(i, n) for (int i = 1; i <= (n); ++i)
#define repi(i, a, b) for (int i = a; i <= (b); ++i)
#define rrep(i, n) for (int i = (n - 1); i >= 0; --i)
#define ALL(obj) (obj).begin(), (obj).end()
#define RALL(obj) (obj).rbegin(), (obj).rend()... | [
"identifier.change",
"control_flow.loop.for.condition.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 1,406,056 | 1,406,057 | u281168735 | cpp |
p03759 | #include <iostream>
#include <stdlib.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 <iostream>
#include <stdlib.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,406,066 | 1,406,067 | u172258329 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
string s = "No";
cin >> a >> b >> c;
if (a + c == 2 * b)
s = "Yes";
cout << s << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
string s = "NO";
cin >> a >> b >> c;
if (a + c == 2 * b)
s = "YES";
cout << s << endl;
}
| [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 1,406,068 | 1,406,069 | u298768617 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - c == 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;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,079 | 1,406,080 | u538125576 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "Yes" : "No") << '\n';
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int a, b, c;
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,081 | 1,406,082 | u617619153 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int A = b - a, B = c - a;
if (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;
int A = b - a, B = c - b;
if (A == B) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"identifier.change",
"expression.operation.binary.change"
] | 1,406,083 | 1,406,084 | u758406624 | cpp |
p03759 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define rfor(i, a, b) for (int i = a; i < (int)b; i++)
#define all(ary) (ary).begin(), (ary).end()
#define debug(x) cerr << #x << ": " << x << '\n'
const int INF = 100100100;
const int MOD = (int)1e9 + 7;
using namespace std;
using v = vector<i... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define rfor(i, a, b) for (int i = a; i < (int)b; i++)
#define all(ary) (ary).begin(), (ary).end()
#define debug(x) cerr << #x << ": " << x << '\n'
const int INF = 100100100;
const int MOD = (int)1e9 + 7;
using namespace std;
using v = vector<i... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,087 | 1,406,088 | u924820636 | cpp |
p03759 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define rfor(i, a, b) for (int i = a; i < (int)b; i++)
#define all(ary) (ary).begin(), (ary).end()
#define debug(x) cerr << #x << ": " << x << '\n'
const int INF = 100100100;
const int MOD = (int)1e9 + 7;
using namespace std;
using v = vector<i... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; i++)
#define rfor(i, a, b) for (int i = a; i < (int)b; i++)
#define all(ary) (ary).begin(), (ary).end()
#define debug(x) cerr << #x << ": " << x << '\n'
const int INF = 100100100;
const int MOD = (int)1e9 + 7;
using namespace std;
using v = vector<i... | [] | 1,406,089 | 1,406,088 | u924820636 | cpp |
p03759 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; i++)
#define ALL(x) x.begin(), x.end()
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 <algorithm>
#include <iostream>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; i++)
#define ALL(x) x.begin(), x.end()
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,406,108 | 1,406,109 | u930734502 | cpp |
p03759 | /*
∧_∧ やあ
(´・ω・`) / ようこそ、バーボンハウスへ。
/∇y:::::\
[ ̄] このテキーラはサービスだから、まず飲んで落ち着いて欲しい。
|:⊃:|:::::| |──|
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| うん、「また」なんだ。済まない。
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| ̄
仏の顔もって言うしね、謝って許してもらおうとも思っていない。
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄/|
∇ ∇ ∇ ∇ /./| でも、この提出を見たとき、君は、きっと言葉では言い表せない
┴ ┴ ┴ ┴ / /
| 「ときめき」みたいなものを感じてくれ... | /*
∧_∧ やあ
(´・ω・`) / ようこそ、バーボンハウスへ。
/∇y:::::\
[ ̄] このテキーラはサービスだから、まず飲んで落ち着いて欲しい。
|:⊃:|:::::| |──|
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| うん、「また」なんだ。済まない。
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| ̄
仏の顔もって言うしね、謝って許してもらおうとも思っていない。
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄/|
∇ ∇ ∇ ∇ /./| でも、この提出を見たとき、君は、きっと言葉では言い表せない
┴ ┴ ┴ ┴ / /
| 「ときめき」みたいなものを感じてくれ... | [
"control_flow.branch.if.condition.change"
] | 1,406,110 | 1,406,111 | u625092455 | cpp |
p03759 | #include <iostream>
using namespace std;
int main(void) {
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(void) {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b))
cout << "YES";
else
cout << "NO";
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,112 | 1,406,113 | u168774513 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll amari = 1e9 + 7;
#define ben(a) a.begin(), a.end()
#define pb(a, b) a.push_back(b)
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;
using ll = long long;
const ll amari = 1e9 + 7;
#define ben(a) a.begin(), a.end()
#define pb(a, b) a.push_back(b)
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,406,114 | 1,406,115 | u452544900 | cpp |
p03759 | #include <iostream>
#include <vector>
int main(void) {
int a, b, c;
std::cin >> a >> b >> c;
if (b - a == c - b)
std::cout << "Yes";
else
std::cout << "No";
return 0;
}
| #include <iostream>
#include <vector>
int main(void) {
int a, b, c;
std::cin >> a >> b >> c;
if (b - a == c - b)
std::cout << "YES";
else
std::cout << "NO";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,406,116 | 1,406,117 | u195054737 | 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 FDS(i, n) for (int i = 0; i < n; ++i)
#define FDSR(i, n) for (int i = n; i >= 0; ++i)
#define FOR(i, m, n) for (int i = m; i < n; ++i)
#define FORR(i, m, n) for (int i = m; i >= n; --i)
#define... | #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 FDS(i, n) for (int i = 0; i < n; ++i)
#define FDSR(i, n) for (int i = n; i >= 0; ++i)
#define FOR(i, m, n) for (int i = m; i < n; ++i)
#define FORR(i, m, n) for (int i = m; i >= n; --i)
#define... | [
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 1,406,120 | 1,406,121 | u870797515 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#define FOR(idx, begin, end) \
for (int idx = (int)(begin); idx < (int)(end); ++idx)
#if... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#define FOR(idx, begin, end) \
for (int idx = (int)(begin); idx < (int)(end); ++idx)
#if... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,122 | 1,406,123 | u532573979 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - a)
cout << "YES" << endl;... | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,127 | 1,406,128 | u271063202 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c)
cout << "YES" << endl;
cout << "NO" << endl;
return 0;
} | #include <iostream>
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;
} | [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,406,129 | 1,406,130 | u271063202 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
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(void) {
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,406,141 | 1,406,142 | u341488930 | cpp |
p03759 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#define rep(i, n) for (i = 0; i < n; i++)
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int A = b - a;
int B = c - b;
if (A == B) {
cout << "YES" << endl;
} else {
cout << "No" << endl;
}
return 0;
... | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#define rep(i, n) for (i = 0; i < n; i++)
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int A = b - a;
int B = c - b;
if (A == B) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,147 | 1,406,148 | u274962354 | 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,406,151 | 1,406,152 | u598501138 | cpp |
p03759 |
//#include "pch.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define ll long long
#define fr(i, l, r) for (i = (l); i < (r); i++)
#define min(p, q) ((p) < (q) ? (p) : (q))
#define max(p, q) ((p) > (q) ? (p) : (q))
#define INF 1000000000000 // 10^12
int main(void) {
//変数の宣言
int ... |
//#include "pch.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define ll long long
#define fr(i, l, r) for (i = (l); i < (r); i++)
#define min(p, q) ((p) < (q) ? (p) : (q))
#define max(p, q) ((p) > (q) ? (p) : (q))
#define INF 1000000000000 // 10^12
int main(void) {
//変数の宣言
int ... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,406,163 | 1,406,164 | u705931757 | 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,406,171 | 1,406,172 | u404706753 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int f = 2 * b - a - c;
if (f == 0) {
cout << "Yes";
} else {
cout << "No";
}
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int f = 2 * b - a - c;
if (f == 0) {
cout << "YES";
} else {
cout << "NO";
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,173 | 1,406,174 | u228214259 | cpp |
p03759 | #include <bits/stdc++.h>
#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 <bits/stdc++.h>
#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,406,184 | 1,406,185 | u580402951 | cpp |
p03759 | #include <iostream>
int main() {
int A, B, C;
std::cin >> A >> B >> C;
if (B - A == C - B)
std::cout << "Yes" << std::endl;
else
std::cout << "No" << std::endl;
} | #include <iostream>
int main() {
int A, B, C;
std::cin >> A >> B >> C;
if (B - A == C - B)
std::cout << "YES" << std::endl;
else
std::cout << "NO" << std::endl;
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,406,186 | 1,406,187 | u517700219 | cpp |
p03759 | //============================================================================
// Name : atcoder.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <i... | //============================================================================
// Name : atcoder.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <i... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,188 | 1,406,189 | u084549125 | cpp |
p03759 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - a) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <iostream>
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;
}
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,194 | 1,406,195 | u038299200 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
#define pb push_back
#define mod 1000000007
using namespace std;
typedef long long int ll;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YEs" << endl;
else
co... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
#define pb push_back
#define mod 1000000007
using namespace std;
typedef long long int ll;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
co... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,198 | 1,406,199 | u733823138 | cpp |
p03759 | #include <iostream>
using namespace std;
int main(void) {
// Here your code !
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(void) {
// Here your code !
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,406,200 | 1,406,201 | u114589485 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define fi first
#define se second
#define fcout(n) cout << fixed << setprecision((n... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define fi first
#define se second
#define fcout(n) cout << fixed << setprecision((n... | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,406,202 | 1,406,203 | u946140993 | cpp |
p03759 | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
#define upperlimit 1000100
#define INF 1000000100
#define INFL 1000000000000000100
#define eps 1e-8
#define endl '\n'
#define sd(n) scanf("%d", &n)
#define slld(n) scanf("%lld", &n)
#define pd(n) printf("%d", n)
#define plld(n) printf("%lld", n)
#defi... | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
#define upperlimit 1000100
#define INF 1000000100
#define INFL 1000000000000000100
#define eps 1e-8
#define endl '\n'
#define sd(n) scanf("%d", &n)
#define slld(n) scanf("%lld", &n)
#define pd(n) printf("%d", n)
#define plld(n) printf("%lld", n)
#defi... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,206 | 1,406,207 | u685726857 | cpp |
p03759 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "YES" << endl;
}
return 0;
}
| #include <iostream>
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;
}
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 1,406,208 | 1,406,209 | u979452668 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "yes";
return 0;
} 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";
return 0;
} else {
cout << "NO";
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,216 | 1,406,217 | u532780765 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - a) {
cout << "YES";
return 0;
} 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";
return 0;
} else {
cout << "NO";
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,218 | 1,406,217 | u532780765 | cpp |
p03759 | #include <algorithm>
#include <cstdio>
#include <ctype.h>
#include <iostream>
#include <string>
using namespace std;
using ll = long long;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (abs(b - a) == abs(c - b)) {
printf("YES\n");
} else {
printf("NO\n");
}
return 0;
}
| #include <algorithm>
#include <cstdio>
#include <ctype.h>
#include <iostream>
#include <string>
using namespace std;
using ll = long long;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a) == (c - b)) {
printf("YES\n");
} else {
printf("NO\n");
}
return 0;
}
| [
"control_flow.branch.if.condition.change"
] | 1,406,230 | 1,406,231 | u560980003 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <limits>
#include <numeric>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
int main() {
int a, b, c;
cin >> a >> b >> c;
... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <limits>
#include <numeric>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
int main() {
int a, b, c;
cin >> a >> b >> c;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,262 | 1,406,263 | u003860320 | 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,406,268 | 1,406,269 | u127194462 | 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,406,288 | 1,406,289 | u209767598 | cpp |
p03759 | #include <iostream>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (b - c == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <iostream>
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;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,290 | 1,406,291 | u945452839 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <iterator>
#include <math.h>
#include <numeric>
#include <set>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "Yes" << endl;
} else... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <iterator>
#include <math.h>
#include <numeric>
#include <set>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,292 | 1,406,293 | u943840701 | 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,406,294 | 1,406,295 | u035336379 | cpp |
p03759 | #include <cstdio>
#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 <cstdio>
#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,406,296 | 1,406,297 | u328852962 | cpp |
p03759 | #include <algorithm>
#include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <algorithm>
#include <iostream>
using namespace std;
int main(void) {
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,298 | 1,406,299 | u238235808 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
void prians(bool answer) {
if (answer)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
int main() {
bool ans = 0;
cin >> a >> b >> c;
if (b - a == c - b)
ans = 1;
prians(ans);
cout << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
void prians(bool answer) {
if (answer)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
int main() {
bool ans = 0;
cin >> a >> b >> c;
if (b - a == c - b)
ans = 1;
prians(ans);
cout << endl;
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,307 | 1,406,308 | u269963329 | cpp |
p03759 | #include <algorithm>
#include <iostream>
#include <string>
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 <algorithm>
#include <iostream>
#include <string>
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,406,309 | 1,406,310 | u819402602 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
char a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
| #include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
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;
}
| [
"variable_declaration.type.primitive.change"
] | 1,406,315 | 1,406,316 | u134810655 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main(int argc, const char *argv[]) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main(int argc, const char *argv[]) {
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,406,318 | 1,406,319 | u493080913 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if (2 * b == c + a)
cout << "YES\n";
else
cout << "NO/n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
if ((2 * b) == (c + a))
cout << "YES\n";
else
cout << "NO\n";
return 0;
} | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 1,406,328 | 1,406,329 | u489698710 | 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";
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";
else
cout << "NO" << endl;
} | [
"control_flow.branch.if.condition.change"
] | 1,406,333 | 1,406,334 | u668292260 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
scanf("%d %d %d", &a, &b, &c);
printf(2 * b == a + b ? "YES" : "NO");
}
| #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
scanf("%d %d %d", &a, &b, &c);
printf(2 * b == a + c ? "YES" : "NO");
}
| [
"identifier.change",
"control_flow.loop.for.condition.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 1,406,337 | 1,406,338 | u506302470 | cpp |
p03759 | #include <iostream>
#include <sstream>
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>
#include <sstream>
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,406,343 | 1,406,344 | u503901534 | cpp |
p03759 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - a) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| #include <iostream>
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;
}
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,345 | 1,406,346 | u949657644 | cpp |
p03759 | #include <cstdio>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a + c == 2 * b)
printf("YES\n");
else if ("NO\n")
;
return 0;
} | #include <cstdio>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a + c == 2 * b)
printf("YES\n");
else
printf("NO\n");
return 0;
} | [] | 1,406,349 | 1,406,350 | u961899851 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
char a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "YES" : "NO") << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "YES " : "NO") << endl;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"io.output.change"
] | 1,406,358 | 1,406,359 | u075610791 | cpp |
p03759 | #include <iostream>
using namespace std;
int main(void) {
char a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "YES" : "NO") << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "YES " : "NO") << endl;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"io.output.change"
] | 1,406,360 | 1,406,359 | u075610791 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
char a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "YES" : "NO") << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (b - a == c - b ? "YES " : "NO") << endl;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"io.output.change"
] | 1,406,361 | 1,406,359 | u075610791 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
int main(int argc, char const *argv[]) {
int a, b, c;
std::cin >> a >> b >> c;
if (b - a == c - b) {
std::cout << "Yes" << '\n';
} else {
std::cout << "No" << '\n';
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
int main(int argc, char const *argv[]) {
int a, b, c;
std::cin >> a >> b >> c;
if (b - a == c - b) {
std::cout << "YES" << '\n';
} else {
std::cout << "NO" << '\n';
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,406,364 | 1,406,365 | u688382329 | cpp |
p03759 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (2 * b == a + c)
printf("Yes");
else
printf("No");
return 0;
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (2 * b == a + c)
printf("YES");
else
printf("NO");
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,406,368 | 1,406,369 | u527045391 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (long long int i = 0; i < n; ++i)
typedef long long int ll;
int main() {
int a, b, c;
cin >> a >> b;
if (b - a == c - b) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (long long int i = 0; i < n; ++i)
typedef long long int ll;
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.add"
] | 1,406,374 | 1,406,375 | u376817785 | 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";
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,376 | 1,406,377 | u083040810 | cpp |
p03759 | #include <bits/stdc++.h>
#define REP(i, x, n) for (int i = x; i < (int)(n); i++)
#define rep(i, n) REP(i, 0, x);
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
using namespace std;
int gcd(int a, int b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
int lcm(int a, int b) { r... | #include <bits/stdc++.h>
#define REP(i, x, n) for (int i = x; i < (int)(n); i++)
#define rep(i, n) REP(i, 0, x);
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
using namespace std;
int gcd(int a, int b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
int lcm(int a, int b) { r... | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,406,390 | 1,406,391 | u284092157 | cpp |
p03759 | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - a) {
cout << "YES";
} else {
cout << "NO";
}
retur... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES";
} else {
cout << "NO";
}
retur... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,400 | 1,406,401 | u770161743 | cpp |
p03759 | #include <iostream>
using namespace std;
int main(void) {
char x, y, z;
cin >> x >> y >> z;
if (y - x == z - y) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <iostream>
using namespace std;
int main(void) {
int x, y, z;
cin >> x >> y >> z;
if (y - x == z - y) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"variable_declaration.type.primitive.change"
] | 1,406,404 | 1,406,405 | u560522955 | cpp |
p03759 | #include <iostream>
#include <stdio.h>
#include <string>
int main(void) {
int A, B, C;
std::cin >> A >> B >> C;
if (B - A == C - B) {
std::cout << "Yes";
} else
std::cout << "No";
return 0;
}
| #include <iostream>
#include <stdio.h>
#include <string>
int main(void) {
int A, B, C;
std::cin >> A >> B >> C;
if (B - A == C - B) {
std::cout << "YES";
} else
std::cout << "NO";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,406,409 | 1,406,410 | u973663980 | cpp |
p03759 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <sstream>
#include <string>
#include <time.h>
#include <vector>
//#include "bits/stdc++.h"
using namespace std;
// using namespace std::v... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <sstream>
#include <string>
#include <time.h>
#include <vector>
//#include "bits/stdc++.h"
using namespace std;
// using namespace std::v... | [
"control_flow.branch.if.condition.change"
] | 1,406,415 | 1,406,416 | u301409936 | cpp |
p03759 | #include <algorithm>
#include <bitset>
#include <chrono>
#include <climits>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < (in... | #include <algorithm>
#include <bitset>
#include <chrono>
#include <climits>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < (in... | [
"expression.operation.binary.add"
] | 1,406,426 | 1,406,427 | u492373312 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
b - a == c - b ? cout << "Yes" : cout << "No";
cout << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
b - a == c - b ? cout << "YES" : cout << "NO";
cout << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,406,434 | 1,406,435 | u977855674 | cpp |
p03759 | #include "bits/stdc++.h"
using namespace std;
#define print(s) cout << (s) << endl;
#define sp(x) cout << setprecision(x);
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define all(a) (a).begin(), (a).end()
#define inf 10000000
int main() {
ios::sync_with_stdio(false);
cin.t... | #include "bits/stdc++.h"
using namespace std;
#define print(s) cout << (s) << endl;
#define sp(x) cout << setprecision(x);
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define all(a) (a).begin(), (a).end()
#define inf 10000000
int main() {
ios::sync_with_stdio(false);
cin.t... | [
"control_flow.branch.if.condition.change"
] | 1,406,436 | 1,406,437 | u601825761 | cpp |
p03759 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
static const int MAX = 200000;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (abs(a - b) == abs(b - c)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
static const int MAX = 200000;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,406,444 | 1,406,445 | u461833298 | cpp |
p03759 | #include <bits/stdc++.h>
#define repd(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, n) repd(i, 0, n)
typedef long long ll;
using namespace std;
const int MOD = 1000000007;
const int INF = 1010000000;
const double EPS = 1e-10;
int h, w, x;
char s[1000][1000];
bool visited[1000][1000];
pair<int, int> start, go... | #include <bits/stdc++.h>
#define repd(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, n) repd(i, 0, n)
typedef long long ll;
using namespace std;
const int MOD = 1000000007;
const int INF = 1010000000;
const double EPS = 1e-10;
int h, w, x;
char s[1000][1000];
bool visited[1000][1000];
pair<int, int> start, go... | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,406,452 | 1,406,453 | u317754719 | cpp |
p03759 | #include <bits/stdc++.h>
int main(int argc, char *argv[]) {
int a = 0;
int b = 0;
int c = 0;
std::cin >> a;
std::cin >> b;
std::cin >> c;
std::cout << (((b - a) == (c - b)) ? "Yes" : "No") << std::endl;
return 0;
}
| #include <bits/stdc++.h>
int main(int argc, char *argv[]) {
int a = 0;
int b = 0;
int c = 0;
std::cin >> a;
std::cin >> b;
std::cin >> c;
std::cout << (((b - a) == (c - b)) ? "YES" : "NO") << std::endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,406,456 | 1,406,457 | u725109307 | 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;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,458 | 1,406,459 | u797250661 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << "YES";
return 0;
}
cout << "NO";
return 0;
} | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c) {
cout << "YES";
return 0;
}
cout << "NO";
return 0;
} | [
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 1,406,468 | 1,406,469 | u987267288 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a == b == c) {
cout << "YES";
return 0;
}
cout << "NO";
return 0;
} | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a - b == b - c) {
cout << "YES";
return 0;
}
cout << "NO";
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 1,406,470 | 1,406,469 | u987267288 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - a)
cout << "YES\n";
else
cout << "NO\n";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES\n";
else
cout << "NO\n";
return 0;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,473 | 1,406,474 | u090097090 | 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;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,475 | 1,406,476 | u969248530 | 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,406,477 | 1,406,478 | u357265888 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
bool ans = abs(b - a) == abs(c - b);
if (ans) {
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;
bool ans = (b - a) == (c - b);
if (ans) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [] | 1,406,483 | 1,406,484 | u535342861 | 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;
} | #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;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,485 | 1,406,486 | u919899667 | cpp |
p03759 | #include <stdio.h>
int main() {
int a, b, c, ans;
1 <= a, b, c <= 100;
scanf("%d %d %d", &a, &b, &c);
ans = b - a;
if (ans == c - b) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, ans;
1 <= a, b, c <= 100;
scanf("%d %d %d", &a, &b, &c);
ans = b - a;
if (ans == c - b) {
printf("YES\n");
} else {
printf("NO\n");
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,406,491 | 1,406,492 | u243458685 | 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,406,498 | 1,406,499 | u416458858 | cpp |
p03759 | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c; //変数a,b,cを宣言
cin >> a >> b >> c; //変数a,b,cの入力
if (b - a == c - a) {
cout << "YES" << endl; // YESを出力
} else {
cout << "NO" << endl; // NOを出力
}
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c; //変数a,b,cを宣言
cin >> a >> b >> c; //変数a,b,cの入力
if (b - a == c - b) {
cout << "YES" << endl; // YESを出力
} else {
cout << "NO" << endl; // NOを出力
}
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,500 | 1,406,501 | u620696530 | cpp |
p03759 | // Bismillahir Rahmanir Rahim
// Mr_Emrul
#include <bits/stdc++.h>
#include <math.h>
#include <stdio.h>
using namespace std;
typedef long long int ll;
typedef pair<ll, ll> pll;
typedef pair<ll, pll> plp;
typedef pair<int, int> pii;
typedef pair<int, pii> pip;
const ll MX = 1000005;
#define LCM(a, b) (a / __gcd(a, b)... | // Bismillahir Rahmanir Rahim
// Mr_Emrul
#include <bits/stdc++.h>
#include <math.h>
#include <stdio.h>
using namespace std;
typedef long long int ll;
typedef pair<ll, ll> pll;
typedef pair<ll, pll> plp;
typedef pair<int, int> pii;
typedef pair<int, pii> pip;
const ll MX = 1000005;
#define LCM(a, b) (a / __gcd(a, b)... | [
"identifier.change",
"call.function.change"
] | 1,406,502 | 1,406,503 | u229186574 | 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;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,504 | 1,406,505 | u766103144 | cpp |
p03759 | #include <iostream>
int a, b, c; //整数値
int main() {
std::cin >> a >> b >> c;
if ((b - a) == (c - b))
std::cout << "Yes\n";
else
std::cout << "No\n";
return (0);
}
| #include <iostream>
int a, b, c; //整数値
int main() {
std::cin >> a >> b >> c;
if ((b - a) == (c - b))
std::cout << "YES\n";
else
std::cout << "NO\n";
return (0);
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,406,514 | 1,406,515 | u815532861 | 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,406,516 | 1,406,517 | u347177245 | 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,406,526 | 1,406,527 | u744449716 | cpp |
p03759 | #define ffor(i, a, b) for (int i = (a); i < (b); i++)
#define rfor(i, a, b) for (int i = (b)-1; i >= (a); i--)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = (n)-1; i >= 0; i--)
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stack... | #define ffor(i, a, b) for (int i = (a); i < (b); i++)
#define rfor(i, a, b) for (int i = (b)-1; i >= (a); i--)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = (n)-1; i >= 0; i--)
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stack... | [
"control_flow.branch.if.condition.change"
] | 1,406,549 | 1,406,550 | u172773620 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a - b) == (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.remove",
"control_flow.branch.if.condition.change"
] | 1,406,551 | 1,406,552 | u864453204 | cpp |
p03759 | #include <cstdlib>
#include <iostream>
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 <cstdlib>
#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;
} | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,406,553 | 1,406,554 | u888266533 | cpp |
p03759 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <float.h>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#inclu... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <float.h>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#inclu... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 1,406,567 | 1,406,568 | u566864240 | cpp |
p03759 | #include <algorithm>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int... | #include <algorithm>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 1,406,574 | 1,406,575 | u019392917 | cpp |
p03759 | #include <algorithm>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int... | #include <algorithm>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,576 | 1,406,575 | u019392917 | cpp |
p03759 | // Template by [thunder_blade]
// IIIT ALLAHABAD
// includes :)
#include <bits/stdc++.h>
using namespace std;
#define TEST \
int test_case; \
cin >> test_case; ... | // Template by [thunder_blade]
// IIIT ALLAHABAD
// includes :)
#include <bits/stdc++.h>
using namespace std;
#define TEST \
int test_case; \
cin >> test_case; ... | [
"identifier.change",
"call.arguments.change"
] | 1,406,577 | 1,406,578 | u210033542 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if ((b - 1) == (c - b))
printf("YES\n");
else
printf("NO\n");
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\n");
else
printf("NO\n");
return 0;
}
| [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 1,406,586 | 1,406,587 | u010277217 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
(b - 1) == (c - b) ? printf("YES\n") : printf("NO\n");
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\n");
else
printf("NO\n");
return 0;
}
| [
"control_flow.branch.if.add",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,406,588 | 1,406,587 | u010277217 | cpp |
p03759 | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#define WMAX 10000
#define HMAX 10000
//コメントアウトするとdebug()を実行しない
#define DEBUG
using namespace std;
t... | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
#define WMAX 10000
#define HMAX 10000
//コメントアウトするとdebug()を実行しない
#define DEBUG
using namespace std;
t... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change",
"identifier.change"
] | 1,406,591 | 1,406,592 | u389055093 | cpp |
p03759 | #include <cmath>
#include <iostream>
#define ll long long
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int k1 = abs(c - b);
int k2 = abs(b - a);
if (k1 == k2)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| #include <cmath>
#include <iostream>
#define ll long long
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int k1 = (c - b);
int k2 = (b - a);
if (k1 == k2)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [] | 1,406,600 | 1,406,601 | u322817791 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.