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 |
|---|---|---|---|---|---|---|---|
p03075 | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
int main() {
vector<int> distance(5);
int k;
for (int i = 0; i < 5; ++i)
cin >> distance[i];
cin >> k;
for (int i = 0; i < 5; ++i) {
if (k < distance[i]) {
cout <... | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
int main() {
vector<int> distance(5);
int k;
for (int i = 0; i < 5; ++i)
cin >> distance[i];
cin >> k;
for (int i = 0; i < 5; ++i) {
if (k < distance[i] - distance[0]) ... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 886,340 | 886,341 | u323542775 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> x;
int k;
for (int i = 0; i < 5; i++) {
cin >> x.at(i);
}
cin >> k;
sort(x.begin(), x.end());
if (x.at(4) - x.at(0) <= k) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> x(5);
int k;
for (int i = 0; i < 5; i++) {
cin >> x.at(i);
}
cin >> k;
sort(x.begin(), x.end());
if (x.at(4) - x.at(0) <= k) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
} | [
"call.arguments.add"
] | 886,344 | 886,345 | u630211216 | cpp |
p03075 | #include <algorithm> //辞書順=next_permutation
#include <cmath>
#include <complex>
#include <iomanip>
#include <iostream>
#include <locale>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <string> //char 小文字のほうが32大きい
#include <time.h>
#... | #include <algorithm> //辞書順=next_permutation
#include <cmath>
#include <complex>
#include <iomanip>
#include <iostream>
#include <locale>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <string> //char 小文字のほうが32大きい
#include <time.h>
#... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 886,357 | 886,358 | u742306624 | cpp |
p03075 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <stdio.h>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(x) (x).begin(), (x).end()
using namespace std;
//===========================... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <stdio.h>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(x) (x).begin(), (x).end()
using namespace std;
//===========================... | [
"expression.operation.binary.add"
] | 886,364 | 886,365 | u465760322 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define F(i, s, e) for (int i = s; i < e; ++i)
int main() {
int a[5], k;
F(i, 0, 5) cin >> a[i];
cin >> k;
bool f = true;
F(i, 1, 5) {
F(j, 0, i) {
if (a[i] - a[j] > k) {
cout << ":(" << endl;
return 0;
}
}
}
cout << "Yey!"... | #include <bits/stdc++.h>
using namespace std;
#define F(i, s, e) for (int i = s; i < e; ++i)
int main() {
int a[5], k;
F(i, 0, 5) cin >> a[i];
cin >> k;
bool f = true;
F(i, 1, 5) {
F(j, 0, i) {
if (a[i] - a[j] > k) {
cout << ":(" << endl;
return 0;
}
}
}
cout << "Yay!"... | [
"literal.string.change",
"io.output.change"
] | 886,366 | 886,367 | u561007032 | cpp |
p03075 | //#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, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (k < e - a)
cout << ":(" << endl;
else
cout << "YAy!" << 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, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (k < e - a)
cout << ":(" << endl;
else
cout << "Yay!" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 886,368 | 886,369 | u614128939 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
vector<int> n{a, b, c, d, e, k};
sort(n.begin(), n.end());
if (n[5] - n[0] <= 15) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
vector<int> n{a, b, c, d, e};
sort(n.begin(), n.end());
if (n[4] - n[0] <= k) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
} | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"identifier.replace.add",
"literal.replace.remove"
] | 886,370 | 886,371 | u050641473 | cpp |
p03075 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; ++i)
const int INF = 100100100;
const int M... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; ++i)
const int INF = 100100100;
const int M... | [
"expression.operation.binary.remove"
] | 886,380 | 886,381 | u190761897 | cpp |
p03075 | #include <cmath>
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v(5);
for (auto &i : v) {
cin >> i;
}
int k;
cin >> k;
bool yes = true;
for (auto &i : v) {
for (auto &j : v) {
if (k < abs(i - j)) {
yes = false;
}
}
}
if (yes) {
... | #include <cmath>
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v(5);
for (auto &i : v) {
cin >> i;
}
int k;
cin >> k;
bool yes = true;
for (auto &i : v) {
for (auto &j : v) {
if (k < abs(i - j)) {
yes = false;
}
}
}
if (yes) {
... | [
"literal.string.change",
"io.output.change"
] | 886,386 | 886,387 | u611571299 | cpp |
p03075 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#pragma region Macros
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, n) for (int i = 1; i <= n; i++)
#define int long long
#define all(x) (x).begin(), (x).end()
#define swap(a, b)... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#pragma region Macros
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, n) for (int i = 1; i <= n; i++)
#define int long long
#define all(x) (x).begin(), (x).end()
#define swap(a, b)... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,388 | 886,389 | u545364250 | cpp |
p03075 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#pragma region Macros
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, n) for (int i = 1; i <= n; i++)
#define int long long
#define all(x) (x).begin(), (x).end()
#define swap(a, b)... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#pragma region Macros
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, n) for (int i = 1; i <= n; i++)
#define int long long
#define all(x) (x).begin(), (x).end()
#define swap(a, b)... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 886,390 | 886,389 | u545364250 | cpp |
p03075 | #include <iostream>
// #include <string>
// #include <iomanip>
// std::cout << std::fixed << std::setprecision(5);
int main() {
int dist[6] = {0}, k;
for (int i = 0; i < 5; i++)
std::cin >> dist[i];
std::cin >> k;
if (dist[4] - dist[0] >= k)
std::cout << ":(" << std::endl;
else
std::cout << "Ya... | #include <iostream>
// #include <string>
// #include <iomanip>
// std::cout << std::fixed << std::setprecision(5);
int main() {
int dist[6] = {0}, k;
for (int i = 0; i < 5; i++)
std::cin >> dist[i];
std::cin >> k;
if (dist[4] - dist[0] > k)
std::cout << ":(" << std::endl;
else
std::cout << "Yay... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,391 | 886,392 | u954659213 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int A[5];
int k;
for (int i = 0; i < 5; i++) {
cin >> A[i];
}
cin >> k;
if (A[4] - A[0] <= k) {
cout << "Yey!";
} else {
cout << ":(";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int A[5];
int k;
for (int i = 0; i < 5; i++) {
cin >> A[i];
}
cin >> k;
if (A[4] - A[0] <= k) {
cout << "Yay!";
} else {
cout << ":(";
}
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 886,393 | 886,394 | u614217744 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int A[5];
int k;
for (int i = 0; i < 5; i++) {
cin >> A[i];
}
cin >> k;
if (A[4] - A[0] < k) {
cout << "Yey!";
} else {
cout << ":(";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int A[5];
int k;
for (int i = 0; i < 5; i++) {
cin >> A[i];
}
cin >> k;
if (A[4] - A[0] <= k) {
cout << "Yay!";
} else {
cout << ":(";
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 886,395 | 886,394 | u614217744 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[5], k;
for (int i = 0; i < 5; i++)
cin >> a[i];
cin >> k;
for (int i = 0; i < 5; i++) {
for (int j = i + 1; j < 5; j++) {
if (abs(a[i] - a[j] > k)) {
cout << ":(" << endl;
return 0;
}
}
}
cout << "Yay!"... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[5], k;
for (int i = 0; i < 5; i++)
cin >> a[i];
cin >> k;
for (int i = 0; i < 5; i++) {
for (int j = i + 1; j < 5; j++) {
if (abs(a[i] - a[j]) > k) {
cout << ":(" << endl;
return 0;
}
}
}
cout << "Yay!"... | [
"control_flow.branch.if.condition.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 886,400 | 886,401 | u385825353 | cpp |
p03075 | #pragma GCC optimize("O2,Ofast,inline,unroll-all-loops,-ffast-math")
#include <bits/stdc++.h>
#define pb(X) push_back(X)
#define x first
#define y second
#define INIT \
std::ios::sync_with_stdio(false); \
st... | #pragma GCC optimize("O2,Ofast,inline,unroll-all-loops,-ffast-math")
#include <bits/stdc++.h>
#define pb(X) push_back(X)
#define x first
#define y second
#define INIT \
std::ios::sync_with_stdio(false); \
st... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,402 | 886,403 | u786454404 | cpp |
p03075 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay" << endl;
else
cout << ":(" << endl;
return 0;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 886,404 | 886,405 | u589238650 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int a, e, k;
cin >> a >> e >> e >> e >> e >> k;
if (e - a > k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, e, k;
cin >> a >> e >> e >> e >> e >> k;
if (e - a <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,408 | 886,409 | u608258653 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repr(i, n) for (int i = (int)(n); i >= 0; i--)
#define REP(i, m, n) for (int i = (int)(m); i < (int)(n); i++)
#define INF 1e9
#define all(v) v.begin(), v.end()
typedef long long ll;
int main() {
vector<int> a(5... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repr(i, n) for (int i = (int)(n); i >= 0; i--)
#define REP(i, m, n) for (int i = (int)(m); i < (int)(n); i++)
#define INF 1e9
#define all(v) v.begin(), v.end()
typedef long long ll;
int main() {
vector<int> a(5... | [
"literal.number.change",
"call.arguments.change"
] | 886,414 | 886,415 | u328179672 | cpp |
p03075 | /*
このコード、と~おれ!
Be accepted!
∧_∧
(。・ω・。)つ━☆・*。
⊂ ノ ・゜+.
しーJ °。+ *´¨)
.· ´¸.·*´¨) ¸.·*¨)
(¸.·´ (¸.·'* ☆
*/
#include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>... | /*
このコード、と~おれ!
Be accepted!
∧_∧
(。・ω・。)つ━☆・*。
⊂ ノ ・゜+.
しーJ °。+ *´¨)
.· ´¸.·*´¨) ¸.·*¨)
(¸.·´ (¸.·'* ☆
*/
#include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 886,423 | 886,424 | u917972976 | cpp |
p03075 | #include <bits/stdc++.h>
#include <cmath>
#include <cstdio>
#include <iostream>
typedef long long int ll;
using namespace std;
int main() {
ll a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a < k) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
} | #include <bits/stdc++.h>
#include <cmath>
#include <cstdio>
#include <iostream>
typedef long long int ll;
using namespace std;
int main() {
ll a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,442 | 886,443 | u473023730 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if ((a - e) > k)
cout << ":(";
else
cout << "Yay!";
;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if ((e - a) > k)
cout << ":(";
else
cout << "Yay!";
;
}
| [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 886,457 | 886,458 | u260907804 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if ((e - k) > k)
cout << ":(";
else
cout << "Yay!";
;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if ((e - a) > k)
cout << ":(";
else
cout << "Yay!";
;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 886,459 | 886,458 | u260907804 | cpp |
p03075 | #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
#define FOUT(n, dist) cout << fixed << setprecision(n) << (dist);
#define BR cout << endl;
template <class T> bool chmax(T &a, const T &b) {
... | #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
#define FOUT(n, dist) cout << fixed << setprecision(n) << (dist);
#define BR cout << endl;
template <class T> bool chmax(T &a, const T &b) {
... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 886,194 | 886,195 | u608329742 | cpp |
p03075 | #include <algorithm>
#include <climits>
#include <cmath>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long int
#define rep(i, n) fo... | #include <algorithm>
#include <climits>
#include <cmath>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long int
#define rep(i, n) fo... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,196 | 886,197 | u965730380 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool check = true;
if (b - a > k || c - a > k || d - a > k || e - a > k || c - b > k ||
d - b > k || e - b > k || d - c > k || e - c > k || e - d > k)
check = false;
if (check)
cout <<... | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool check = true;
if (b - a > k || c - a > k || d - a > k || e - a > k || c - b > k ||
d - b > k || e - b > k || d - c > k || e - c > k || e - d > k)
check = false;
if (check)
cout <<... | [
"literal.string.change",
"io.output.change"
] | 886,198 | 886,199 | u985625318 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool check = true;
if (b - a > k || c - a > k || d - a > k || e - a > k || c - b > k ||
d - b > k || e - b > k || d - c > k || e - c > k || e - d < k)
check = false;
if (check)
cout <<... | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool check = true;
if (b - a > k || c - a > k || d - a > k || e - a > k || c - b > k ||
d - b > k || e - b > k || d - c > k || e - c > k || e - d > k)
check = false;
if (check)
cout <<... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 886,200 | 886,199 | u985625318 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool t = (k <= e - a);
if (t) {
cout << ":(" << endl;
} else {
cout << "Yay!" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool t = (k < e - a);
if (t) {
cout << ":(" << endl;
} else {
cout << "Yay!" << endl;
}
} | [
"expression.operator.compare.change",
"expression.operation.binary.change"
] | 886,201 | 886,202 | u469152073 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool t = (k > e - a);
if (t) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool t = (k < e - a);
if (t) {
cout << ":(" << endl;
} else {
cout << "Yay!" << endl;
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"expression.operation.binary.change",
"literal.string.change",
"io.output.change"
] | 886,203 | 886,202 | u469152073 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> e >> k;
bool t = false;
if (b - a > k) {
t = true;
}
if (c - b > k) {
t = true;
}
if (d - c > k) {
t = true;
}
if (e - d > k) {
t = true;
}
if (c - a > k) {
t = true;
}
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool t = false;
if (b - a > k) {
t = true;
}
if (c - b > k) {
t = true;
}
if (d - c > k) {
t = true;
}
if (e - d > k) {
t = true;
}
if (c - a > k) {
t = true;
... | [
"expression.operation.binary.add"
] | 886,205 | 886,206 | u292417719 | cpp |
p03075 | #include <bits/stdc++.h>
#define PI 3.14159265359
#define NIL (-1)
#define LL long long
using namespace std;
const int64_t MOD = 1e9 + 7;
const int INF = INT_MAX;
int main() {
vector<int> v(5);
for (int i = 0; i < 5; i++) {
cin >> v[i];
}
int k;
cin >> k;
for (int i = 0; i < 4; i++) {
for (int j ... | #include <bits/stdc++.h>
#define PI 3.14159265359
#define NIL (-1)
#define LL long long
using namespace std;
const int64_t MOD = 1e9 + 7;
const int INF = INT_MAX;
int main() {
vector<int> v(5);
for (int i = 0; i < 5; i++) {
cin >> v[i];
}
int k;
cin >> k;
for (int i = 0; i < 4; i++) {
for (int j ... | [
"expression.operation.binary.remove"
] | 886,207 | 886,208 | u295279251 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
ll GetDigit(ll num) { return log10(num) + 1; } // numの桁数を求める
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a < k)
cout << "Yay!" << endl;
else
cout <<... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
ll GetDigit(ll num) { return log10(num) + 1; } // numの桁数を求める
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay!" << endl;
else
cout <... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,211 | 886,212 | u848148267 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if ((e - a) < k) {
cout << "Yay!";
} else {
cout << ":(";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if ((e - a) <= k) {
cout << "Yay!";
} else {
cout << ":(";
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,217 | 886,218 | u863370423 | cpp |
p03075 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> ans(5);
int a;
for (int i = 0; i < 5; i++)
cin >> ans.at(i);
cin >> a;
sort(ans.begin(), ans.end());
if ((ans.at(0) - ans.at(4)) > a)
cout << ":(";
else
cout << "Yay!";
}
| #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> ans(5);
int a;
for (int i = 0; i < 5; i++)
cin >> ans.at(i);
cin >> a;
sort(ans.begin(), ans.end());
if (abs(ans.at(0) - ans.at(4)) > a)
cout << ":(";
else
cout << "Yay!";
} | [
"call.add",
"control_flow.branch.if.condition.change"
] | 886,219 | 886,220 | u079532978 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep2(i, a, b) for (int i = (a); i < (b); ++i)
#define all(a) (a).begin(), (a).end()
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
cout << ((d - a > k) ? ":(" : "Y... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep2(i, a, b) for (int i = (a); i < (b); ++i)
#define all(a) (a).begin(), (a).end()
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
cout << ((e - a > k) ? ":(" : "Y... | [
"identifier.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 886,221 | 886,222 | u119171625 | cpp |
p03075 | #pragma region header
#define _GLIBCXX_DEBUG
#include <assert.h>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdio>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <ioman... | #pragma region header
#define _GLIBCXX_DEBUG
#include <assert.h>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdio>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <ioman... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.for.initializer.change",
"control_flow.loop.for.condition.change"
] | 886,228 | 886,229 | u851044959 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
template <class T, class U>
ostream &operator<<(ostream &os, const pair<T, U> &p) {
os << "(" << p.first << "," << p.second << ")";
return os;
}
#ifdef __LOCAL
#define debug(x) cerr << __LINE__ << ": " << #x << " = " << x << endl
#define debugArray(x, n) ... | #include <bits/stdc++.h>
using namespace std;
template <class T, class U>
ostream &operator<<(ostream &os, const pair<T, U> &p) {
os << "(" << p.first << "," << p.second << ")";
return os;
}
#ifdef __LOCAL
#define debug(x) cerr << __LINE__ << ": " << #x << " = " << x << endl
#define debugArray(x, n) ... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"io.output.change"
] | 886,238 | 886,239 | u120143737 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
int k;
vector<int> v(5);
rep(i, 5) scanf("%d", &v[i]);
scanf("%d", &k);
rep(i, 5) {
rep(j, 5) {
if (abs(v[i] - v[j]) >= k) {
cout << ":(\n";
return 0;
}
}
}
cout... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
int k;
vector<int> v(5);
rep(i, 5) scanf("%d", &v[i]);
scanf("%d", &k);
rep(i, 5) {
rep(j, 5) {
if (abs(v[i] - v[j]) > k) {
cout << ":(\n";
return 0;
}
}
}
cout ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,242 | 886,243 | u776463615 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, d, e, k;
string S, T;
cin >> a >> b >> c >> d >> e >> k;
if (e - a > k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, d, e, k;
string S, T;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,249 | 886,250 | u805277811 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
int ae = abs(e - a);
if (ae < k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
int ae = e - a;
if (ae <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
return 0;
} | [
"call.remove",
"call.arguments.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,251 | 886,252 | u044960702 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
int ae = e - a;
if (ae < k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
int ae = e - a;
if (ae <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,253 | 886,252 | u044960702 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if ((d - a) <= k) {
cout << "Yay!" << endl;
return 0;
}
else {
cout << ":(" << endl;
return 0;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if ((e - a) <= k) {
cout << "Yay!" << endl;
return 0;
}
else {
cout << ":(" << endl;
return 0;
}
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 886,261 | 886,262 | u948917469 | cpp |
p03075 | /*
In the name of Allah
MohammadErfan Gooneh
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<ll, ll> pll;
#define endl '\n'
#define all(a, n) \
for (int i = 0; i < n; i++) ... | /*
In the name of Allah
MohammadErfan Gooneh
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<ll, ll> pll;
#define endl '\n'
#define all(a, n) \
for (int i = 0; i < n; i++) ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,270 | 886,271 | u001975975 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[5];
for (int i = 0; i < 5; i++)
cin >> a[i];
int k;
cin >> k;
if (a[4] - a[0] <= k)
cout << "Yay!" << endl;
else
cout << ":(!" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[5];
for (int i = 0; i < 5; i++)
cin >> a[i];
int k;
cin >> k;
if (a[4] - a[0] <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
} | [
"literal.string.change",
"io.output.change"
] | 886,272 | 886,273 | u528258842 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[5];
for (int i = 0; i < 5; i++)
cin >> a[i];
int k;
cin >> k;
if (a[0] - a[4] <= k)
cout << "Yay!" << endl;
else
cout << ":(!" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[5];
for (int i = 0; i < 5; i++)
cin >> a[i];
int k;
cin >> k;
if (a[4] - a[0] <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
} | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 886,274 | 886,273 | u528258842 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> wi;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
vi x(5);
int k;
rep(i, 5) cin >> x[i];
cin >> k;
string ans = "Yay!";
rep(i, 4)... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> wi;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
vi x(5);
int k;
rep(i, 5) cin >> x[i];
cin >> k;
string ans = "Yay!";
rep(i, 4)... | [
"control_flow.branch.if.condition.change"
] | 886,275 | 886,276 | u264721671 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> wi;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
vi x(5);
int k;
rep(i, 5) cin >> x[i];
cin >> k;
string ans = "Yay!";
rep(i, 4)... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> wi;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
vi x(5);
int k;
rep(i, 5) cin >> x[i];
cin >> k;
string ans = "Yay!";
rep(i, 4)... | [
"control_flow.branch.if.condition.change"
] | 886,277 | 886,276 | u264721671 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a > k)
cout << "Yay!";
else
cout << ":(";
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay!";
else
cout << ":(";
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,278 | 886,279 | u713574885 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define all(v) v.begin(), v.end()
int main() {
ll a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a > k) {
cout << ":(" << endl;
} else {
cout << "Yay" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define all(v) v.begin(), v.end()
int main() {
ll a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a > k) {
cout << ":(" << endl;
} else {
cout << "Yay!" << endl;
}
}
| [
"literal.string.change",
"io.output.change"
] | 886,280 | 886,281 | u072293789 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, n) for (int i = 1; i <= (int)(n); i++)
int main() {
int A, B, C, D, E, K;
cin >> A >> B >> C >> D >> E >> K;
if (A + K >= E) {
cout << "Yay" << endl;
} else {
cout << ":(" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, n) for (int i = 1; i <= (int)(n); i++)
int main() {
int A, B, C, D, E, K;
cin >> A >> B >> C >> D >> E >> K;
if (A + K >= E) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 886,290 | 886,462 | u127228093 | cpp |
p03075 | #pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("fast-math")
#pragma GCC optimize("trapv")
#pragma GCC target("sse4")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_... | #pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("fast-math")
#pragma GCC optimize("trapv")
#pragma GCC target("sse4")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,469 | 886,470 | u752949890 | cpp |
p03075 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; n > i; ++i)
#define MOD 1000000007
using namespace std;
using ll = int64_t;
using pii = pair<int, int>;
using vi = vector<int>;
using VI = vector<ll>;
using vis = vector<string>;
using vvi = vector<vi>;
//最大公約数
int gcd(int a, int b) {
if (a % b == 0)
retu... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; n > i; ++i)
#define MOD 1000000007
using namespace std;
using ll = int64_t;
using pii = pair<int, int>;
using vi = vector<int>;
using VI = vector<ll>;
using vis = vector<string>;
using vvi = vector<vi>;
//最大公約数
int gcd(int a, int b) {
if (a % b == 0)
retu... | [
"literal.string.change",
"io.output.change"
] | 886,471 | 886,472 | u270535768 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pi 3.141592653589793238
#define fast \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pi 3.141592653589793238
#define fast \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,476 | 886,477 | u972911059 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
int main() {
int n = 5;
int a[n];
rep(i, n) cin >> a[i];
int k;
cin >> k;
cout << (abs(a[0] - a[4]) < k ? "Yay!" : ":(") << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
int main() {
int n = 5;
int a[n];
rep(i, n) cin >> a[i];
int k;
cin >> k;
cout << (abs(a[0] - a[4]) <= k ? "Yay!" : ":(") << endl;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"io.output.change"
] | 886,488 | 886,489 | u075775814 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
using P = pair<ll, ll>;
using V = vector<ll>;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep1(i, n) for (ll i = 1; i <= (ll)(n); i++)
#define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++)
#define rrep(... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
using P = pair<ll, ll>;
using V = vector<ll>;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep1(i, n) for (ll i = 1; i <= (ll)(n); i++)
#define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++)
#define rrep(... | [
"literal.number.change",
"call.arguments.change"
] | 886,499 | 886,500 | u145179061 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define MOD 1000000007LL
#define rep(i, n) for (ll(i) = 0LL; (i) < (ll)(n); (i)++)
#define rep2(i, s, e) for (ll(i) = (ll)(s); (i) < (ll)(e); (i)++)
#define repi(i, n) for (ll(i) = 0LL; (i) <= ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define MOD 1000000007LL
#define rep(i, n) for (ll(i) = 0LL; (i) < (ll)(n); (i)++)
#define rep2(i, s, e) for (ll(i) = (ll)(s); (i) < (ll)(e); (i)++)
#define repi(i, n) for (ll(i) = 0LL; (i) <= ... | [
"literal.number.change",
"call.arguments.change"
] | 886,503 | 886,504 | u196953553 | cpp |
p03075 |
#include <bits/stdc++.h>
#include <cmath>
using namespace std;
#define coutv(v) \
for (int i = 0; i < (v).size(); ++i) \
cout << v[i] << ' '; \
cout << en... |
#include <bits/stdc++.h>
#include <cmath>
using namespace std;
#define coutv(v) \
for (int i = 0; i < (v).size(); ++i) \
cout << v[i] << ' '; \
cout << en... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 886,505 | 886,506 | u641638265 | cpp |
p03075 |
#include <bits/stdc++.h>
#include <cmath>
using namespace std;
#define coutv(v) \
for (int i = 0; i < (v).size(); ++i) \
cout << v[i] << ' '; \
cout << en... |
#include <bits/stdc++.h>
#include <cmath>
using namespace std;
#define coutv(v) \
for (int i = 0; i < (v).size(); ++i) \
cout << v[i] << ' '; \
cout << en... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,507 | 886,506 | u641638265 | cpp |
p03075 |
#include <bits/stdc++.h>
#include <cmath>
using namespace std;
#define coutv(v) \
for (int i = 0; i < (v).size(); ++i) \
cout << v[i] << ' '; \
cout << en... |
#include <bits/stdc++.h>
#include <cmath>
using namespace std;
#define coutv(v) \
for (int i = 0; i < (v).size(); ++i) \
cout << v[i] << ' '; \
cout << en... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,508 | 886,506 | u641638265 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(n) begin(n), end(n)
using ll = long long;
using P = pair<int, int>;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (d - a > k) {
cout << ":(" << endl;
return 0;
}
cout <... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(n) begin(n), end(n)
using ll = long long;
using P = pair<int, int>;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a > k) {
cout << ":(" << endl;
return 0;
}
cout <... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 886,523 | 886,524 | u074488832 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (min({abs(a - b), abs(a - c), abs(a - d), abs(a - e), abs(b - c),
abs(b - d), abs(b - e), abs(c - d), abs(c - d), abs(d - e)}) <= k) {
cout << "Yay!" << endl;
} else {
... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (max({abs(a - b), abs(a - c), abs(a - d), abs(a - e), abs(b - c),
abs(b - d), abs(b - e), abs(c - d), abs(c - d), abs(d - e)}) <= k) {
cout << "Yay!" << endl;
} else {
... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"control_flow.branch.if.condition.change"
] | 886,541 | 886,542 | u861231819 | cpp |
p03075 | #include <climits>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
typedef long long LL;
int main() {
int v[5];
for (int i = 0; i < 5; ++i) {
std::cin >> v[i];
}
int k;
std::cin >> k;
if (k >= v[4] - v[1])
std::cout << "Yay!" << std::endl;
else
std::cout << ":(" <<... | #include <climits>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
typedef long long LL;
int main() {
int v[5];
for (int i = 0; i < 5; ++i) {
std::cin >> v[i];
}
int k;
std::cin >> k;
if (k >= v[4] - v[0])
std::cout << "Yay!" << std::endl;
else
std::cout << ":(" <<... | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 886,545 | 886,546 | u116523315 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> v(6);
int i, j;
for (i = 1; i < 6; i++) {
cin >> v.at(i);
}
for (i = 0; i < 5; i++) {
for (j = i + 1; j < 5; j++) {
if (abs(v.at(i) - v.at(j)) > v.at(5)) {
cout << ":(" << endl;
return 0;
}
}
... | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> v(6);
int i, j;
for (i = 0; i < 6; i++) {
cin >> v.at(i);
}
for (i = 0; i < 5; i++) {
for (j = i + 1; j < 5; j++) {
if (abs(v.at(i) - v.at(j)) > v.at(5)) {
cout << ":(" << endl;
return 0;
}
}
... | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 886,556 | 886,557 | u319965179 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using Graph = vector<vector<ll>>;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++)
#define rrep(i, n, m) for (ll i = n; i >= (ll)(m); i--)
const int dx[4] = {1, 0, -1, 0... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using Graph = vector<vector<ll>>;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++)
#define rrep(i, n, m) for (ll i = n; i >= (ll)(m); i--)
const int dx[4] = {1, 0, -1, 0... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 886,560 | 886,561 | u891847179 | cpp |
p03075 | #include <bits/stdc++.h>
#include <math.h>
#define _GLIBCXX_DEBUG
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k) {
cout << "Yay!" << endl;
} else {
cout << "(:" << endl;
}
} | #include <bits/stdc++.h>
#include <math.h>
#define _GLIBCXX_DEBUG
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
}
| [
"literal.string.change",
"io.output.change"
] | 886,574 | 886,575 | u838276016 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool dis = true;
if (e - a >= k) {
dis = false;
}
if (dis) {
cout << "Yay!" << endl;
}
else {
cout <... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool dis = true;
if (e - a > k) {
dis = false;
}
if (dis) {
cout << "Yay!" << endl;
}
else {
cout <<... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,576 | 886,577 | u096030913 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool dis = true;
if (e - a >= k) {
dis = false;
}
if (dis) {
cout << "Yay!" << endl;
}
else {
cout <... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool dis = true;
if (e - a > k) {
dis = false;
}
if (dis) {
cout << "Yay!" << endl;
}
else {
cout <<... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 886,578 | 886,577 | u096030913 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool x = true;
if (e - a > k || e - b > k || e - c > k || e - d > k || d - a > k ||
d - b > k || d - c > k || c - a > k || c - b > k || b - a > k) {
x = false;
}
if (x) {
c... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
bool x = true;
if (e - a > k || e - b > k || e - c > k || e - d > k || d - a > k ||
d - b > k || d - c > k || c - a > k || c - b > k || b - a > k) {
x = false;
}
if (x) {
c... | [
"literal.string.change",
"io.output.change"
] | 886,581 | 886,582 | u751515087 | cpp |
p03075 | /*
* atcoder/abc130/a.cpp
*/
// C++ 14
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstring> // memset
#include <iostream>
#include <vector>
using namespace std;
#define ll long long
#define loop(__x, __start, __end) for (int __x = __start; __x < __end; __x++)
template <class T> bool chmin(T... | /*
* atcoder/abc130/a.cpp
*/
// C++ 14
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstring> // memset
#include <iostream>
#include <vector>
using namespace std;
#define ll long long
#define loop(__x, __start, __end) for (int __x = __start; __x < __end; __x++)
template <class T> bool chmin(T... | [
"literal.string.change",
"io.output.change"
] | 886,585 | 886,586 | u823862638 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
// int n;
// cin>>n;
int a[5];
for (int i = 0; i < 5; i++) {
cin >> a[i];
}
sort(a, a + 5);
int k;
cin >> k;
cout << ((a[4] - a[0] < k) ? "Yay!" : ":(");
} | #include <bits/stdc++.h>
using namespace std;
int main() {
// int n;
// cin>>n;
int a[5];
for (int i = 0; i < 5; i++) {
cin >> a[i];
}
sort(a, a + 5);
int k;
cin >> k;
cout << ((a[4] - a[0] <= k) ? "Yay!" : ":(");
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"io.output.change"
] | 886,587 | 886,588 | u002627851 | cpp |
p03075 | #include <iostream>
using namespace std;
void range(int s, int w, int korg) {
if ((w - s) < korg)
cout << "Yay!";
else
cout << ":(";
}
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
range(a, e, k);
return 0;
}
| #include <iostream>
using namespace std;
void range(int s, int w, int korg) {
if ((w - s) <= korg)
cout << "Yay!";
else
cout << ":(";
}
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
range(a, e, k);
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,596 | 886,597 | u848862823 | cpp |
p03075 | #include <iostream>
using namespace std;
void range(int s, int w, int korg) {
if ((w - s) < korg)
cout << "Yay!!";
else
cout << ":(";
}
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
range(a, e, k);
return 0;
} | #include <iostream>
using namespace std;
void range(int s, int w, int korg) {
if ((w - s) <= korg)
cout << "Yay!";
else
cout << ":(";
}
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
range(a, e, k);
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 886,598 | 886,597 | u848862823 | cpp |
p03075 | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<long long, long long>;
constexpr char ln = '\n';
constexpr long long MOD = 1000000007LL;
constexpr long long INF = 1001001001LL;
#define all(x) (x).begin(), (x).end()
#define re... | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<long long, long long>;
constexpr char ln = '\n';
constexpr long long MOD = 1000000007LL;
constexpr long long INF = 1001001001LL;
#define all(x) (x).begin(), (x).end()
#define re... | [
"literal.string.change",
"io.output.change"
] | 886,599 | 886,600 | u062736195 | cpp |
p03075 | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<long long, long long>;
constexpr char ln = '\n';
constexpr long long MOD = 1000000007LL;
constexpr long long INF = 1001001001LL;
#define all(x) (x).begin(), (x).end()
#define re... | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<long long, long long>;
constexpr char ln = '\n';
constexpr long long MOD = 1000000007LL;
constexpr long long INF = 1001001001LL;
#define all(x) (x).begin(), (x).end()
#define re... | [
"literal.string.change",
"io.output.change"
] | 886,601 | 886,600 | u062736195 | cpp |
p03075 | #include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(i, n) for (int i = 1; i <= (int)(n); i++)
#define all(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using pi = pair<int, int>;
const ll INF = 1LL << 60;
int main() {
int a, b, c, d, e, k;
vector<int> at(5)... | #include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(i, n) for (int i = 1; i <= (int)(n); i++)
#define all(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using pi = pair<int, int>;
const ll INF = 1LL << 60;
int main() {
int a, b, c, d, e, k;
vector<int> at(5)... | [
"literal.string.change",
"io.output.change"
] | 886,607 | 886,608 | u730499268 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
using Graph = vector<vector<int>>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define Rep(i, k, n) for (int i = k; i < (int)(n); i++)
#define RRep(i, k, n) for (int i = k; i > (int)(n); i--)
#... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> P;
using Graph = vector<vector<int>>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define Rep(i, k, n) for (int i = k; i < (int)(n); i++)
#define RRep(i, k, n) for (int i = k; i > (int)(n); i--)
#... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 886,620 | 886,621 | u011716617 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
typedef long long llint;
typedef long double ld;
#define inf 1e18
#define mod 1000000007
priority_queue<llint, vector<llint>, greater<llint>> que;
priority_queue<llint> Que;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return 1;
}
re... | #include <bits/stdc++.h>
using namespace std;
typedef long long llint;
typedef long double ld;
#define inf 1e18
#define mod 1000000007
priority_queue<llint, vector<llint>, greater<llint>> que;
priority_queue<llint> Que;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return 1;
}
re... | [
"literal.number.change",
"call.arguments.change"
] | 886,628 | 886,629 | u332253305 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
typedef long long llint;
typedef long double ld;
#define inf 1e18
#define mod 1000000007
priority_queue<llint, vector<llint>, greater<llint>> que;
priority_queue<llint> Que;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return 1;
}
re... | #include <bits/stdc++.h>
using namespace std;
typedef long long llint;
typedef long double ld;
#define inf 1e18
#define mod 1000000007
priority_queue<llint, vector<llint>, greater<llint>> que;
priority_queue<llint> Que;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return 1;
}
re... | [
"literal.number.change",
"call.arguments.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 886,630 | 886,629 | u332253305 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> A(5);
int k;
for (int &i : A)
cin >> i;
cin >> k;
sort(A.begin(), A.end());
if (A.at(4) - A.at(0) < k)
cout << ":(" << endl;
else
cout << "Yay!" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<int> A(5);
int k;
for (int &i : A)
cin >> i;
cin >> k;
sort(A.begin(), A.end());
if (A.at(4) - A.at(0) > k)
cout << ":(" << endl;
else
cout << "Yay!" << endl;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,633 | 886,634 | u306482197 | cpp |
p03075 | #include <algorithm>
#include <climits>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
using ll = long long;
class Stream {
public:
Stream() {}
//配列以外の入力を受け取る
... | #include <algorithm>
#include <climits>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
using ll = long long;
class Stream {
public:
Stream() {}
//配列以外の入力を受け取る
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 886,639 | 886,640 | u269291896 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X;
vector<int> T(5);
for (int i = 0; i < 5; i++) {
cin >> T.at(i);
}
int cnt = 0;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 5; j++) {
if (max(T.at(j), T.at(i)) - min(T.at(j), T.at(i)) > X) {
cnt++;
}
}
}... | #include <bits/stdc++.h>
using namespace std;
int main() {
int X;
vector<int> T(5);
for (int i = 0; i < 5; i++) {
cin >> T.at(i);
}
cin >> X;
int cnt = 0;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 5; j++) {
if (max(T.at(j), T.at(i)) - min(T.at(j), T.at(i)) > X) {
cnt++;
... | [] | 886,643 | 886,644 | u033273089 | cpp |
p03075 | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define ll = long long;
int INF = 100100100;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yey!" << endl;
else
cout << ":(" << endl;
} | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define ll = long long;
int INF = 100100100;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
} | [
"literal.string.change",
"io.output.change"
] | 886,655 | 886,656 | u769530239 | cpp |
p03075 | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define ll = long long;
int INF = 100100100;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a < k)
cout << "Yey!" << endl;
else
cout << ":(" << endl;
} | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define ll = long long;
int INF = 100100100;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 886,657 | 886,656 | u769530239 | cpp |
p03075 | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define ll = long long;
int INF = 100100100;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a > k)
cout << "Yey!" << endl;
else
cout << ":(" << endl;
} | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define ll = long long;
int INF = 100100100;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 886,658 | 886,656 | u769530239 | cpp |
p03075 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
int a, b, c, d, e;
int k;
cin >> a >> b >> c >> d >> e >> k;
/*
cout << a << endl;
cout << e << endl;
cout << k << endl;
*/
if (e - a < k) {
cout << "Yay!" << endl;
}... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
int a, b, c, d, e;
int k;
cin >> a >> b >> c >> d >> e >> k;
/*
cout << a << endl;
cout << e << endl;
cout << k << endl;
*/
if (e - a <= k) {
cout << "Yay!" << endl;
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,659 | 886,660 | u801083963 | cpp |
p03075 | #include <algorithm>
#include <cassert>
#include <climits>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
using namespace std;
const int INF = 1e9;
const long long LINF = 1e18;
const ... | #include <algorithm>
#include <cassert>
#include <climits>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
using namespace std;
const int INF = 1e9;
const long long LINF = 1e18;
const ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,661 | 886,662 | u784838174 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a < k)
cout << ":(" << endl;
else
cout << "Yay!" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 886,663 | 886,664 | u604693716 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
vector<int> v(5);
rep(i, 5) cin >> v.at(i);
sort(v.begin(), v.end());
int k;
cin >> k;
int d = v.at(4) - v.at(0);
if (d > k)
cout << ":(";
else {
cout << "Yey!";
}
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
vector<int> v(5);
rep(i, 5) cin >> v.at(i);
sort(v.begin(), v.end());
int k;
cin >> k;
int d = v.at(4) - v.at(0);
if (d > k)
cout << ":(";
else {
cout << "Yay!";
}
} | [
"literal.string.change",
"io.output.change"
] | 886,665 | 886,666 | u007463213 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay" << endl;
else
cout << ":(" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k)
cout << "Yay!" << endl;
else
cout << ":(" << endl;
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 886,667 | 886,668 | u608040014 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k) {
cout << "Yay" << endl;
} else {
cout << ":(" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
if (e - a <= k) {
cout << "Yay!" << endl;
} else {
cout << ":(" << endl;
}
}
| [
"literal.string.change",
"io.output.change"
] | 886,671 | 886,672 | u587622858 | cpp |
p03075 | #include <algorithm>
#include <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
#define input(a) cin >> a
#define print(x) cout << x << endl
#define rep(a, n) for (int ... | #include <algorithm>
#include <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
#define input(a) cin >> a
#define print(x) cout << x << endl
#define rep(a, n) for (int ... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 886,673 | 886,674 | u054556734 | cpp |
p03075 | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
#define rep2(i, n) for (int i = 0; i <= n; i++)
#define repr(i, a, n) for (int i = a; i < n; i++)
#define all(a) a.begin(), a.end()
#de... | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
#define rep2(i, n) for (int i = 0; i <= n; i++)
#define repr(i, a, n) for (int i = a; i < n; i++)
#define all(a) a.begin(), a.end()
#de... | [
"expression.operator.compare.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 886,675 | 886,676 | u341447450 | cpp |
p03075 | #include <bits/stdc++.h>
using namespace std;
using in6 = int64_t;
using ind = double;
using vi = vector<in6>;
using vii = vector<vi>;
using vs = vector<string>;
using pii = pair<in6, in6>;
using psi = pair<string, in6>;
using vpi = vector<pii>;
using vps = vector<psi>;
#define rep(i, n) for (in6 i = 0; i < (in6)(n); i... | #include <bits/stdc++.h>
using namespace std;
using in6 = int64_t;
using ind = double;
using vi = vector<in6>;
using vii = vector<vi>;
using vs = vector<string>;
using pii = pair<in6, in6>;
using psi = pair<string, in6>;
using vpi = vector<pii>;
using vps = vector<psi>;
#define rep(i, n) for (in6 i = 0; i < (in6)(n); i... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,682 | 886,683 | u655179794 | cpp |
p03075 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int n[5];
int k;
int r;
for (int i = 0; i < 5; i++) {
cin >> n[i];
}
cin >> k;
int flag = 0;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 5; j++) {
if (n[i] - n[j] < 0) {
r = n[... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int n[5];
int k;
int r;
for (int i = 0; i < 5; i++) {
cin >> n[i];
}
cin >> k;
int flag = 0;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 5; j++) {
if (n[i] - n[j] < 0) {
r = n[... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,692 | 886,693 | u117737149 | cpp |
p03075 | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int n = 5;
int antenas[n];
int k, tmp;
for (int i = 0; i < n; i++) {
cin >> tmp;
antenas[i] = tmp;
}
... | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int n = 5;
int antenas[n];
int k, tmp;
for (int i = 0; i < n; i++) {
cin >> tmp;
antenas[i] = tmp;
}
... | [
"literal.string.change",
"io.output.change"
] | 886,703 | 886,704 | u127741845 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int Anttenas[5];
for (int i = 0; i < 5; ++i) {
cin >> Anttenas[i];
}
int distance;
cin >> distance;
if ((Anttenas[4] - Anttenas[0]) < distance) {
cout << "Yay!";
} else {
cout << ":(";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int Anttenas[5];
for (int i = 0; i < 5; ++i) {
cin >> Anttenas[i];
}
int distance;
cin >> distance;
if ((Anttenas[4] - Anttenas[0]) <= distance) {
cout << "Yay!";
} else {
cout << ":(";
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,709 | 886,710 | u187013893 | cpp |
p03075 | #include <iostream>
using namespace std;
int main() {
int Anttenas[5];
for (int i = 0; i < 5; ++i) {
cin >> Anttenas[i];
}
int distance;
cin >> distance;
if ((Anttenas[4] - Anttenas[0]) > distance) {
cout << "Yay!";
} else {
cout << ":(";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int Anttenas[5];
for (int i = 0; i < 5; ++i) {
cin >> Anttenas[i];
}
int distance;
cin >> distance;
if ((Anttenas[4] - Anttenas[0]) <= distance) {
cout << "Yay!";
} else {
cout << ":(";
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 886,711 | 886,710 | u187013893 | cpp |
p03075 | #include <algorithm>
#include <complex>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <typeinfo>
#include <unordered_map>
#include <vector>
using namespace std;
using ll = long long int;
const int mod = 1e9 + 7;
#define rep(i, a, b) for (ll i = a; i... | #include <algorithm>
#include <complex>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <typeinfo>
#include <unordered_map>
#include <vector>
using namespace std;
using ll = long long int;
const int mod = 1e9 + 7;
#define rep(i, a, b) for (ll i = a; i... | [
"literal.string.change",
"io.output.change"
] | 886,714 | 886,715 | u870074807 | cpp |
p03075 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
vector<int> vec = {b - a, c - a, d - a, e - a, c - b,
d - b, e - b, d - c, e - c... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int a, b, c, d, e, k;
cin >> a >> b >> c >> d >> e >> k;
vector<int> vec = {b - a, c - a, d - a, e - a, c - b,
d - b, e - b, d - c, e - c... | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 886,718 | 886,719 | u922449177 | cpp |
p03075 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main(int argc, const char *argv[]) {
cin.tie(0);
ios::sync_with_stdio(false);
/////////////////////
// Write code below /
/////////////////////
int A[5], k;
string flag = "Yay!";
cin >> A[0] >> A[1] >> A[... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main(int argc, const char *argv[]) {
cin.tie(0);
ios::sync_with_stdio(false);
/////////////////////
// Write code below /
/////////////////////
int A[5], k;
string flag = "Yay!";
cin >> A[0] >> A[1] >> A[... | [
"expression.operation.binary.add"
] | 886,725 | 886,726 | u843929518 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.