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 |
|---|---|---|---|---|---|---|---|
p03035 | #include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
map<char, int> a;
int main() {
int a, b;
cin >> a >> b;
if (a > 12)
cout << b << endl;
else if (a <= 12)
cout << b / 2 << endl;
else
cout << 0 << endl;
} | #include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
map<char, int> a;
int main() {
int a, b;
cin >> a >> b;
if (a > 12)
cout << b << endl;
else if (a <= 12 & a > 5)
cout << b / 2 << endl;
else
cout << 0 << endl;
}
| [
"control_flow.branch.if.condition.change"
] | 846,658 | 846,659 | u677400065 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A, B;
if (A <= 5) {
cout << 0 << endl;
} else if (A >= 13) {
cout << B << endl;
} else {
cout << B / 2 << endl;
}
return 0;
} |
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A <= 5) {
cout << 0 << endl;
} else if (A >= 13) {
cout << B << endl;
} else {
cout << B / 2 << endl;
}
return 0;
} | [] | 846,660 | 846,661 | u964124095 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
cout << (A < 6 ? 0 : (B < 13 ? B / 2 : B)) << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
cout << (A < 6 ? 0 : (A < 13 ? B / 2 : B)) << endl;
return 0;
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 846,666 | 846,667 | u183530284 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 1LL << 60;
const ll MOD = 1e9 + 7;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b << endl;
else if (a <= 6 && a <= 12)
cout << b / 2 << endl;
else if (a <= 5)
cout << 0 << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 1LL << 60;
const ll MOD = 1e9 + 7;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b << endl;
else if (a >= 6 && a <= 12)
cout << b / 2 << endl;
else if (a <= 5)
cout << 0 << endl;
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,668 | 846,669 | u568419568 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
// B is an even number
if (a > 12) {
/* tam fiyat */
cout << a;
} else if (a > 5) {
/* yarı fiyat */
cout << a / 2;
} else {
/* bedava */
cout << "0";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
// B is an even number
if (a > 12) {
/* tam fiyat */
cout << b;
} else if (a > 5) {
/* yarı fiyat */
cout << b / 2;
} else {
/* bedava */
cout << "0";
}
return 0;
} | [
"identifier.change",
"io.output.change"
] | 846,672 | 846,673 | u863190862 | cpp |
p03035 | #include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
int a, b, ans;
cin >> a >> b;
if (a < 5) {
ans = 0;
} else if (a <= 12) {
ans = b / 2;
} else {
ans = b;
}
cout << ans;
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
int a, b, ans;
cin >> a >> b;
if (a <= 5) {
ans = 0;
} else if (a <= 12) {
ans = b / 2;
} else {
ans = b;
}
cout << ans << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"io.output.newline.add"
] | 846,689 | 846,690 | u285043842 | cpp |
p03035 | #include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
int a, b, ans;
cin >> a >> b;
if (a < 5) {
ans = 0;
} else if (a <= 12) {
ans = b / 2;
} else {
ans = b;
}
cout << ans << endl;
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
int a, b, ans;
cin >> a >> b;
if (a <= 5) {
ans = 0;
} else if (a <= 12) {
ans = b / 2;
} else {
ans = b;
}
cout << ans << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,691 | 846,690 | u285043842 | cpp |
p03035 | #define _CRT_SECURE_NO_WARNINGS
#include <bits/stdc++.h>
#include <unordered_map>
using namespace std;
#define all(v) ((v).begin()), ((v).end())
#define fast \
ios::sync_with_stdio(0); \
cin.tie(0);... | #define _CRT_SECURE_NO_WARNINGS
#include <bits/stdc++.h>
#include <unordered_map>
using namespace std;
#define all(v) ((v).begin()), ((v).end())
#define fast \
ios::sync_with_stdio(0); \
cin.tie(0);... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,692 | 846,693 | u915266922 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13)
cout << B << endl;
else if (A >= 6)
cout << B / 2 << endl;
else
cout << B / 4 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13)
cout << B << endl;
else if (A >= 6)
cout << B / 2 << endl;
else
cout << 0 << endl;
}
| [
"identifier.replace.remove",
"literal.replace.add",
"io.output.change",
"expression.operation.binary.remove"
] | 846,696 | 846,697 | u469953228 | cpp |
p03035 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define rep(i, a) for (int i = (int)0; i < (int)a; ++i)
#define pb push_back
#define eb ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define rep(i, a) for (int i = (int)0; i < (int)a; ++i)
#define pb push_back
#define eb ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,698 | 846,699 | u698883164 | cpp |
p03035 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int n, a;
cin >> n >> a;
if (n >= 13) {
cout << n << endl;
} else if (n >= 6) {
a = a / 2;
cout << n << endl;
} else
cout << 0 << endl;
} | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int n, a;
cin >> n >> a;
if (n >= 13) {
cout << a << endl;
} else if (n >= 6) {
a = a / 2;
cout << a << endl;
} else
cout << 0 << endl;
} | [
"identifier.change",
"io.output.change"
] | 846,709 | 846,710 | u743473047 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> l_l;
typedef pair<int, int> i_i;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
re... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> l_l;
typedef pair<int, int> i_i;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
re... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 846,730 | 846,731 | u980655160 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
}
if (A <= 12 && A >= 6)
;
{ cout << B / 2 << endl; }
if (A <= 5) {
cout << 0 << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (A <= 12 && A >= 6) {
cout << B / 2 << endl;
} else if (A <= 5) {
cout << 0 << endl;
}
}
| [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 846,738 | 846,739 | u224951113 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a > 12) {
cout << b << endl;
} else if (a < 6) {
cout << b / 2 << endl;
} else {
cout << "0" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a > 12) {
cout << b << endl;
} else if (a < 6) {
cout << "0" << endl;
} else {
cout << b / 2 << endl;
}
return 0;
}
| [
"control_flow.branch.else.add"
] | 846,750 | 846,751 | u525242559 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a > 12) {
cout << b << endl;
} else if (a < 6) {
cout << b << endl;
} else {
cout << b << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a > 12) {
cout << b << endl;
} else if (a < 6) {
cout << "0" << endl;
} else {
cout << b / 2 << endl;
}
return 0;
}
| [
"io.output.change"
] | 846,752 | 846,751 | u525242559 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int a, b;
int main() {
cin >> a >> b;
if (a >= 6)
cout << b << "\n";
else if (a >= 5)
cout << b / 2 << "\n";
else
cout << "0\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b;
int main() {
cin >> a >> b;
if (a >= 13)
cout << b << "\n";
else if (a >= 6)
cout << b / 2 << "\n";
else
cout << "0\n";
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 846,755 | 846,756 | u114207999 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
} else if (A <= 5) {
A = 0;
} else {
A = A / 2;
}
cout << A << endl;
} | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
} else if (A <= 5) {
B = 0;
} else {
B = B / 2;
}
cout << B << endl;
} | [
"assignment.variable.change",
"identifier.change",
"assignment.value.change",
"expression.operation.binary.change",
"io.output.change"
] | 846,779 | 846,780 | u173511648 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << a;
} else if (a >= 6) {
cout << b / 2;
} else {
cout << 0;
}
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b;
} else if (a >= 6) {
cout << b / 2;
} else {
cout << 0;
}
}
| [
"identifier.change",
"io.output.change"
] | 846,783 | 846,784 | u276796245 | cpp |
p03035 | #include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define lli long long int
#define vi vector<int>
#define vlli vector<lli>
#define pii pair<int, int>
#define plli pair<lli, lli>
#define F(i, n) for (lli(i) = 0; (i) < (n); (i)++)
#define FR(i,... | #include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define lli long long int
#define vi vector<int>
#define vlli vector<lli>
#define pii pair<int, int>
#define plli pair<lli, lli>
#define F(i, n) for (lli(i) = 0; (i) < (n); (i)++)
#define FR(i,... | [
"identifier.change",
"io.output.change"
] | 846,787 | 846,788 | u201489353 | cpp |
p03035 | #include <iostream>
using namespace std;
int main(void) {
int a, b;
cin >> a >> b;
if (a < 5)
cout << 0 << endl;
else if (a < 13)
cout << b / 2 << endl;
else
cout << b << endl;
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int a, b;
cin >> a >> b;
if (a < 6)
cout << 0 << endl;
else if (a < 13)
cout << b / 2 << endl;
else
cout << b << endl;
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 846,795 | 846,796 | u598726179 | cpp |
p03035 | #include <iostream>
using namespace std;
int main(void) {
int a, b;
cin >> a >> b;
if (a < 5)
cout << 0 << endl;
else if (a < 12)
cout << b / 2 << endl;
else
cout << b << endl;
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int a, b;
cin >> a >> b;
if (a < 6)
cout << 0 << endl;
else if (a < 13)
cout << b / 2 << endl;
else
cout << b << endl;
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 846,797 | 846,796 | u598726179 | cpp |
p03035 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define ASC(c) sort((c).begin(), (c).end())
#define DESC(c) sort((c).begin(), (c).end(), greater<int>())
#define DUMP(x... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define ASC(c) sort((c).begin(), (c).end())
#define DESC(c) sort((c).begin(), (c).end(), greater<int>())
#define DUMP(x... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,804 | 846,805 | u112581208 | cpp |
p03035 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define ASC(c) sort((c).begin(), (c).end())
#define DESC(c) sort((c).begin(), (c).end(), greater<int>())
#define DUMP(x... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define ASC(c) sort((c).begin(), (c).end())
#define DESC(c) sort((c).begin(), (c).end(), greater<int>())
#define DUMP(x... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 846,806 | 846,805 | u112581208 | cpp |
p03035 | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define REPr(i, n) for (int i = (n)-1; i >= 0; --i)
#define FORq(i, m, n) for (int i = (m); i <= (n); ++i)
#define FORqr(i, m, n) for (int i = (n); i >= (m); --i)
#define PB push_back
#define M... | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define REPr(i, n) for (int i = (n)-1; i >= 0; --i)
#define FORq(i, m, n) for (int i = (m); i <= (n); ++i)
#define FORqr(i, m, n) for (int i = (n); i >= (m); --i)
#define PB push_back
#define M... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 846,809 | 846,810 | u532894762 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A < 6) {
cout << 0 << endl;
}
if (A < 13) {
cout << B / 2 << endl;
} else {
cout << B << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A < 6) {
cout << 0 << endl;
} else if (A < 13) {
cout << B / 2 << endl;
} else {
cout << B << endl;
}
}
| [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 846,827 | 846,828 | u494379309 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (6 <= 12) {
cout << B / 2 << endl;
} else if (0 <= 5) {
cout << 0 << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
//年齢が13歳以上の場合の結果を出力する処理
} else if (A >= 6 && A <= 12) {
cout << B / 2 << endl;
//年齢が6歳以上かつ12歳以下の場合の結果を出力する処理
} else if (0 <= 5) {
cout << 0 << end... | [
"control_flow.branch.if.condition.change"
] | 846,834 | 846,835 | u600215903 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A <= 13) {
cout << B << endl;
} else if (6 <= 12) {
cout << B / 2 << endl;
} else if (0 <= 5) {
cout << 0 << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
//年齢が13歳以上の場合の結果を出力する処理
} else if (A >= 6 && A <= 12) {
cout << B / 2 << endl;
//年齢が6歳以上かつ12歳以下の場合の結果を出力する処理
} else if (0 <= 5) {
cout << 0 << end... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,836 | 846,835 | u600215903 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (6 <= 12) {
cout << B / 2 << endl;
} else if (0 <= 5) {
cout << 0 << endl;
}
} | // ABC127のA問題を解いてみた
#include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
//年齢が13歳以上の場合の結果を出力する処理
} else if (A >= 6 && A <= 12) {
cout << B / 2 << endl;
//年齢が6歳以上かつ12歳以下の場合の結果を出力する処理
} else if (0 <= 5) {... | [
"control_flow.branch.if.condition.change"
] | 846,834 | 846,837 | u600215903 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A <= 13) {
cout << B << endl;
} else if (6 <= 12) {
cout << B / 2 << endl;
} else if (0 <= 5) {
cout << 0 << endl;
}
} | // ABC127のA問題を解いてみた
#include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
//年齢が13歳以上の場合の結果を出力する処理
} else if (A >= 6 && A <= 12) {
cout << B / 2 << endl;
//年齢が6歳以上かつ12歳以下の場合の結果を出力する処理
} else if (0 <= 5) {... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,836 | 846,837 | u600215903 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (6 <= 12) {
cout << B / 2 << endl;
} else if (0 <= 5) {
cout << 0 << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (A >= 6 && A <= 12) {
cout << B / 2 << endl;
} else if (0 <= 5) {
cout << 0 << endl;
}
} | [
"control_flow.branch.if.condition.change"
] | 846,834 | 846,838 | u600215903 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A <= 13) {
cout << B << endl;
} else if (6 <= 12) {
cout << B / 2 << endl;
} else if (0 <= 5) {
cout << 0 << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int A;
//高橋くんの年齢
int B;
//観覧車の料金
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (A >= 6 && A <= 12) {
cout << B / 2 << endl;
} else if (0 <= 5) {
cout << 0 << endl;
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,836 | 846,838 | u600215903 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
int Bhalf = B / 2;
if (A <= 5) {
cout << 0 << endl;
}
if (A >= 13) {
cout << B << endl;
} else {
cout << Bhalf << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
int Bhalf = B / 2;
if (A <= 5) {
cout << 0 << endl;
} else if (A >= 13) {
cout << B << endl;
} else {
cout << Bhalf << endl;
}
} | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 846,850 | 846,851 | u636605529 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
int Bhalf = B / 2;
if (A < 5) {
cout << 0 << endl;
}
if (A >= 13) {
cout << B << endl;
} else {
cout << Bhalf << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
int Bhalf = B / 2;
if (A <= 5) {
cout << 0 << endl;
} else if (A >= 13) {
cout << B << endl;
} else {
cout << Bhalf << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 846,852 | 846,851 | u636605529 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A < 5) {
cout << 0 << endl;
} else if (A >= 13) {
cout << B << endl;
} else {
cout << B / 2 << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A <= 5) {
cout << 0 << endl;
} else if (A >= 13) {
cout << B << endl;
} else {
cout << B / 2 << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,853 | 846,854 | u525974535 | cpp |
p03035 | #include <bits/stdc++.h>
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
using namespace std;
#define min_3(a, b, c) min(a, min(b, c))
t... | #include <bits/stdc++.h>
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
using namespace std;
#define min_3(a, b, c) min(a, min(b, c))
t... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,857 | 846,858 | u170650966 | cpp |
p03035 | #include <bits/stdc++.h>
#include <numeric>
#define REP(i, s, n) for (int i = s; i < n; ++i)
#define rep(i, n) REP(i, 0, n)
#define SORT(c) sort((c).begin(), (c).end())
#define SORT_INV(c) sort((c).begin(), (c).end(), greater<int>())
#define IINF INT_MAX
#define LLINF LLONG_MAX
#define DEBUG false
#define LL long lon... | #include <bits/stdc++.h>
#include <numeric>
#define REP(i, s, n) for (int i = s; i < n; ++i)
#define rep(i, n) REP(i, 0, n)
#define SORT(c) sort((c).begin(), (c).end())
#define SORT_INV(c) sort((c).begin(), (c).end(), greater<int>())
#define IINF INT_MAX
#define LLINF LLONG_MAX
#define DEBUG false
#define LL long lon... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,859 | 846,860 | u393086221 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b << endl;
else if (a >= 12)
cout << b / 2 << endl;
else
cout << 0 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b << endl;
else if (a >= 6)
cout << b / 2 << endl;
else
cout << 0 << endl;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 846,884 | 846,885 | u223172354 | cpp |
p03035 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < 5)
cout << 0 << endl;
else if (a < 13)
cout << b / 2 << endl;
else
cout << b << endl;
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a <= 5)
cout << 0 << endl;
else if (a < 13)
cout << b / 2 << endl;
else
cout << b << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,886 | 846,887 | u308684517 | cpp |
p03035 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b;
if (a <= 5)
cout << 0;
else
cout << b / 2;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b;
else if (a <= 5)
cout << 0;
else
cout << b / 2;
} | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 846,899 | 846,900 | u741134767 | cpp |
p03035 | #define debug_interval ','
#define dump_interval ' '
#define debug_toggle 1
//{
#include <bits/stdc++.h>
using namespace std;
#define hi cerr << "hi" << endl;
#define int long long
#define INT_MAX LLONG_MAX
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep1(i, n) for (int i = 1; i <= (n); i++)
#define pb push... | #define debug_interval ','
#define dump_interval ' '
#define debug_toggle 1
//{
#include <bits/stdc++.h>
using namespace std;
#define hi cerr << "hi" << endl;
#define int long long
#define INT_MAX LLONG_MAX
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep1(i, n) for (int i = 1; i <= (n); i++)
#define pb push... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 846,917 | 846,918 | u130196064 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
int a, b;
cin >> a >> b;
int ans = b;
if (6 <= a || a <= 12)
ans /= 2;
if (a < 6)
ans = 0;
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
int a, b;
cin >> a >> b;
int ans = b;
if (6 <= a && a <= 12)
ans /= 2;
if (a < 6)
ans = 0;
cout << ans << endl;
return 0;
}
| [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 846,919 | 846,920 | u237022500 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, ans;
cin >> a, b;
if (a > 12) {
ans = b;
} else if (a >= 6 && a <= 12) {
ans = b / 2;
} else {
ans = 0;
}
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, ans;
cin >> a >> b;
if (a > 12) {
ans = b;
} else if (a >= 6 && a <= 12) {
ans = b / 2;
} else {
ans = 0;
}
cout << ans << endl;
}
| [] | 846,921 | 846,922 | u018807058 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b << endl;
}
if (a >= 6 && a < 12) {
cout << b / 2 << endl;
}
if (a <= 5) {
cout << "0" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b << endl;
}
if (a >= 6 && a <= 12) {
cout << b / 2 << endl;
}
if (a <= 5) {
cout << "0" << endl;
}
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,942 | 846,943 | u572559885 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b << endl;
}
if (a >= 6 && a < 12) {
cout << b / 2 << endl;
}
if (a < 5) {
cout << "0" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b << endl;
}
if (a >= 6 && a <= 12) {
cout << b / 2 << endl;
}
if (a <= 5) {
cout << "0" << endl;
}
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,944 | 846,943 | u572559885 | cpp |
p03035 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B;
} else if (6 <= A <= 12) {
cout << B / 2;
} else {
cout << 0;
}
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B;
} else if (6 <= A && A <= 12) {
cout << B / 2;
} else {
cout << 0;
}
}
| [
"control_flow.branch.if.condition.change"
] | 846,970 | 846,971 | u447604786 | cpp |
p03035 | #include <cstdlib>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std; //このネームスペースを使う
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (A >= 6 && A >= 12) {
cout << B / 2 << endl;
} else {
cout << B * 0 << endl;
}
return 0;
}
| #include <cstdlib>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std; //このネームスペースを使う
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (A >= 6 && A <= 12) {
cout << B / 2 << endl;
} else {
cout << B * 0 << endl;
}
return 0;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,972 | 846,973 | u040883309 | cpp |
p03035 | #include <cstdlib>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std; //このネームスペースを使う
int main() {
int A, B;
cin >> A >> B;
if (A > 13) {
cout << B << endl;
} else if (A >= 6 && A >= 12) {
cout << B / 2 << endl;
} else {
cout << B * 0 << endl;
}
return 0;
}
| #include <cstdlib>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std; //このネームスペースを使う
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (A >= 6 && A <= 12) {
cout << B / 2 << endl;
} else {
cout << B * 0 << endl;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.opposites"
] | 846,974 | 846,973 | u040883309 | cpp |
p03035 | #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b << endl;
} else if (a > 6 && a < 13) {
cout << b / 2 << endl;
} else {
cout << '0' << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b << endl;
} else if (a >= 6 && a < 13) {
cout << b / 2 << endl;
} else {
cout << '0' << endl;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,988 | 846,989 | u304517780 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a > 13) {
cout << b;
} else if (12 >= a && a > 6) {
cout << b / 2;
} else {
cout << 0;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b;
} else if (12 >= a && a >= 6) {
cout << b / 2;
} else {
cout << 0;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 846,999 | 847,000 | u318027064 | cpp |
p03035 | #include <iostream>
using namespace std;
main() {
int a, b, ans;
cin >> a >> b;
if (a >= 13) {
ans = b;
} else if (a < 12 && a >= 6) {
ans = b / 2;
} else {
ans = 0;
}
cout << ans << endl;
}
| #include <iostream>
using namespace std;
main() {
int a, b, ans;
cin >> a >> b;
if (a >= 13) {
ans = b;
} else if (a >= 6) {
ans = b / 2;
} else {
ans = 0;
}
cout << ans << endl;
} | [
"expression.operation.binary.remove"
] | 847,014 | 847,015 | u703537155 | cpp |
p03035 | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int ma... | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int ma... | [
"control_flow.branch.if.condition.change"
] | 847,016 | 847,017 | u374765578 | cpp |
p03035 | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
if (a >= 13)
printf("%d\n", b);
else if (a >= 6)
printf("%d\n", b / 2);
else if (a >= 5)
printf("0\n");
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
if (a >= 13)
printf("%d\n", b);
else if (a >= 6)
printf("%d\n", b / 2);
else if (a <= 5)
printf("0\n");
return 0;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 847,018 | 847,019 | u177948670 | cpp |
p03035 | #pragma GCC optimize("O3")
#pragma GCC target("sse4")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pi;
typedef pair<ll, ll> pl;
typedef pair... | #pragma GCC optimize("O3")
#pragma GCC target("sse4")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pi;
typedef pair<ll, ll> pl;
typedef pair... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 847,025 | 847,026 | u422558819 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13)
cout << B;
else if (6 <= A <= 12)
cout << B / 2;
else
cout << '0';
return 0;
} | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13)
cout << B;
else if (6 <= A && A <= 12)
cout << B / 2;
else
cout << '0';
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 847,060 | 847,061 | u164385976 | cpp |
p03035 | #include <algorithm>
#include <deque>
#include <iostream>
#include <math.h>
#include <queue>
#include <stdlib.h>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
... | #include <algorithm>
#include <deque>
#include <iostream>
#include <math.h>
#include <queue>
#include <stdlib.h>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 847,083 | 847,084 | u561443723 | cpp |
p03035 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A <= 6)
cout << 0 << endl;
else if (A <= 12)
cout << B / 2 << endl;
else
cout << B << endl;
return 0;
}
| #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A < 6)
cout << 0 << endl;
else if (A <= 12)
cout << B / 2 << endl;
else
cout << B << endl;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 847,085 | 847,086 | u041662998 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B;
}
else if (6 <= A <= 12) {
cout << B / 2;
}
else {
cout << 0;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B;
}
else if (6 <= A && A <= 12) {
cout << B / 2;
}
else {
cout << 0;
}
} | [
"control_flow.branch.if.condition.change"
] | 847,087 | 847,088 | u677149659 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (6 <= A or A <= 12) {
cout << B / 2 << endl;
} else {
cout << 0 << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (6 <= A and A <= 12) {
cout << B / 2 << endl;
} else {
cout << 0 << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 847,119 | 847,120 | u263715385 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int ans = 0;
if (a <= 13)
ans = b;
if (a <= 12 && a >= 6)
ans = b / 2;
if (a < 5)
ans = 0;
cout << ans;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int ans = 0;
if (a >= 13)
ans = b;
if (a <= 12 && a >= 6)
ans = b / 2;
if (a < 5)
ans = 0;
cout << ans;
return 0;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 847,174 | 847,175 | u249546633 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int ans = 0;
if (a <= 13)
ans = b;
if (a <= 12 && a >= 6)
ans = b / 2;
if (a < 5)
ans = 0;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int ans = 0;
if (a >= 13)
ans = b;
if (a <= 12 && a >= 6)
ans = b / 2;
if (a < 5)
ans = 0;
cout << ans;
return 0;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 847,176 | 847,175 | u249546633 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < 6)
printf("0\n");
else if (a > 12)
printf("%d\n", b);
else
printf("%d/2\n", b);
} | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < 6)
printf("0\n");
else if (a > 12)
printf("%d\n", b);
else
printf("%d\n", b / 2);
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 847,179 | 847,180 | u981451025 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < 6)
printf("0\n");
else if (a > 12)
printf("%d/2\n", b);
else
printf("%d\n", b);
} | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < 6)
printf("0\n");
else if (a > 12)
printf("%d\n", b);
else
printf("%d\n", b / 2);
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 847,181 | 847,180 | u981451025 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < 6)
printf("0\n");
else if (a > 12)
printf("%d/2\n", &b);
else
printf("%d\n", &b);
} | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < 6)
printf("0\n");
else if (a > 12)
printf("%d\n", b);
else
printf("%d\n", b / 2);
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 847,182 | 847,180 | u981451025 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < 6)
printf("0\n");
else if (a > 12)
printf("%d\n", &b);
else
printf("%d/2\n", &b);
} | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < 6)
printf("0\n");
else if (a > 12)
printf("%d\n", b);
else
printf("%d\n", b / 2);
} | [
"call.arguments.change",
"literal.string.change",
"io.output.change"
] | 847,183 | 847,180 | u981451025 | cpp |
p03035 | #include <iostream>
int main() {
int A;
int B;
std::cin >> A;
std::cin >> B;
std::cout << (A >= 13) ? B : ((A >= 6) ? B / 2 : 0);
} | #include <iostream>
int main() {
int A;
int B;
std::cin >> A;
std::cin >> B;
std::cout << ((A >= 13) ? B : (A >= 6) ? (B / 2) : 0);
}
| [] | 847,198 | 847,199 | u425547861 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define all(x) (x).begin(), (x).end()
#define m0(x) memset(x, 0, sizeof(x))
int dx4[4] = {1, 0, -1, 0}, dy4[4] = {0, 1, 0, -1};
i... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define all(x) (x).begin(), (x).end()
#define m0(x) memset(x, 0, sizeof(x))
int dx4[4] = {1, 0, -1, 0}, dy4[4] = {0, 1, 0, -1};
i... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 847,206 | 847,207 | u773916255 | cpp |
p03035 | #include <stdio.h>
int main(void) {
int a, b, ret;
ret = scanf("%d %d", &a, &b);
if (b >= 13) {
printf("%d\n", b);
} else if (b >= 6 && b <= 12) {
printf("%d\n", b / 2);
} else {
printf("0\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, ret;
ret = scanf("%d %d", &a, &b);
if (a >= 13) {
printf("%d\n", b);
} else if (a >= 6 && a <= 12) {
printf("%d\n", b / 2);
} else {
printf("0\n");
}
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 847,226 | 847,227 | u106524514 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13)
cout << B << endl;
else if (6 <= A <= 12)
cout << B / 2 << endl;
else
cout << "0" << endl;
}
| #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13)
cout << B << endl;
else if (6 <= A)
cout << B / 2 << endl;
else
cout << 0 << endl;
}
| [
"expression.operation.binary.remove"
] | 847,243 | 847,244 | u532401120 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13)
cout << B << endl;
else if (6 <= A < 12)
cout << B / 2 << endl;
else
cout << "0" << endl;
} | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13)
cout << B << endl;
else if (6 <= A)
cout << B / 2 << endl;
else
cout << 0 << endl;
}
| [
"expression.operation.binary.remove"
] | 847,245 | 847,244 | u532401120 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b;
else if (b <= 12 && b >= 6)
cout << b / 2;
else
cout << "0";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b;
else if (a <= 12 && a >= 6)
cout << b / 2;
else
cout << "0";
return 0;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 847,246 | 847,247 | u409343817 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b;
else if (b <= 12 && b >= 5)
cout << b / 2;
else
cout << "0";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b;
else if (a <= 12 && a >= 6)
cout << b / 2;
else
cout << "0";
return 0;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.number.change"
] | 847,248 | 847,247 | u409343817 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A;
int B;
cin >> A;
if (A >= 13)
cout << B << endl;
if (A < 13 && A >= 6)
cout << B / 2 << endl;
if (A < 6)
cout << 0 << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A;
int B;
cin >> A;
cin >> B;
if (A >= 13)
cout << B << endl;
if (A < 13 && A >= 6)
cout << B / 2 << endl;
if (A < 6)
cout << 0 << endl;
} | [] | 847,251 | 847,252 | u783598783 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int age, charge, hisCharge;
cin >> age >> charge;
if (age >= 13) {
hisCharge = charge;
} else if (age <= 12 || age >= 6) {
hisCharge = charge / 2;
} else if (age <= 5) {
hisCharge = 0;
}
cout << hisCharge << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int age, charge, hisCharge;
cin >> age >> charge;
if (age >= 13) {
hisCharge = charge;
} else if (age <= 12 && age >= 6) {
hisCharge = charge / 2;
} else if (age <= 5) {
hisCharge = 0;
}
cout << hisCharge << endl;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 847,253 | 847,254 | u657465456 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int age, charge, hisCharge;
cin >> age >> charge;
if (age >= 13) {
hisCharge = charge;
} else if (age <= 12 || age >= 6) {
hisCharge = charge / 2;
} else if (age <= 6) {
hisCharge = 0;
}
cout << hisCharge << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int age, charge, hisCharge;
cin >> age >> charge;
if (age >= 13) {
hisCharge = charge;
} else if (age <= 12 && age >= 6) {
hisCharge = charge / 2;
} else if (age <= 5) {
hisCharge = 0;
}
cout << hisCharge << endl;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change",
"literal.number.change"
] | 847,256 | 847,254 | u657465456 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A == 0)
cout << "0" << endl;
else if (A >= 13)
cout << B << endl;
else
cout << B / 2 << endl;
} | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A <= 5)
cout << "0" << endl;
else if (A >= 13)
cout << B << endl;
else
cout << B / 2 << endl;
} | [] | 847,259 | 847,260 | u771266615 | cpp |
p03035 | /*
* omg.cpp
*
* Created on: 2019/06/03
* Author: J01003
*/
#include <iostream>
using namespace std;
int main() {
int n, a, b;
cin >> a >> b;
if (a > 12) {
cout << b << endl;
} else if (a > 6) {
cout << b / 2 << endl;
} else {
cout << 0 << endl;
}
return 0;
}
| /*
* omg.cpp
*
* Created on: 2019/06/03
* Author: J01003
*/
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a > 12) {
cout << b << endl;
} else if (a > 5) {
cout << b / 2 << endl;
} else {
cout << 0 << endl;
}
return 0;
}
| [
"variable_declaration.remove",
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 847,261 | 847,262 | u023758930 | cpp |
p03035 | #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
if (a >= 13) {
std::cout << b << std::endl;
} else if (a <= 5) {
std::cout << b / 2 << std::endl;
} else {
std::cout << 0 << std::endl;
}
} | #include <iostream>
int main() {
int a, b;
std::cin >> a >> b;
if (a >= 13) {
std::cout << b << std::endl;
} else if (a <= 5) {
std::cout << 0 << std::endl;
} else {
std::cout << b / 2 << std::endl;
}
} | [
"control_flow.branch.else.add"
] | 847,263 | 847,264 | u702008643 | cpp |
p03035 | #include <iostream>
using namespace std;
int A;
int B;
int ans;
int main() {
cin >> A;
cin >> B;
if (A >= 13) {
ans = B;
}
if (A <= 12) {
if (A >= 7) {
ans = B / 2;
}
if (A <= 6) {
ans = 0;
}
}
cout << ans << endl;
}
| #include <iostream>
using namespace std;
int A;
int B;
int ans;
int main() {
cin >> A;
cin >> B;
if (A >= 13) {
ans = B;
}
if (A <= 12) {
if (A >= 6) {
ans = B / 2;
}
if (A <= 5) {
ans = 0;
}
}
cout << ans << endl;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 847,272 | 847,273 | u268314747 | cpp |
p03035 | #include <iostream>
using namespace std;
int A;
int B;
int ans;
int main() {
cin >> A;
cin >> B;
if (A >= 13) {
ans = B;
}
if (A <= 12) {
if (A >= 7) {
ans = B / 2;
}
if (A >= 6) {
ans = 0;
}
}
cout << ans << endl;
}
| #include <iostream>
using namespace std;
int A;
int B;
int ans;
int main() {
cin >> A;
cin >> B;
if (A >= 13) {
ans = B;
}
if (A <= 12) {
if (A >= 6) {
ans = B / 2;
}
if (A <= 5) {
ans = 0;
}
}
cout << ans << endl;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 847,274 | 847,273 | u268314747 | cpp |
p03035 | #include <iostream>
using namespace std;
int A;
int B;
int ans;
int main() {
cin >> A;
cin >> B;
if (A >= 13) {
ans = B;
}
if (A <= 12) {
if (A != 0) {
ans = B / 2;
}
}
if (A == 0) {
ans = 0;
}
cout << ans << endl;
} | #include <iostream>
using namespace std;
int A;
int B;
int ans;
int main() {
cin >> A;
cin >> B;
if (A >= 13) {
ans = B;
}
if (A <= 12) {
if (A >= 6) {
ans = B / 2;
}
if (A <= 5) {
ans = 0;
}
}
cout << ans << endl;
}
| [] | 847,275 | 847,273 | u268314747 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (A < 5) {
cout << 0 << endl;
} else {
cout << B / 2 << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
} else if (A <= 5) {
cout << 0 << endl;
} else {
cout << B / 2 << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 847,304 | 847,305 | u910219223 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b;
} else if (a <= 12 && b >= 6) {
cout << b / 2;
} else {
cout << 0;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13) {
cout << b;
} else if (a <= 12 && a >= 6) {
cout << b / 2;
} else {
cout << 0;
}
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 847,317 | 847,318 | u509420256 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
int price;
if (A > 13) {
price = B;
} else if (A < 5) {
price = 0;
} else {
price = B / 2;
}
cout << price << endl;
}
| #include <iostream>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
int price;
if (A >= 13) {
price = B;
} else if (A <= 5) {
price = 0;
} else {
price = B / 2;
}
cout << price << endl;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 847,324 | 847,323 | u991381137 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13)
cout << a;
else if (a >= 6)
cout << a / 2;
else
cout << "0";
cout << "\n";
} | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= 13)
cout << b;
else if (a >= 6)
cout << b / 2;
else
cout << "0";
cout << "\n";
} | [
"identifier.change",
"io.output.change"
] | 847,344 | 847,345 | u299345923 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a <= 5) {
cout << 0;
} else if (a <= 6) {
cout << b / 2;
} else {
cout << b;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a <= 5) {
cout << 0;
} else if (a <= 12) {
cout << b / 2;
} else {
cout << b;
}
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 847,356 | 847,357 | u308643604 | cpp |
p03035 | #define _USE_MATH_DEFINES
#include <bits/stdc++.h>
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define Rep(i, a, b) for (int i = 0; i < b; i++)
#define REP(i, a, b) for (int i = 0; i <= b; i++)
#define rev(i, n) for (int i = n - 1; i >= 0; i--)
#define vi vector<int>
#define vvi vector<vi>
#defi... | #define _USE_MATH_DEFINES
#include <bits/stdc++.h>
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define Rep(i, a, b) for (int i = 0; i < b; i++)
#define REP(i, a, b) for (int i = 0; i <= b; i++)
#define rev(i, n) for (int i = n - 1; i >= 0; i--)
#define vi vector<int>
#define vvi vector<vi>
#defi... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 847,362 | 847,363 | u775507068 | cpp |
p03035 | #include <bits/stdc++.h>
int main() {
int a, b, ans = 0;
scanf("%d %d", &a, &b);
if (a >= 13) {
ans = b;
} else if (a >= 5) {
ans = b >> 1;
}
printf("%d\n", ans);
}
| #include <bits/stdc++.h>
int main() {
int a, b, ans = 0;
scanf("%d %d", &a, &b);
if (a >= 13) {
ans = b;
} else if (a >= 6) {
ans = b >> 1;
}
printf("%d\n", ans);
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 847,382 | 847,383 | u738532317 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int a, b;
void Enter() { cin >> a >> b; }
void Solve() {
if (a <= 5)
cout < 0;
else if (6 <= a && a <= 12)
cout << b / 2;
else
cout << b;
}
int main() {
Enter();
Solve();
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int a, b;
void Enter() { cin >> a >> b; }
void Solve() {
if (a <= 5)
cout << 0;
else if (6 <= a && a <= 12)
cout << b / 2;
else
cout << b;
}
int main() {
Enter();
Solve();
return 0;
}
| [
"io.output.change"
] | 847,404 | 847,405 | u495673021 | cpp |
p03035 | #include <bits/stdc++.h>
#define ll long long
#define vi vector<int>
#define vc vector<char>
#define vt vector<string>
#define si set<int>
#define sc set<char>
#define st set<string>
#define pii pair<int, int>
#define fi first
#define se second
using namespace std;
int main() {
int a;
cin >> a;
int b;
cin >> ... | #include <bits/stdc++.h>
#define ll long long
#define vi vector<int>
#define vc vector<char>
#define vt vector<string>
#define si set<int>
#define sc set<char>
#define st set<string>
#define pii pair<int, int>
#define fi first
#define se second
using namespace std;
int main() {
int a;
cin >> a;
int b;
cin >> ... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 847,412 | 847,413 | u869759633 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
struct Fast {
Fast() {
cin.tie(0);
ios::sync_with_stdio(false);
cout << fixed << setprecision(20);
}
} fast;
int main() {
int a, b;
cin >> a >> b;
if (a > 12) {
cout << b;
} else if (a < 5) {
cout << 0;
} else {
cout << b / 2;
}
} | #include <bits/stdc++.h>
using namespace std;
struct Fast {
Fast() {
cin.tie(0);
ios::sync_with_stdio(false);
cout << fixed << setprecision(20);
}
} fast;
int main() {
int a, b;
cin >> a >> b;
if (a > 12) {
cout << b;
} else if (a < 6) {
cout << 0;
} else {
cout << b / 2;
}
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 847,420 | 847,421 | u687204015 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
main() {
int A, B, money;
cin >> A >> B;
if (A >= 13) {
money = B;
}
if (12 >= A && A >= 6) {
money = B / 2;
} else
money = 0;
cout << money << endl;
} | #include <bits/stdc++.h>
using namespace std;
main() {
int A, B, money;
cin >> A >> B;
if (A >= 13) {
money = B;
} else if (12 >= A && A >= 6) {
money = B / 2;
} else
money = 0;
cout << money << endl;
} | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 847,426 | 847,427 | u076426414 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
main() {
int A, B, money;
cin >> A >> B;
if (A >= 13) {
money = B;
}
if (12 >= A || A >= 6) {
money = B / 2;
} else
money = 0;
cout << money << endl;
} | #include <bits/stdc++.h>
using namespace std;
main() {
int A, B, money;
cin >> A >> B;
if (A >= 13) {
money = B;
} else if (12 >= A && A >= 6) {
money = B / 2;
} else
money = 0;
cout << money << endl;
} | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove",
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 847,428 | 847,427 | u076426414 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pi;
#define debug(x) cout << #x << ": " << x << endl
#define repn(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, a) for (int i = 0; i < (a); i++)
#define all(v) v.begin(), v.end()
#define mp make_... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pi;
#define debug(x) cout << #x << ": " << x << endl
#define repn(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, a) for (int i = 0; i < (a); i++)
#define all(v) v.begin(), v.end()
#define mp make_... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change"
] | 847,451 | 847,452 | u626595726 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A > 12) {
cout << B << endl;
} else if (12 >= A || A >= 6) {
cout << B / 2 << endl;
} else {
cout << 0 << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A > 12) {
cout << B << endl;
} else if (12 >= A && A >= 6) {
cout << B / 2 << endl;
} else {
cout << 0 << endl;
}
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 847,464 | 847,465 | u801530021 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
}
if (6 <= A <= 12) {
cout << B / 2 << endl;
}
if (A <= 6) {
cout << 0 << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
if (A >= 13) {
cout << B << endl;
}
if (A >= 6 && A <= 12) {
cout << B / 2 << endl;
}
if (A < 6) {
cout << 0 << endl;
}
}
| [
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 847,510 | 847,511 | u493005987 | cpp |
p03035 | #include <bits/stdc++.h>
#define int long long
using namespace std;
// typedef
//------------------------------------------
typedef pair<int, int> PII;
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef vector<bool> VB;
typedef vector<PII> VP;
// REPEAT
//------------------------------... | #include <bits/stdc++.h>
#define int long long
using namespace std;
// typedef
//------------------------------------------
typedef pair<int, int> PII;
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef vector<bool> VB;
typedef vector<PII> VP;
// REPEAT
//------------------------------... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 847,514 | 847,515 | u055131803 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define pf push_front
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define mp make_pair
#define fi first
#define se second
typedef pair<int, int> pint;
#define All(s) s.begi... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define pf push_front
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define mp make_pair
#define fi first
#define se second
typedef pair<int, int> pint;
#define All(s) s.begi... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 847,530 | 847,531 | u033602950 | cpp |
p03035 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef vector<string> vs;
typedef vector<char> vc;
typedef vector<vc> vvc;
typedef vector<bool> vb;
typedef pair<int, int> pii;
typedef pair<char, ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef vector<string> vs;
typedef vector<char> vc;
typedef vector<vc> vvc;
typedef vector<bool> vb;
typedef pair<int, int> pii;
typedef pair<char, ... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 847,561 | 847,562 | u159619403 | cpp |
p03035 | #include <iostream>
using namespace std;
int main() {
int age, yen;
cin >> age >> yen;
if (age >= 13)
cout << age * yen << endl;
else if ((age >= 6) && (age <= 12))
cout << (age * yen) / 2 << endl;
else
cout << "0" << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int age, yen;
cin >> age >> yen;
if (age >= 13)
cout << yen << endl;
else if ((age >= 6) && (age <= 12))
cout << yen / 2 << endl;
else
cout << "0" << endl;
return 0;
}
| [
"expression.operation.binary.remove"
] | 847,567 | 847,568 | u953753178 | cpp |
p03035 | // https://atcoder.jp/contests/abc127/tasks/abc127_a
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a <= 5)
cout << 0 << endl;
else if (a >= 12)
cout << b / 2 << endl;
else
cout << b << endl;
}
| // https://atcoder.jp/contests/abc127/tasks/abc127_a
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a <= 5)
cout << 0 << endl;
else if (a <= 12)
cout << b / 2 << endl;
else
cout << b << endl;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 847,571 | 847,572 | u729751480 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.