problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p03759 | #include <cstdio>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (b - a == c - b) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | #include <cstdio>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (b - a == c - b) {
printf("YES\n");
} else {
printf("NO\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 1,406,617 | 1,406,618 | u142415823 | cpp |
p03759 | #include <cstdio>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (b - a == c - b) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <cstdio>
using namespace std;
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (b - a == c - b) {
printf("YES\n");
} else {
printf("NO\n");
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,406,619 | 1,406,618 | u142415823 | cpp |
p03759 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (2 * b == a + c) {
cout << "yes" << endl;
}
if (2 * b != a + c) {
cout << "no" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (2 * b == a + c) {
cout << "YES" << endl;
}
if (2 * b != a + c) {
cout << "NO" << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,406,620 | 1,406,621 | u400707671 | cpp |
p03759 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (abs(b - a) == abs(c - b)) {
cout << "YES" << endl;
} else
cout << "NO" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b) {
cout << "YES" << endl;
} else
cout << "NO" << endl;
return 0;
}
| [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,406,624 | 1,406,625 | u406452118 | cpp |
p03759 | #include <iostream>
#include <math.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (abs(b - a) == abs(c - b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| #include <iostream>
#include <math.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a == c - b)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"control_flow.branch.if.condition.change",
"call.remove"
] | 1,406,626 | 1,406,627 | u850740413 | cpp |
p03759 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
while (scanf("%d%d%d", &a, &b, &c) != EOF) {
if (a + b == 2 * b)
printf("YES\n");
else
printf("NO\n");
}
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
while (scanf("%d%d%d", &a, &b, &c) != EOF) {
if (a + c == 2 * b)
printf("YES\n");
else
printf("NO\n");
}
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,649 | 1,406,650 | u324756481 | cpp |
p03759 | /*Coded by::
**Avinash Tiwary**
**BE/10298/2015**
**Production Engineer**
**Producing <code>**
*/
#include <bits/stdc++.h>
#define bf ios_base::sync_with_stdio(0), cin.tie(0)
typedef long long ll;
typedef double d;
#define MAX 1000009
#define MIN -1
#define M 1000000007
#define INF 5e17
using namespace std;
typede... | /*Coded by::
**Avinash Tiwary**
**BE/10298/2015**
**Production Engineer**
**Producing <code>**
*/
#include <bits/stdc++.h>
#define bf ios_base::sync_with_stdio(0), cin.tie(0)
typedef long long ll;
typedef double d;
#define MAX 1000009
#define MIN -1
#define M 1000000007
#define INF 5e17
using namespace std;
typede... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 1,406,651 | 1,406,652 | u374517378 | cpp |
p03759 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int a, b, c;
int main() {
scanf("%d%d%d", &a, &b, &c);
if (b - a == c - b)
printf("YES\n");
else
printf("No\n");
} | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int a, b, c;
int main() {
scanf("%d%d%d", &a, &b, &c);
if (b - a == c - b)
printf("YES\n");
else
printf("NO\n");
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,406,655 | 1,406,656 | u584299958 | cpp |
p03760 | #include <iostream>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < O.size() - 1; i++) {
cout << O[i] << E[i];
}
if (O.size() > E.size()) {
cout << O[O.size() - 1];
}
cout << endl;
}
| #include <iostream>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < E.size(); i++) {
cout << O[i] << E[i];
}
if (O.size() > E.size()) {
cout << O[O.size() - 1];
}
cout << endl;
}
| [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 1,406,661 | 1,406,662 | u317560202 | cpp |
p03760 | #include <iostream>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < O.size() - 1; i++) {
cout << O[i] << E[i];
}
if (O.size() > E.size()) {
cout << E[E.size() - 1];
}
cout << endl;
}
| #include <iostream>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < E.size(); i++) {
cout << O[i] << E[i];
}
if (O.size() > E.size()) {
cout << O[O.size() - 1];
}
cout << endl;
}
| [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"expression.operation.binary.remove",
"io.output.change",
"variable_access.subscript.index.change"
] | 1,406,663 | 1,406,662 | u317560202 | cpp |
p03760 | #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.change",
"io.output.change"
] | 1,406,667 | 1,406,668 | u580593895 | cpp |
p03760 | #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... | [
"expression.operation.binary.remove",
"identifier.change",
"io.output.change"
] | 1,406,669 | 1,406,668 | u580593895 | cpp |
p03760 | #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... | [
"expression.operation.binary.remove",
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,406,671 | 1,406,668 | u580593895 | cpp |
p03760 | #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... | [
"expression.operation.binary.remove",
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"io.output.change"
] | 1,406,672 | 1,406,668 | u580593895 | cpp |
p03760 | #include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long int ll;
typedef pair<int, int> P;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
... | #include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long int ll;
typedef pair<int, int> P;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
... | [
"identifier.change",
"call.arguments.change"
] | 1,406,681 | 1,406,682 | u415325136 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
vector<char> ans;
for (int i = 0; i < O.size(); i++) {
ans.push_back(O.at(i));
if (i == E.size() - 1 && O.size() != E.size()) {
break;
}
ans.push_back(E.at(i));
}
for (int i = 0; i < ans.size(); i++... | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
vector<char> ans;
for (int i = 0; i < O.size(); i++) {
ans.push_back(O.at(i));
if (i == O.size() - 1 && O.size() != E.size()) {
break;
}
ans.push_back(E.at(i));
}
for (int i = 0; i < ans.size(); i++... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,406,692 | 1,406,693 | u837784642 | cpp |
p03760 | #include <bits/stdc++.h>
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
} else {
return false;
}
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
} else {
return false;
}
}
#define ll long long
#define double lon... | #include <bits/stdc++.h>
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
} else {
return false;
}
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
} else {
return false;
}
}
#define ll long long
#define double lon... | [
"identifier.change",
"call.arguments.change",
"assignment.value.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,406,704 | 1,406,705 | u441250130 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++)
int main() {
string N, M;
cin >> N >> M;
rep(i, 0, N.size()) cout << N[i] << M[i];
if (N.size() > M.size())
cout << N[N.size() - 1] << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++)
int main() {
string N, M;
cin >> N >> M;
rep(i, 0, M.size()) cout << N[i] << M[i];
if (N.size() > M.size())
cout << N[N.size() - 1] << endl;
return 0;
} | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 1,406,739 | 1,406,740 | u829403090 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
reverse(O.begin(), O.end());
reverse(E.begin(), E.end());
for (int i = 1; !O.empty() || E.empty(); i++) {
if (i % 2) {
cout << O.back();
O.pop_back();
} else {
cout << E.back();
E.pop_back();... | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
reverse(O.begin(), O.end());
reverse(E.begin(), E.end());
for (int i = 1; !O.empty() || !E.empty(); i++) {
if (i % 2) {
cout << O.back();
O.pop_back();
} else {
cout << E.back();
E.pop_back()... | [
"expression.operation.unary.add"
] | 1,406,749 | 1,406,750 | u931938233 | cpp |
p03760 | #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b;
cin >> a >> b;
string ans;
for (int i = 0; i < b.length(); i++) {
ans += a[i] + b[i];
}
if (a.length() != b.length())
ans += a[a.length() - 1];
cout << ans << endl;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string a, b;
cin >> a >> b;
string ans;
for (int i = 0; i < b.length(); i++) {
ans += a[i];
ans += b[i];
}
if (a.length() != b.length())
ans += a[a.length() - 1];
cout << ans << endl;
}
| [
"expression.operation.binary.change",
"assignment.change"
] | 1,406,755 | 1,406,756 | u858670323 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
for (int i = 0; i < s.size(); i++)
cout << s.at(i) << t.at(i);
if (t.size() > s.size())
cout << t.at(t.size() - 1);
cout << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
for (int i = 0; i < t.size(); i++)
cout << s.at(i) << t.at(i);
if (t.size() < s.size())
cout << s.at(s.size() - 1);
cout << endl;
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 1,406,763 | 1,406,764 | u247123590 | cpp |
p03760 | //
// じょえチャンネル
// 高評価・チャンネル登録よろしくお願いします!
// https://www.youtube.com/watch?v=gPFr7q7eLL8
//
/*------------------------------------
∧_∧
∧_∧ (´<_` )
( ´_ゝ`) / ⌒i
/ \ | |
/ / ̄ ̄ ̄ ̄/ |
__(__ニつ/ _/ .| .|____
\/____/ (u ⊃
-------------------------------------*/
#include <alg... | //
// じょえチャンネル
// 高評価・チャンネル登録よろしくお願いします!
// https://www.youtube.com/watch?v=gPFr7q7eLL8
//
/*------------------------------------
∧_∧
∧_∧ (´<_` )
( ´_ゝ`) / ⌒i
/ \ | |
/ / ̄ ̄ ̄ ̄/ |
__(__ニつ/ _/ .| .|____
\/____/ (u ⊃
-------------------------------------*/
#include <alg... | [
"control_flow.branch.if.condition.change"
] | 1,406,767 | 1,406,768 | u409872261 | cpp |
p03760 | // 失敗するからこそ
// そこから立ち向かって行く強さがあってそんな強さが本当の強さだと私は思うから
#ifdef DAIJOBU
#include "/home/v-o_o-v/deb.h"
#define deb(x...) \
cerr << "[" << #x << "] = ["; \
_print(x)
#else
#include <bits/stdc++.h>
#define deb(x...... | // 失敗するからこそ
// そこから立ち向かって行く強さがあってそんな強さが本当の強さだと私は思うから
#ifdef DAIJOBU
#include "/home/v-o_o-v/deb.h"
#define deb(x...) \
cerr << "[" << #x << "] = ["; \
_print(x)
#else
#include <bits/stdc++.h>
#define deb(x...... | [
"io.output.change"
] | 1,406,775 | 1,406,776 | u461913494 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
string ans;
int index1 = 0, index2 = 0;
int len = o.length() + e.length();
for (int i = 1; i < len; i++) {
if (i % 2 == 1) {
ans.push_back(o[index1]);
index1++;
} else {
ans.push_back(e[index2]... | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
string ans;
int index1 = 0, index2 = 0;
int len = o.length() + e.length();
for (int i = 1; i <= len; i++) {
if (i % 2 == 1) {
ans.push_back(o[index1]);
index1++;
} else {
ans.push_back(e[index2... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,406,787 | 1,406,788 | u821625519 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define ios ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
#define rep(i, n) for (int i = 0; i < int(n); ++i)
//-------------------ここから回答する-----------------------
void solve(void) {
string o, e;
cin >> o >> e;
string ans = 0;
rep(i, o... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define ios ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
#define rep(i, n) for (int i = 0; i < int(n); ++i)
//-------------------ここから回答する-----------------------
void solve(void) {
string o, e;
cin >> o >> e;
string ans = "";
rep(i, ... | [] | 1,406,791 | 1,406,792 | u110044127 | cpp |
p03760 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
const int INF = 1e9;
const int di[] = {-1, 0, 1, 0};
const int dj[] = {0, -1, 0, 1};
int main() {
string o, e;
cin >> o >> e;
string ans;... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
const int INF = 1e9;
const int di[] = {-1, 0, 1, 0};
const int dj[] = {0, -1, 0, 1};
int main() {
string o, e;
cin >> o >> e;
string ans;... | [] | 1,406,793 | 1,406,794 | u818755983 | cpp |
p03760 | /*
author : nishi5451
created : 12.08.2020 23:47:42
*/
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
int main() {
string o, e;
cin >> o >> e;
rep(i, int(e.size())) { cout << o[i]; }
if (o.size() > e.size())
cout << o.back();
... | /*
author : nishi5451
created : 12.08.2020 23:47:42
*/
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
int main() {
string o, e;
cin >> o >> e;
rep(i, int(e.size())) { cout << o[i] << e[i]; }
if (o.size() > e.size())
cout << o.... | [
"io.output.change"
] | 1,406,813 | 1,406,814 | u033937898 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
if (O.length() == E.length()) {
for (int i = 0; i < O.length(); i++) {
cout << O[i] << E[i] << flush;
}
} else {
for (int i = 0; i < O.length() - 1; i++) {
cout << O[i] << E[i] << flush;
}
cou... | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
if (O.length() == E.length()) {
for (int i = 0; i < O.length(); i++) {
cout << O[i] << E[i] << flush;
}
} else {
for (int i = 0; i < O.length() - 1; i++) {
cout << O[i] << E[i] << flush;
}
cou... | [
"identifier.change",
"io.output.change",
"variable_access.subscript.index.change"
] | 1,406,821 | 1,406,822 | u654240084 | cpp |
p03760 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
string O, E;
cin >> O >> E;
for (int i = 0; i < O.size() - 1; i++) {
printf("%c%c\n", O[i], E[i]);
}
if (E.size() == O.size())
printf("%c%c\n", O[O.size() - 1], E[E.size() - 1]);
else
... | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
string O, E;
cin >> O >> E;
for (int i = 0; i < O.size() - 1; i++) {
printf("%c%c", O[i], E[i]);
}
if (E.size() == O.size())
printf("%c%c\n", O[O.size() - 1], E[E.size() - 1]);
else
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove"
] | 1,406,827 | 1,406,828 | u684448032 | cpp |
p03760 | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repi(i, a, b) for (int i = int(a); i < int(b); ++i)
#define all(x) (x).begin(), (x).end()
#define PI 3.14159265358979323846264338327950L
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repi(i, a, b) for (int i = int(a); i < int(b); ++i)
#define all(x) (x).begin(), (x).end()
#define PI 3.14159265358979323846264338327950L
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {... | [
"expression.operation.binary.remove"
] | 1,406,829 | 1,406,830 | u151236434 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
if (O.size() == E.size()) {
for (int i = 0; i < O.size(); i++) {
cout << O[i] << E[i];
}
cout << endl;
} else {
for (int i = 0; i < O.size(); i++) {
cout << O[i] << E[i];
}
cout << O[O.si... | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
if (O.size() == E.size()) {
for (int i = 0; i < O.size(); i++) {
cout << O[i] << E[i];
}
cout << endl;
} else {
for (int i = 0; i < O.size() - 1; i++) {
cout << O[i] << E[i];
}
cout << O[... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 1,406,843 | 1,406,844 | u538808095 | cpp |
p03760 | #include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
string odd, even;
int main() {
cin >> odd >> even;
string ans = "";
int len_odd = odd.length();
int len_even = even.length();
int cnt_even;
for (int i = 0; i < len_odd; i++) {
ans += odd[i];
if (cnt_even < len_even)
... | #include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
string odd, even;
int main() {
cin >> odd >> even;
string ans = "";
int len_odd = odd.length();
int len_even = even.length();
int cnt_even = 0;
for (int i = 0; i < len_odd; i++) {
ans += odd[i];
if (cnt_even < len_even)
... | [
"variable_declaration.value.change"
] | 1,406,845 | 1,406,846 | u249033594 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
for (int i = 0; i < e.size(); i++) {
cout << o.at(i) << e.at(i);
}
if (o.size() != e.size())
cout << e.at(e.size() - 1);
cout << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
for (int i = 0; i < e.length(); i++) {
cout << o.at(i) << e.at(i);
}
if (o.length() != e.length())
cout << o.at(o.size() - 1);
cout << endl;
} | [
"call.function.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change",
"identifier.change",
"io.output.change"
] | 1,406,847 | 1,406,848 | u291332466 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define rep(i, n) FOR(i, 0, n)
#define rep1(i, n) FOR(i, 1, n + 1)
#define rrep(i, n) for (int i = ((int)(n)-1); i >= 0; --i)
#define whole(x) (x).begin(), (x).end()
#define rwhole(x) (x).rbegin(), (x... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define rep(i, n) FOR(i, 0, n)
#define rep1(i, n) FOR(i, 1, n + 1)
#define rrep(i, n) for (int i = ((int)(n)-1); i >= 0; --i)
#define whole(x) (x).begin(), (x).end()
#define rwhole(x) (x).rbegin(), (x... | [
"control_flow.branch.if.condition.change"
] | 1,406,849 | 1,406,850 | u488493347 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b;
cin >> a >> b;
if (a.length() > b.length()) {
for (int i = 0; i < b.length(); i++) {
cout << a[i] << b[i];
}
cout << b[b.length() - 1] << endl;
} else {
for (int i = 0; i < b.length(); i++) {
cout << a[i] << b[i... | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b;
cin >> a >> b;
if (a.length() > b.length()) {
for (int i = 0; i < b.length(); i++) {
cout << a[i] << b[i];
}
cout << a[a.length() - 1] << endl;
} else {
for (int i = 0; i < b.length(); i++) {
cout << a[i] << b[i... | [
"identifier.change",
"io.output.change",
"variable_access.subscript.index.change"
] | 1,406,861 | 1,406,862 | u375695365 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
int osize = int(o.size());
int esize = int(e.size());
string answer = "";
for (int i = 0; i < esize; i++) {
answer += o.at(i);
answer += e.at(i);
}
if (esize - osize == 1) {
answer += o.at(osize);
}... | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
int osize = int(o.size());
int esize = int(e.size());
string answer = "";
for (int i = 0; i < esize; i++) {
answer += o.at(i);
answer += e.at(i);
}
if (osize - esize == 1) {
answer += o.at(osize - 1);... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change",
"assignment.change"
] | 1,406,869 | 1,406,870 | u391250239 | cpp |
p03760 | #include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
using namespace std;
const int MOD = 1000000007;
const ll INF = 1LL << 60;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
string a, b;
cin >> a >> b;
for (int i = 0; i < a.length() - 1; i++) {
cout << a[i] << b[... | #include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
using namespace std;
const int MOD = 1000000007;
const ll INF = 1LL << 60;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
string a, b;
cin >> a >> b;
for (int i = 0; i < a.length() - 1; i++) {
cout << a[i] << b[... | [
"expression.operation.binary.add"
] | 1,406,881 | 1,406,882 | u017829818 | cpp |
p03760 | #include <bits/stdc++.h>
int main() {
char s[2][60];
scanf("%s %s", s[0], s[1]);
for (int i = 0; s[1][i / 2] != '\0'; i++)
putchar(s[i % 2][i / 2]);
putchar('\n');
return 0;
} | #include <bits/stdc++.h>
int main() {
char s[2][60];
scanf("%s %s", s[0], s[1]);
for (int i = 0; s[i % 2][i / 2] != '\0'; i++)
putchar(s[i % 2][i / 2]);
putchar('\n');
return 0;
}
| [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,406,895 | 1,406,894 | u242031676 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
// vector <char> V(O.size()+E.size());
vector<char> V;
for (int i = 0; i < E.size(); i++) {
V.push_back(O[i]);
V.push_back(E[i]);
}
if (O.size() - E.size() == 1)
V.push_back(O[O.size()]);
for (char vi... | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
// vector <char> V(O.size()+E.size()-1);
vector<char> V{};
for (int i = 0; i < E.size(); i++) {
V.push_back(O[i]);
V.push_back(E[i]);
}
if (O.size() - E.size() == 1)
V.push_back(O[O.size() - 1]);
for (... | [
"expression.operation.binary.add"
] | 1,406,896 | 1,406,897 | u777076456 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
// vector <char> V(O.size()+E.size());
vector<char> V(0);
for (int i = 0; i < E.size(); i++) {
V.push_back(O[i]);
V.push_back(E[i]);
}
if (O.size() - E.size() == 1)
V.push_back(O[O.size()]);
for (char... | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
// vector <char> V(O.size()+E.size()-1);
vector<char> V{};
for (int i = 0; i < E.size(); i++) {
V.push_back(O[i]);
V.push_back(E[i]);
}
if (O.size() - E.size() == 1)
V.push_back(O[O.size() - 1]);
for (... | [
"call.arguments.change"
] | 1,406,898 | 1,406,897 | u777076456 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
if (o.size() == e.size()) {
for (int i = 0; i < o.size(); i++) {
cout << o[i];
cout << e[i];
}
}
else {
for (int i = 0; i < o.size() - 1; i++) {
cout << o[i];
cout << e[i];
}
... | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
if (o.size() == e.size()) {
for (int i = 0; i < o.size(); i++) {
cout << o[i];
cout << e[i];
}
}
else {
for (int i = 0; i < o.size() - 1; i++) {
cout << o[i];
cout << e[i];
}
... | [
"expression.operation.binary.add"
] | 1,406,899 | 1,406,900 | u430302940 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)n; i++)
using ll = long long;
template <class T> using vt = vector<T>;
using vvi = vector<vector<int>>;
int main() {
string o, e;
cin >> o >> e;
int moji = max(o.size(), e.size());
if ((o.size() + e.size()) % 2 == 1) {
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)n; i++)
using ll = long long;
template <class T> using vt = vector<T>;
using vvi = vector<vector<int>>;
int main() {
string o, e;
cin >> o >> e;
int moji = max(o.size(), e.size());
if ((o.size() + e.size()) % 2 == 1) {
... | [
"expression.operation.binary.remove"
] | 1,406,905 | 1,406,906 | u228943017 | cpp |
p03760 | #include <iostream>
#include <string>
using namespace std;
int main() {
string o, e, t = "";
int a, b;
cin >> o >> e;
a = o.size();
b = e.size();
if (a - b == 0) {
for (int i = 0; i < a; i++) {
t = t + o[i] + e[i];
}
cout << t << endl;
} else {
for (int i = 0; i < a - 1; i++) {
... | #include <iostream>
#include <string>
using namespace std;
int main() {
string o, e, t = "";
int a, b;
cin >> o >> e;
a = o.size();
b = e.size();
if (a - b == 0) {
for (int i = 0; i < a; i++) {
t = t + o[i] + e[i];
}
cout << t << endl;
} else {
for (int i = 0; i < a - 1; i++) {
... | [
"expression.operation.binary.add"
] | 1,406,907 | 1,406,908 | u840810569 | cpp |
p03760 | #include <algorithm>
#include <array>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <float.h>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <... | #include <algorithm>
#include <array>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <float.h>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 1,406,913 | 1,406,914 | u221285045 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define Mod(n) n % 1000000007
const int dx[8] = {1, 0, -1, 0, -1, 1, -1, 1};
const int dy[8] = {0, 1, 0, -1, 1, -1, -1, 1};
int main() {
string a, b;
cin >> a >> b;
for (int i = 0; i < a.size(); i++) {
cout << a[i] << b[i];
}
if (a.size() != b.size())
cou... | #include <bits/stdc++.h>
using namespace std;
#define Mod(n) n % 1000000007
const int dx[8] = {1, 0, -1, 0, -1, 1, -1, 1};
const int dy[8] = {0, 1, 0, -1, 1, -1, -1, 1};
int main() {
string a, b;
cin >> a >> b;
for (int i = 0; i < b.size(); i++) {
cout << a[i] << b[i];
}
if (a.size() != b.size())
cou... | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,406,923 | 1,406,924 | u420245204 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define Mod(n) n % 1000000007
const int dx[8] = {1, 0, -1, 0, -1, 1, -1, 1};
const int dy[8] = {0, 1, 0, -1, 1, -1, -1, 1};
int main() {
string a, b;
cin >> a >> b;
for (int i = 0; i < b.size(); i++) {
cout << a[i] << b[i];
}
if (a.size() != b.size())
cou... | #include <bits/stdc++.h>
using namespace std;
#define Mod(n) n % 1000000007
const int dx[8] = {1, 0, -1, 0, -1, 1, -1, 1};
const int dy[8] = {0, 1, 0, -1, 1, -1, -1, 1};
int main() {
string a, b;
cin >> a >> b;
for (int i = 0; i < b.size(); i++) {
cout << a[i] << b[i];
}
if (a.size() != b.size())
cou... | [
"identifier.change",
"io.output.change"
] | 1,406,925 | 1,406,924 | u420245204 | cpp |
p03760 | #include <algorithm>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
using namespace std;
#define rep(i, a, n) fo... | #include <algorithm>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
using namespace std;
#define rep(i, a, n) fo... | [
"identifier.change",
"io.output.change",
"variable_access.subscript.index.change"
] | 1,406,930 | 1,406,931 | u407213771 | cpp |
p03760 | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define all(a) (a).begin(), (a).end()
#define dunk(a) cout << (a) << endl
#define rall(a) (a).rbegin(), (a).rend()
const int INF = 2e9;
using namespace std;
using Graph = vector<vector<int>>;
typedef pair<int, int> P;
typedef long long ll;
int mai... | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define all(a) (a).begin(), (a).end()
#define dunk(a) cout << (a) << endl
#define rall(a) (a).rbegin(), (a).rend()
const int INF = 2e9;
using namespace std;
using Graph = vector<vector<int>>;
typedef pair<int, int> P;
typedef long long ll;
int mai... | [
"expression.operation.binary.change",
"assignment.change"
] | 1,406,938 | 1,406,939 | u454081619 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
string o, e;
cin >> o >> e;
int n = min(o.size(), e.size());
REP(i, n) { cout << o[i] << e[i]; }
if (o.size() < e.size()) {
/* code */
cout << e[n] << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
string o, e;
cin >> o >> e;
int n = min(o.size(), e.size());
REP(i, n) { cout << o[i] << e[i]; }
if (o.size() > e.size()) {
/* code */
cout << o[n] << endl;
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"identifier.change",
"io.output.change"
] | 1,406,940 | 1,406,941 | u376859266 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
int l = o.size();
for (int i = 0; i < l; i++) {
cout << o.at(i) << e.at(i);
}
if (l < o.size())
cout << o.at(l);
cout << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
int l = e.size();
for (int i = 0; i < l; i++) {
cout << o.at(i) << e.at(i);
}
if (l < o.size())
cout << o.at(l);
cout << endl;
return 0;
}
| [
"identifier.change"
] | 1,406,952 | 1,406,953 | u779216084 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O;
cin >> E;
for (int i = 0; i < E.size(); i++) {
cout << E[i];
if (i < O.size()) {
cout << O[i];
}
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> E;
cin >> O;
for (int i = 0; i < E.size(); i++) {
cout << E[i];
if (i < O.size()) {
cout << O[i];
}
}
return 0;
}
| [] | 1,406,960 | 1,406,961 | u585224250 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
int so, se, size, a, b;
a = 0;
b = 0;
cin >> o >> e;
so = o.length();
se = e.length();
if (so < se)
size = se;
else
size = so;
for (int i = 1; i <= size; i++) {
if (i % 2 == 1) {
cout << o[a];
a++;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e;
int so, se, size, a, b;
a = 0;
b = 0;
cin >> o >> e;
so = o.length();
se = e.length();
if (so < se)
size = se;
else
size = so;
for (int i = 1; i <= (so + se); i++) {
if (i % 2 == 1) {
cout << o[a];
a++;... | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,406,962 | 1,406,963 | u662871912 | cpp |
p03760 | #include <cstring>
#include <iostream>
using namespace std;
int main() {
int i, j, k, n;
string a, b;
cin >> a >> b;
if (a.size() > b.size()) {
for (i = 0; i < b.size(); i++) {
cout << a[i] << b[i];
}
cout << a[i + 1] << endl;
} else {
for (i = 0; i < b.size(); i++) {
cout << a[i] ... | #include <cstring>
#include <iostream>
using namespace std;
int main() {
int i, j, k, n;
string a, b;
cin >> a >> b;
if (a.size() > b.size()) {
for (i = 0; i < b.size(); i++) {
cout << a[i] << b[i];
}
cout << a[a.size() - 1] << endl;
} else {
for (i = 0; i < b.size(); i++) {
cout <... | [
"expression.operation.binary.add"
] | 1,406,969 | 1,406,970 | u723721005 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
string s1, s2;
int main() {
getline(cin, s1);
getline(cin, s2);
cout << s1[0];
for (int i = 0; i < s1.size() + s2.size() - 1; i++) {
if (i % 2 == 0)
cout << s1[i / 2 + 1];
else
cout << s2[i / 2];
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
string s1, s2;
int main() {
getline(cin, s1);
getline(cin, s2);
cout << s1[0];
for (int i = 0; i < s1.size() + s2.size() - 1; i++) {
if (i % 2 == 1)
cout << s1[i / 2 + 1];
else
cout << s2[i / 2];
}
return 0;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,406,971 | 1,406,972 | u723721005 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b;
cin >> a >> b;
int l1 = a.size(), l2 = b.size();
int lma = max(l1, l2), lmi = min(l1, l2);
for (int i = 0; i < lmi; i++)
cout << a[i] << b[i];
if (l1 > l2)
for (int i = l1; i < lma; i++)
cout << a[i];
else
for (int i... | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b;
cin >> a >> b;
int l1 = a.size(), l2 = b.size();
int lma = max(l1, l2), lmi = min(l1, l2);
for (int i = 0; i < lmi; i++)
cout << a[i] << b[i];
if (l1 > l2)
for (int i = lmi; i < lma; i++)
cout << a[i];
else
for (int ... | [
"variable_declaration.value.change",
"identifier.change",
"control_flow.loop.for.initializer.change"
] | 1,406,973 | 1,406,974 | u723721005 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int size = O.length();
for (int i = 0; i < size; i++) {
if (i < size - 1) {
cout << O[i] << E[i];
} else {
cout << O[i];
}
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int size = O.length();
for (int i = 0; i < size; i++) {
if (i < E.length()) {
cout << O[i] << E[i];
} else {
cout << O[i];
}
}
} | [
"control_flow.loop.for.condition.change",
"control_flow.branch.if.condition.change",
"call.add"
] | 1,406,977 | 1,406,978 | u166553470 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define intll int long long
int main() {
string s1, s2;
cin >> s1 >> s2;
rep(i, min(s1.size(), s2.size())) { cout << s1.at(i) << s2.at(i); }
if (s1.size() > s2.size())
co... | #include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define intll int long long
int main() {
string s1, s2;
cin >> s1 >> s2;
rep(i, min(s1.size(), s2.size())) { cout << s1.at(i) << s2.at(i); }
if (s1.size() > s2.size())
co... | [
"identifier.change",
"io.output.change"
] | 1,406,979 | 1,406,980 | u260907804 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define intll int long long
int main() {
string s1, s2;
cin >> s1 >> s2;
rep(i, min(s1.size(), s2.size())) { cout << s1.at(i) << s2.at(i); }
if (s1.size() > s2.size())
co... | #include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define intll int long long
int main() {
string s1, s2;
cin >> s1 >> s2;
rep(i, min(s1.size(), s2.size())) { cout << s1.at(i) << s2.at(i); }
if (s1.size() > s2.size())
co... | [
"identifier.change",
"io.output.change"
] | 1,406,981 | 1,406,980 | u260907804 | cpp |
p03760 | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <vector>
#define N 5005
using namespace std;
typedef long long ll;
const ll mod = 1000000007LL;
int n, m;
string o, e;
int main() {
cin >> o >> e;
int i = 0;
int j = 0;
string ans = "";
while (i < o.size() &&... | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <vector>
#define N 5005
using namespace std;
typedef long long ll;
const ll mod = 1000000007LL;
int n, m;
string o, e;
int main() {
cin >> o >> e;
int i = 0;
int j = 0;
string ans = "";
while (i < o.size() ||... | [
"misc.opposites",
"control_flow.loop.condition.change"
] | 1,406,984 | 1,406,985 | u527862153 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < E.size(); i++) {
cout << O.at(i) << E.at(i);
}
if (O.size() != E.size()) {
cout << O.at(E.size() - 1);
}
cout << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < E.size(); i++) {
cout << O.at(i) << E.at(i);
}
if (O.size() != E.size()) {
cout << O.at(O.size() - 1);
}
cout << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,407,007 | 1,407,008 | u351586819 | cpp |
p03760 | #include <iostream>
#include <vector>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int l = O.size() + E.size();
int ocntr = 0;
int ecntr = 0;
string ans;
for (int i = 0; i < l; i++) {
if (i % 2 == 0) {
ans.push_back(E[ecntr]);
ecntr++;
} else {
ans.push_back(O[... | #include <iostream>
#include <vector>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int l = O.size() + E.size();
int ocntr = 0;
int ecntr = 0;
string ans;
for (int i = 1; i <= l; i++) {
if (i % 2 == 0) {
ans.push_back(E[ecntr]);
ecntr++;
} else {
ans.push_back(O... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,407,013 | 1,407,014 | u166632863 | cpp |
p03760 | #include <iostream>
using namespace std;
int main() {
string o, e;
cin >> o;
cin >> e;
for (int i = 0; i < e.size(); ++i) {
cout << o[i] << e[i];
}
if (o.size() > e.size()) {
cout << e[e.size() - 1];
}
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
string o, e;
cin >> o;
cin >> e;
for (int i = 0; i < e.size(); ++i) {
cout << o[i] << e[i];
}
if (o.size() - e.size() == 1) {
cout << o[o.size() - 1];
}
cout << endl;
return 0;
} | [
"control_flow.branch.if.condition.change",
"identifier.change",
"io.output.change",
"variable_access.subscript.index.change"
] | 1,407,015 | 1,407,016 | u066352867 | cpp |
p03760 | #include <stdio.h>
#include <string.h>
int main(void) {
char o[51], e[51], s[101];
int i, j, x, y, z;
scanf("%s %s", o, e);
x = strlen(o - 1);
y = strlen(e - 1);
if (x > y)
z = x;
else
z = y;
for (i = 0; i < z; i++) {
s[j] = o[i];
j++;
s[j] = e[i];
j++;
}
printf("%s\n", s);
... | #include <stdio.h>
#include <string.h>
int main(void) {
char o[51], e[51], s[200];
int i, j, x, y, z;
scanf("%s %s", o, e);
x = strlen(o);
y = strlen(e);
if (x > y)
z = x;
else
z = y;
for (i = 0; i <= z; i++) {
s[j] = o[i];
j++;
s[j] = e[i];
j++;
}
printf("%s\n", s);
return... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"expression.operation.binary.remove",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,407,021 | 1,407,020 | u075650258 | cpp |
p03760 | #include <stdio.h>
#include <string.h>
int main(void) {
char o[51], e[51], s[101];
int i, j, x, y, z;
scanf("%s %s", o, e);
x = strlen(o);
y = strlen(e);
if (x > y)
z = x;
else
z = y;
for (i = 0; i < z; i++) {
s[j] = o[i];
j++;
s[j] = e[i];
j++;
}
printf("%s\n", s);
return ... | #include <stdio.h>
#include <string.h>
int main(void) {
char o[51], e[51], s[200];
int i, j, x, y, z;
scanf("%s %s", o, e);
x = strlen(o);
y = strlen(e);
if (x > y)
z = x;
else
z = y;
for (i = 0; i <= z; i++) {
s[j] = o[i];
j++;
s[j] = e[i];
j++;
}
printf("%s\n", s);
return... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,407,022 | 1,407,020 | u075650258 | cpp |
p03760 | #include <bits/stdc++.h>
#define SORT(x) sort(x.begin(), x.end())
#define ALL(x) x.begin(), x.end()
#define deb(x) cout << #x << "=" << x << endl
#define rep(i, n) for (int i = 0; i < n; i++)
#define reps(i, m, n) for (int i = m; i < n; i++)
#define repr(i, m, n) for (int i = m; i >= n; i--)
#define INF 1000000007
#def... | #include <bits/stdc++.h>
#define SORT(x) sort(x.begin(), x.end())
#define ALL(x) x.begin(), x.end()
#define deb(x) cout << #x << "=" << x << endl
#define rep(i, n) for (int i = 0; i < n; i++)
#define reps(i, m, n) for (int i = m; i < n; i++)
#define repr(i, m, n) for (int i = m; i >= n; i--)
#define INF 1000000007
#def... | [
"assignment.value.change",
"identifier.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,407,027 | 1,407,028 | u556276145 | cpp |
p03760 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <istream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
#define rep0(i, n) for (int i = 0; i <= (n); ++i)
#define rep1(i, n) for (int i = 1; i ... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <istream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
#define rep0(i, n) for (int i = 0; i <= (n); ++i)
#define rep1(i, n) for (int i = 1; i ... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,407,031 | 1,407,032 | u820341516 | cpp |
p03760 | #include <iostream>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
for (int i = 0; i < e.size(); i++) {
cout << o.at(i) << e.at(i) << endl;
}
if (o.size() != e.size())
cout << o.at(o.size() - 1);
cout << endl;
} | #include <iostream>
using namespace std;
int main() {
string o, e;
cin >> o >> e;
for (int i = 0; i < e.size(); i++) {
cout << o.at(i) << e.at(i);
}
if (o.size() != e.size())
cout << o.at(o.size() - 1);
cout << endl;
} | [
"expression.operation.binary.remove"
] | 1,407,033 | 1,407,034 | u288432959 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define intt int64_t
#define all(vec) vec.begin(), vec.end()
#define INF 2000000000
int main() {
string o, e;
cin >> o >> e;
rep(i, o.size() + e.size() - 1) {
if (i % 2 == 0)
cout << o.at(i / 2) << flush;... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define intt int64_t
#define all(vec) vec.begin(), vec.end()
#define INF 2000000000
int main() {
string o, e;
cin >> o >> e;
rep(i, o.size() + e.size()) {
if (i % 2 == 0)
cout << o.at(i / 2) << flush;
... | [
"expression.operation.binary.remove"
] | 1,407,041 | 1,407,042 | u716314620 | cpp |
p03760 | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<vector<pair<int, int>>> vvp;
typedef vector<pair<int, int>> vp;
typedef vector<vector<int>> vvi;
typedef vector<int> vi;
typedef vector<vector<ll>> vvl;
typedef vector<ll> vl;
typedef vector<vector<bool>> ... | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<vector<pair<int, int>>> vvp;
typedef vector<pair<int, int>> vp;
typedef vector<vector<int>> vvi;
typedef vector<int> vi;
typedef vector<vector<ll>> vvl;
typedef vector<ll> vl;
typedef vector<vector<bool>> ... | [
"expression.operation.binary.add"
] | 1,407,053 | 1,407,054 | u902151549 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
string O, E;
cin >> O >> E;
int N = O.size() + E.size();
rep(i, N) {
if (i % 2 == 1)
cout << O[i / 2];
else
cout << E[i / 2];
}
cout << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
string O, E;
cin >> O >> E;
int N = O.size() + E.size();
rep(i, N) {
if (i % 2 == 1)
cout << E[i / 2];
else
cout << O[i / 2];
}
cout << endl;
} | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,407,062 | 1,407,063 | u615258936 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
int main() {
string O, E;
cin >> E;
cin >> O;
string ans;
if (O.size() == E.size()) {
for (int i = 0; i < O.size(); i++) {
ans.push_back(E[i]);
ans.push_back(O[i]);
}
} else {
for (int i = 0; i < O.size(); i++... | #include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
int main() {
string O, E;
cin >> E;
cin >> O;
string ans;
if (O.size() == E.size()) {
for (int i = 0; i < O.size(); i++) {
ans.push_back(E[i]);
ans.push_back(O[i]);
}
} else {
for (int i = 0; i < O.size(); i++... | [
"call.add"
] | 1,407,064 | 1,407,065 | u379959788 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string e;
string o;
int i;
cin >> o;
cin >> e;
if (o.size() == e.size()) {
for (i = 0; i < o.size(); i++) {
cout << o[i] << e[i];
}
} else {
for (i = 0; i < e.size(); i++) {
cout << o[i] << e[i];
}
cout << o[i + 1... | #include <bits/stdc++.h>
using namespace std;
int main() {
string e;
string o;
int i;
cin >> o;
cin >> e;
if (o.size() == e.size()) {
for (i = 0; i < o.size(); i++) {
cout << o[i] << e[i];
}
} else {
for (i = 0; i < e.size(); i++) {
cout << o[i] << e[i];
}
cout << o[o.siz... | [
"expression.operation.binary.add"
] | 1,407,088 | 1,407,089 | u574117646 | cpp |
p03760 | #include <bits/stdc++.h>
using ll = long long int;
using namespace std;
template <typename t> void print(const t &v) {
for (auto i : v)
cout << i << " ";
cout << endl;
}
int main() {
string m, n, s;
cin >> m >> n;
int i = 0, j = 0;
while (i < m.size() or j < n.size()) {
if (j < m.size()) {
... | #include <bits/stdc++.h>
using ll = long long int;
using namespace std;
template <typename t> void print(const t &v) {
for (auto i : v)
cout << i << " ";
cout << endl;
}
int main() {
string m, n, s;
cin >> m >> n;
int i = 0, j = 0;
while (i < m.size() or j < n.size()) {
if (j < m.size()) {
... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"call.arguments.change"
] | 1,407,123 | 1,407,124 | u517754240 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using llpair = pair<ll, ll>;
using llvec = vector<ll>;
using llmat = vector<vector<ll>>;
#define llmattp(name, a, b, num) name(a, vector<ll>(b, num))
#define LLINF 1LL << 60
#define ABS(x) ((x) > 0 ? (x) : -(x))
template <class T> inline bool chmin(T ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using llpair = pair<ll, ll>;
using llvec = vector<ll>;
using llmat = vector<vector<ll>>;
#define llmattp(name, a, b, num) name(a, vector<ll>(b, num))
#define LLINF 1LL << 60
#define ABS(x) ((x) > 0 ? (x) : -(x))
template <class T> inline bool chmin(T ... | [
"call.remove",
"call.arguments.change"
] | 1,407,125 | 1,407,126 | u195036695 | cpp |
p03760 | #include <stdio.h>
int main() {
char o[51] = {0};
char e[51] = {0};
scanf("%s", o);
scanf("%s", e);
int i;
for (i = 0; i < 50; i++) {
if (o[i] == 0) {
printf("%c", o[i]);
}
if (e[i] == 0) {
printf("%c", e[i]);
}
}
printf("\n");
return 0;
} | #include <stdio.h>
int main() {
char o[51] = {0};
char e[51] = {0};
scanf("%s", o);
scanf("%s", e);
int i;
for (i = 0; i < 50; i++) {
if (o[i] != 0) {
printf("%c", o[i]);
}
if (e[i] != 0) {
printf("%c", e[i]);
}
}
printf("\n");
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,407,127 | 1,407,128 | u112618947 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < O.size(); i++) {
cout << O.at(i);
if (i < E.at(i)) {
cout << E.at(i);
}
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < O.size(); i++) {
cout << O.at(i);
if (i < E.size()) {
cout << E.at(i);
}
}
}
| [
"call.function.change",
"control_flow.branch.if.condition.change"
] | 1,407,143 | 1,407,144 | u115838990 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
if (O.size() == E.size()) {
for (int i = 0; i < O.size(); i++) {
cout << O.at(i) << E.at(i);
}
}
else {
for (int i = 0; i < E.size(); i++) {
cout << O.at(i) << E.at(i);
}
cout << O.at(O.si... | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
if (O.size() == E.size()) {
for (int i = 0; i < O.size(); i++) {
cout << O.at(i) << E.at(i);
}
}
else {
for (int i = 0; i < E.size(); i++) {
cout << O.at(i) << E.at(i);
}
cout << O.at(O.si... | [
"expression.operation.binary.add"
] | 1,407,145 | 1,407,146 | u115838990 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e, sum;
cin >> o >> e;
int os = o.size(), es = e.size();
if (os = es) {
for (int i = 0; i < es; i++)
sum = sum + o[i] + e[i];
} else {
for (int i = 0; i < es; i++)
sum = sum + o[i] + e[i];
sum += o[os - 1];
}
... | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e, sum;
cin >> o >> e;
int os = o.size(), es = e.size();
if (os == es) {
for (int i = 0; i < es; i++)
sum = sum + o[i] + e[i];
} else {
for (int i = 0; i < es; i++)
sum = sum + o[i] + e[i];
sum += o[os - 1];
}
... | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,407,147 | 1,407,148 | u294721290 | cpp |
p03760 | //#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#include <numeric>
typedef long long Int;
#define rep(i, a, b) for (Int i = a; i < b; ++i)
#define rrep(i, a, b) for (Int i = a; i >= b; --i)
using namespace std;
int main() {
cin.tie(0);
cout.tie(0);
ios::sync_with_stdio(false);
string O, E;
cin >> O >> E;
... | //#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#include <numeric>
typedef long long Int;
#define rep(i, a, b) for (Int i = a; i < b; ++i)
#define rrep(i, a, b) for (Int i = a; i >= b; --i)
using namespace std;
int main() {
cin.tie(0);
cout.tie(0);
ios::sync_with_stdio(false);
string O, E;
cin >> O >> E;
... | [
"identifier.change",
"io.output.change"
] | 1,407,149 | 1,407,150 | u980078875 | cpp |
p03760 | // I SELL YOU...!
#include <algorithm>
#include <chrono>
#include <functional>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
signed main() {
string o, e;
cin >> o >> e;
for (int i = 0; i < o.size(); i++) {
cout << o[i] << e[i];
}
... | // I SELL YOU...!
#include <algorithm>
#include <chrono>
#include <functional>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
signed main() {
string o, e;
cin >> o >> e;
for (int i = 0; i < e.size(); i++) {
cout << o[i] << e[i];
}
... | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,407,151 | 1,407,152 | u352248517 | cpp |
p03760 | //#include <bits/stdc++.h>
#include <algorithm>
#include <climits>
#include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
#define FAST \
ios_base ::sync_with_stdio(false); \
cin.tie(N... | //#include <bits/stdc++.h>
#include <algorithm>
#include <climits>
#include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
#define FAST \
ios_base ::sync_with_stdio(false); \
cin.tie(N... | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,407,162 | 1,407,163 | u564089749 | cpp |
p03760 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep1(i, n) for (int i = 1; i <= n; ++i)
#define ALL(v) v.begin(), v.end()
#define RALL(v) v.rbegin(), v.rend()
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
cons... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep1(i, n) for (int i = 1; i <= n; ++i)
#define ALL(v) v.begin(), v.end()
#define RALL(v) v.rbegin(), v.rend()
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
cons... | [
"assignment.value.change",
"identifier.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,407,178 | 1,407,179 | u963903527 | cpp |
p03760 | #include <iostream>
#include <string>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < E.size(); i++) {
cout << O[i] << E[i];
}
if (O.size() == E.size() + 1) {
cout << O[O.size()];
}
cout << endl;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
for (int i = 0; i < E.size(); i++) {
cout << O[i] << E[i];
}
if (O.size() == E.size() + 1) {
cout << O[O.size() - 1];
}
cout << endl;
}
| [
"expression.operation.binary.add"
] | 1,407,198 | 1,407,199 | u489108157 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e, s = "";
cin >> o;
cin >> e;
for (int i = 0; i < o.size() + e.size(); i++) {
if (i % 2 == 0)
s += o[i / 2];
else
s += e[(i + 1) / 2];
}
cout << s;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string o, e, s = "";
cin >> o;
cin >> e;
for (int i = 0; i < o.size() + e.size(); i++) {
if (i % 2 == 0)
s += o[i / 2];
else
s += e[(i - 1) / 2];
}
cout << s;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,407,200 | 1,407,201 | u952130512 | cpp |
p03760 | #include <iostream>
main() {
std::string s, t;
std::cin >> s >> t;
std::string ans;
size_t i = 0, j = 0;
size_t n = s.size();
size_t m = t.size();
while (j < m) {
if (i == j)
ans += s[i++];
else
ans += t[j++];
}
std::cout << ans << std::endl;
}
| #include <iostream>
main() {
std::string s, t;
std::cin >> s >> t;
std::string ans;
size_t i = 0, j = 0;
size_t n = s.size();
size_t m = t.size();
while (i < n || j < m) {
if (i == j)
ans += s[i++];
else
ans += t[j++];
}
std::cout << ans << std::endl;
}
| [
"control_flow.loop.condition.change"
] | 1,407,208 | 1,407,209 | u423624748 | cpp |
p03760 | #include <iostream>
main() {
std::string s, t;
std::cin >> s >> t;
std::string ans;
size_t i = 0, j = 0;
size_t n = s.size();
size_t m = t.size();
while (i < n && j < m) {
if (i == j)
ans += s[i++];
else
ans += t[j++];
}
std::cout << ans << std::endl;
} | #include <iostream>
main() {
std::string s, t;
std::cin >> s >> t;
std::string ans;
size_t i = 0, j = 0;
size_t n = s.size();
size_t m = t.size();
while (i < n || j < m) {
if (i == j)
ans += s[i++];
else
ans += t[j++];
}
std::cout << ans << std::endl;
}
| [
"misc.opposites",
"control_flow.loop.condition.change"
] | 1,407,210 | 1,407,209 | u423624748 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 1LL << 40;
#define FOR(i, k, n) for (int i = (k); i < (n); ++i)
int main() {
string o, e;
cin >> o >> e;
string res;
FOR(i, 0, o.size() - 1) { res = res + o[i] + e[i]; }
if (o.size() > e.size())
res = res + o[o.size() - 1]... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 1LL << 40;
#define FOR(i, k, n) for (int i = (k); i < (n); ++i)
int main() {
string o, e;
cin >> o >> e;
string res;
FOR(i, 0, e.size()) { res = res + o[i] + e[i]; }
if (o.size() > e.size())
res = res + o[o.size() - 1];
... | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 1,407,217 | 1,407,218 | u434282696 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define fo(a, b) for (int a = 0; a < b; a++)
#define Sort(a) sort(a.begin(), a.end())
#define rev(a) reverse(a.begin(), a.end())
#define fi first
#define se second
#define co(a) cout << a << endl
#define sz size()
#define bgn begin()
#define en end()
#... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define fo(a, b) for (int a = 0; a < b; a++)
#define Sort(a) sort(a.begin(), a.end())
#define rev(a) reverse(a.begin(), a.end())
#define fi first
#define se second
#define co(a) cout << a << endl
#define sz size()
#define bgn begin()
#define en end()
#... | [
"expression.operation.binary.add"
] | 1,407,219 | 1,407,220 | u941578525 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
for (int i = 0; i < t.size(); i++) {
cout << s.at(i) << t.at(i);
}
if (s.size() > t.size())
cout << s.at(s.size()) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
for (int i = 0; i < t.size(); i++) {
cout << s.at(i) << t.at(i);
}
if (s.size() > t.size())
cout << s.at(s.size() - 1) << endl;
}
| [
"expression.operation.binary.add"
] | 1,407,229 | 1,407,230 | u813174766 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
string a, b;
int main() {
// your code goes here
cin >> a >> b;
if (a.size() > b.size()) {
for (int i = 0; i < a.size(); ++i) {
if (i == b.size())
break;
cout << a[i] << b[i];
}
for (int i = b.size(); i < a.size(); ++i)
cout << ... | #include <bits/stdc++.h>
using namespace std;
string a, b;
int main() {
// your code goes here
cin >> a >> b;
if (a.size() > b.size()) {
for (int i = 0; i < a.size(); ++i) {
if (i == b.size())
break;
cout << a[i] << b[i];
}
for (int i = b.size(); i < a.size(); ++i)
cout << ... | [
"identifier.change",
"io.output.change"
] | 1,407,239 | 1,407,240 | u165709298 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
string a, b;
int main() {
// your code goes here
cin >> a >> b;
if (a.size() > b.size()) {
for (int i = 0; i < a.size(); ++i) {
if (i == b.size())
break;
cout << a[i] << b[i];
}
for (int i = b.size(); i <= a.size(); ++i)
cout <<... | #include <bits/stdc++.h>
using namespace std;
string a, b;
int main() {
// your code goes here
cin >> a >> b;
if (a.size() > b.size()) {
for (int i = 0; i < a.size(); ++i) {
if (i == b.size())
break;
cout << a[i] << b[i];
}
for (int i = b.size(); i < a.size(); ++i)
cout << ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"identifier.change",
"io.output.change"
] | 1,407,241 | 1,407,240 | u165709298 | cpp |
p03760 | #include <iostream>
using namespace std;
int main() {
int x, m = 0, n = 0;
bool t = 0;
string a, b;
cin >> a >> b;
x = a.size();
if (a.size() < b.size()) {
x = b.size();
n == 1;
}
if (a.size() > b.size()) {
x = a.size();
m == 1;
}
for (int i = 0; i < x; i++) {
if (t == 0)
... | #include <iostream>
using namespace std;
int main() {
int x, m = 0, n = 0;
bool t = 0;
string a, b;
cin >> a >> b;
x = a.size();
if (a.size() < b.size()) {
x = b.size();
n = 1;
}
if (a.size() > b.size()) {
x = a.size();
m = 1;
}
for (int i = 0; i < x; i++) {
if (t == 0)
... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,407,242 | 1,407,243 | u349008117 | cpp |
p03760 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;
constexpr ll INF = 10000000000;
const ll MOD = 1000000007;
using namespace std;
ll gcd(ll a, ll b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
ll lcm(ll a, ll b) {
long long g = gcd(a, b);
return a / g * b;... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;
constexpr ll INF = 10000000000;
const ll MOD = 1000000007;
using namespace std;
ll gcd(ll a, ll b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
ll lcm(ll a, ll b) {
long long g = gcd(a, b);
return a / g * b;... | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 1,407,245 | 1,407,246 | u955534952 | cpp |
p03760 | #include <stdio.h>
using namespace std;
int main(void) {
char S[60], T[60];
char ANS[120];
int count = 0;
scanf("%s%s", S, T);
// printf("%s%s", S, T);
// return 0;
int i = 0;
int y = 0;
int x = 0;
while (1) {
if (i % 2 == 0) {
ANS[i] = S[i - y];
if (S[i] == '\0') {
count++;... | #include <stdio.h>
using namespace std;
int main(void) {
char S[60], T[60];
char ANS[120];
int count = 0;
scanf("%s%s", S, T);
// printf("%s%s", S, T);
// return 0;
int i = 0;
int y = 0;
int x = 0;
while (1) {
if (i % 2 == 0) {
ANS[i] = S[i - y];
if (S[i - y] == '\0') {
coun... | [
"control_flow.branch.if.condition.change"
] | 1,407,262 | 1,407,263 | u956941456 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int o = O.size(), e = E.size();
for (int i = 0; i < o; i++)
cout << O.at(i) << E.at(i);
if (o > e)
cout << O.at(o - 1) << endl;
else
cout << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int o = O.size(), e = E.size();
for (int i = 0; i < e; i++)
cout << O.at(i) << E.at(i);
if (o > e)
cout << O.at(o - 1) << endl;
else
cout << endl;
}
| [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,407,266 | 1,407,267 | u072080927 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int o = O.size(), e = E.size();
for (int i = 0; i < o; i++)
cout << O.at(i) << E.at(i);
if (o > e)
cout << O.at(o) << endl;
else
cout << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int o = O.size(), e = E.size();
for (int i = 0; i < e; i++)
cout << O.at(i) << E.at(i);
if (o > e)
cout << O.at(o - 1) << endl;
else
cout << endl;
}
| [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,407,268 | 1,407,267 | u072080927 | cpp |
p03760 | #include <bits/stdc++.h>
using namespace std;
#define REPI(x) for (int i = 0; i < x; i++)
#define REPJ(x) for (int j = 0; j < x; j++)
#define SCANFD(x) scanf("%d", &x)
int main() {
string O, E;
string res;
cin >> O >> E;
if (O.size() > E.size()) {
for (int i = 0; i < E.size(); i++) {
res.push_back... | #include <bits/stdc++.h>
using namespace std;
#define REPI(x) for (int i = 0; i < x; i++)
#define REPJ(x) for (int j = 0; j < x; j++)
#define SCANFD(x) scanf("%d", &x)
int main() {
string O, E;
string res;
cin >> O >> E;
if (O.size() > E.size()) {
for (int i = 0; i < E.size(); i++) {
res.push_back... | [
"call.arguments.change"
] | 1,407,273 | 1,407,274 | u429526425 | cpp |
p03760 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <utility>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define rep(i, a, b) for (int i = a; i < (b); ++i)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a ... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <utility>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define rep(i, a, b) for (int i = a; i < (b); ++i)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a ... | [
"expression.operation.binary.remove"
] | 1,407,280 | 1,407,281 | u843175622 | cpp |
p03760 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int n = O.size();
int m = E.size();
for (int i = 0; i < n; i++) {
cout << O[i];
if (i < m) {
cout << O[i];
}
}
cout << endl;
return 0;
} | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string O, E;
cin >> O >> E;
int n = O.size();
int m = E.size();
for (int i = 0; i < n; i++) {
cout << O[i];
if (i < m) {
cout << E[i];
}
}
cout << endl;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 1,407,286 | 1,407,287 | u828388155 | cpp |
p03760 | //#include<bits/stdc++.h> // 全てのヘッダーファイルをinclude
#include <algorithm>
#include <cmath>
#include <iostream>
#include <set>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR (i, n) for (int i = n; i > 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define MOD 1e9 + 7... | //#include<bits/stdc++.h> // 全てのヘッダーファイルをinclude
#include <algorithm>
#include <cmath>
#include <iostream>
#include <set>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR (i, n) for (int i = n; i > 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define MOD 1e9 + 7... | [
"call.arguments.change",
"expression.operation.binary.remove"
] | 1,407,288 | 1,407,289 | u121243942 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.