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 |
|---|---|---|---|---|---|---|---|
p01270 | #include <algorithm>
#include <complex>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n);... | #include <algorithm>
#include <complex>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n);... | [
"call.arguments.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 78,332 | 78,333 | u063091489 | cpp |
p01270 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int INF = 1000000000;
#define REP(i, s, n) for (int i = (int)(s); i < (int)(n); i++)
#define rep(i, n) REP(i, 0, n)
typedef pair<int, int> pint;
ifstream ifs("2152_input.txt");
ofstream ofs("op.txt");
void solve(int N) {
map<pint, int> disk... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int INF = 1000000010;
#define REP(i, s, n) for (int i = (int)(s); i < (int)(n); i++)
#define rep(i, n) REP(i, 0, n)
typedef pair<int, int> pint;
ifstream ifs("2152_input.txt");
ofstream ofs("op.txt");
void solve(int N) {
map<pint, int> disk... | [
"literal.number.change",
"variable_declaration.value.change",
"call.function.change",
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 78,338 | 78,339 | u375380091 | cpp |
p01270 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
const ll MOD = 1000000007;
const int INF = 1000000010;
struct Segment {
int pos, size, id;
Segment(int pos, int size, int id) : pos(pos), size(size), id(id) {}
bool operator<(const Segment &right) const {
return po... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
const ll MOD = 1000000007;
const int INF = 1000000010;
struct Segment {
int pos, size, id;
Segment(int pos, int size, int id) : pos(pos), size(size), id(id) {}
bool operator<(const Segment &right) const {
return po... | [
"literal.number.change",
"call.arguments.change"
] | 78,349 | 78,350 | u670914305 | cpp |
p01270 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define CH(N, A, B) (A <= N && N < B)
#define REP(i, a, b) for (int i = a; i < b; i++)
#define RREP(i, a, b) for (int i = (b... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define CH(N, A, B) (A <= N && N < B)
#define REP(i, a, b) for (int i = a; i < b; i++)
#define RREP(i, a, b) for (int i = (b... | [
"literal.number.change",
"assignment.value.change",
"call.arguments.change"
] | 78,351 | 78,352 | u670628888 | cpp |
p01270 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define CH(N, A, B) (A <= N && N < B)
#define REP(i, a, b) for (int i = a; i < b; i++)
#define RREP(i, a, b) for (int i = (b... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define CH(N, A, B) (A <= N && N < B)
#define REP(i, a, b) for (int i = a; i < b; i++)
#define RREP(i, a, b) for (int i = (b... | [] | 78,353 | 78,352 | u670628888 | cpp |
p01250 | #include <cmath>
#include <iostream>
using namespace std;
int main() {
double r;
while (cin >> r) {
if (r == 0.0)
break;
for (int i = 1; i <= 10000000; ++i) {
int tmp = i * M_PI;
if (fabs((double)tmp / i - M_PI) <= r) {
cout << tmp << "/" << i << endl;
break;
}
... | #include <cmath>
#include <iostream>
using namespace std;
int main() {
double r;
while (cin >> r) {
if (r == 0.0)
break;
for (int i = 1; i <= 10000000; ++i) {
int tmp = i * M_PI;
if (fabs((double)tmp / i - M_PI) <= r) {
cout << tmp << "/" << i << endl;
break;
}
... | [
"expression.operation.binary.add"
] | 78,365 | 78,366 | u835866094 | cpp |
p01253 | #include <bits/stdc++.h>
using namespace std;
double dp[2001][2000];
int main() {
int n, m;
while (cin >> n >> m && n) {
string s;
cin >> s;
memset(dp, 0, sizeof(dp));
dp[0][1] = 1;
for (int i = 0; i < m; i++)
for (int j = 0; j < n; j++)
for (int k = 1; k <= 6; k++)
dp[i... | #include <bits/stdc++.h>
using namespace std;
double dp[2001][2000];
int main() {
int n, m;
while (cin >> n >> m && n) {
string s;
cin >> s;
memset(dp, 0, sizeof(dp));
dp[0][0] = 1;
for (int i = 0; i < m; i++)
for (int j = 0; j < n; j++)
for (int k = 1; k <= 6; k++)
dp[i... | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 78,379 | 78,380 | u173012975 | cpp |
p01261 | #include <algorithm>
#include <iostream>
using namespace std;
long long comb[61][61];
int main() {
for (int i = 0; i <= 60; i++) {
for (int j = 0; j <= 60; j++) {
comb[i][j] = (j > i) ? 0
: (j == i || j == 0) ? 1
: comb[i - 1][j - 1]... | #include <algorithm>
#include <iostream>
using namespace std;
long long comb[61][61];
int main() {
for (int i = 0; i <= 60; i++) {
for (int j = 0; j <= 60; j++) {
comb[i][j] = (j > i) ? 0
: (j == i || j == 0) ? 1
: comb[i - 1][j - 1]... | [
"control_flow.loop.for.initializer.change",
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"expression.operation.binar... | 78,400 | 78,401 | u766225878 | cpp |
p01261 | #include <algorithm>
#include <iostream>
using namespace std;
long long comb[61][61];
int main() {
for (int i = 0; i <= 60; i++) {
for (int j = 0; j <= 60; j++) {
comb[i][j] = (j > i) ? 0
: (j == i || j == 0) ? 1
: comb[i - 1][j - 1]... | #include <algorithm>
#include <iostream>
using namespace std;
long long comb[61][61];
int main() {
for (int i = 0; i <= 60; i++) {
for (int j = 0; j <= 60; j++) {
comb[i][j] = (j > i) ? 0
: (j == i || j == 0) ? 1
: comb[i - 1][j - 1]... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 78,403 | 78,401 | u766225878 | cpp |
p01228 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef vector<int> vi;
inline int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
inline int lcm(int a, int b) { return a / gcd(a, b) * b; }
inline int hex(char a) { return isdigit(a) ? (a - '0') : (a - 'A'); }
inli... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef vector<int> vi;
inline int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
inline int lcm(int a, int b) { return a / gcd(a, b) * b; }
inline int hex(char a) { return isdigit(a) ? (a - '0') : (a - 'A'); }
inli... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 78,448 | 78,449 | u914140574 | cpp |
p01228 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define loop(i, a, b) for (int i = a; i < b; i++)
#define rep(i, a) ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define loop(i, a, b) for (int i = a; i < b; i++)
#define rep(i, a) ... | [
"literal.string.change",
"io.output.change"
] | 78,452 | 78,453 | u214600613 | cpp |
p01228 | #include "bits/stdc++.h"
#include <unordered_map>
#include <unordered_set>
#pragma warning(disable : 4996)
using namespace std;
vector<long long int> divisor(long long int n) {
vector<long long int> res;
for (long long int i = 1; i * i <= n; ++i) {
if (n % i == 0) {
res.push_back(i);
if (i * i != n... | #include "bits/stdc++.h"
#include <unordered_map>
#include <unordered_set>
#pragma warning(disable : 4996)
using namespace std;
vector<long long int> divisor(long long int n) {
vector<long long int> res;
for (long long int i = 1; i * i <= n; ++i) {
if (n % i == 0) {
res.push_back(i);
if (i * i != n... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 78,454 | 78,455 | u186082958 | cpp |
p01228 | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define f first
#define s second
#define mp make_pair
#define REP(i, n) for (int i = ... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define f first
#define s second
#define mp make_pair
#define REP(i, n) for (int i = ... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 78,456 | 78,457 | u609255173 | cpp |
p01228 | #include <bitset>
#include <cstdio>
#include <cstdlib>
#include <vector>
using namespace std;
int GCD(int x, int y) {
while (int z = x % y)
x = y, y = z;
return y;
}
int LCM(int x, int y) { return x / GCD(x, y) * y; }
int A(char c) {
char s[2] = {c};
return strtol(s, 0, 16);
}
int F(vector<int> &v, int n) {... | #include <bitset>
#include <cstdio>
#include <cstdlib>
#include <vector>
using namespace std;
int GCD(int x, int y) {
while (int z = x % y)
x = y, y = z;
return y;
}
int LCM(int x, int y) { return x / GCD(x, y) * y; }
int A(char c) {
char s[2] = {c};
return strtol(s, 0, 16);
}
int F(vector<int> &v, int n) {... | [
"call.add"
] | 78,458 | 78,459 | u260615292 | cpp |
p01228 | #include <algorithm>
#include <assert.h>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned int uint;
typedef unsigned long long ull;
static const dou... | #include <algorithm>
#include <assert.h>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned int uint;
typedef unsigned long long ull;
static const dou... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 78,462 | 78,463 | u211535951 | cpp |
p01228 | #include <cstdio>
#include <cstring>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
int lcm(int a, int b) { return a / gcd(a, b) * b; }
int regularize(const char *s, int *r) {
int len = strlen(s) / 2;
rep(i, len) {
char x[3] = {s[... | #include <cstdio>
#include <cstring>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
int lcm(int a, int b) { return a / gcd(a, b) * b; }
int regularize(const char *s, int *r) {
int len = strlen(s) / 2;
rep(i, len) {
char x[3] = {s[... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 78,464 | 78,465 | u157859087 | cpp |
p01229 | #include <algorithm>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
bool dp[81][350][350];
int main() {
int T;
cin >> T;
while (T--) {
int n;
cin >> n;
vector<int> e(n);
for (int i = 0; i < n; ++i) {
cin >> e[i];
}
if (n <= 2) {
cout << e.back(... | #include <algorithm>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
bool dp[81][350][350];
int main() {
int T;
cin >> T;
while (T--) {
int n;
cin >> n;
vector<int> e(n);
for (int i = 0; i < n; ++i) {
cin >> e[i];
}
if (n <= 2) {
cout << e.back(... | [
"control_flow.loop.condition.change",
"control_flow.loop.for.condition.change",
"misc.off_by_one",
"control_flow.branch.if.condition.change",
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 78,474 | 78,475 | u825925708 | cpp |
p01233 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <v... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <v... | [
"expression.operation.binary.add"
] | 78,503 | 78,504 | u505648358 | cpp |
p01233 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (int)(n); ++i)
using namespace std;
typedef long long LL;
bool go(LL x, LL y, LL a, LL b) {
if (x == a)
return true;
if (y == b)
return true;
if (x + y == a + b)
return true;
if (x - y == a - b)
return true;
return false;
}
typed... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (int)(n); ++i)
using namespace std;
typedef long long LL;
bool go(LL x, LL y, LL a, LL b) {
if (x == a)
return true;
if (y == b)
return true;
if (x + y == a + b)
return true;
if (x - y == a - b)
return true;
return false;
}
typed... | [
"expression.operation.unary.arithmetic.remove",
"call.arguments.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 78,509 | 78,510 | u535943957 | cpp |
p01237 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <queue>
#include <stack>
//#include <unordered_map>
#define N 111
//#define lson x<<1
//#define rson x<<1|1
//#define mid ((lt[x].l+lt[x].r)/2)
#define ID(x, y) (pre[(x)-1] + (y - 1))
#define CHECK(x, y) ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <queue>
#include <stack>
//#include <unordered_map>
#define N 111
//#define lson x<<1
//#define rson x<<1|1
//#define mid ((lt[x].l+lt[x].r)/2)
#define ID(x, y) (pre[(x)-1] + (y - 1))
#define CHECK(x, y) ... | [
"call.remove"
] | 78,528 | 78,529 | u588387175 | cpp |
p01239 | #include <algorithm>
#include <cfloat>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <time.h>
#include <vector>
typedef long long int ll;
typedef unsigned long long int ull;
#define BIG_NUM 2000000000
#define MOD 100000... | #include <algorithm>
#include <cfloat>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <time.h>
#include <vector>
typedef long long int ll;
typedef unsigned long long int ull;
#define BIG_NUM 2000000000
#define MOD 100000... | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 78,530 | 78,531 | u697145890 | cpp |
p01240 | #include <algorithm>
#include <iostream>
using namespace std;
int dp[1 << 20], prev_[1 << 20], a[20][20], H, W;
int main() {
int T;
cin >> T;
for (int i = 1; i <= T; i++) {
cin >> W >> H;
for (int i = 0; i < (1 << W); i++)
dp[i] = -1LL << 30;
for (int i = 0; i < (1 << W); i++)
prev_[i] = -... | #include <algorithm>
#include <iostream>
using namespace std;
int dp[1 << 20], prev_[1 << 20], a[20][20], H, W;
int main() {
int T;
cin >> T;
for (int i = 1; i <= T; i++) {
cin >> W >> H;
for (int i = 0; i < (1 << W); i++)
dp[i] = -1LL << 30;
for (int i = 0; i < (1 << W); i++)
prev_[i] = -... | [
"control_flow.break.remove",
"control_flow.continue.add"
] | 78,542 | 78,543 | u852311840 | cpp |
p01241 | #include <iostream>
using namespace std;
int x[25], y[25], n, m, p, c;
int main() {
while (true) {
cin >> n >> m;
if (n == 0)
break;
for (int i = 0; i < 25; i++)
x[i] = 0;
x[0] = n;
p++;
c = 0;
while (x[m] < 1) {
c++;
for (int i = 0; i < m; i++)
y[i] = 0;
... | #include <iostream>
using namespace std;
int x[25], y[25], n, m, p, c;
int main() {
while (true) {
cin >> n >> m;
if (n == 0)
break;
for (int i = 0; i < 25; i++)
x[i] = 0;
x[0] = n;
p++;
c = 0;
while (x[m] < 1) {
c++;
for (int i = 0; i < 25; i++)
y[i] = 0;
... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.condition.change"
] | 78,548 | 78,549 | u852311840 | cpp |
p01270 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) REP(i, 0, n)
#define REP(i, s, e) for (int i = (s); i < (int)(e); i++)
#define pb push_back
#define all(r) (r).begin(), (r).end()
#define rall(r) (r).rbegin(), (r).rend()
#define fi first
#define se second
#define int long long
typedef long long ll;
ty... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) REP(i, 0, n)
#define REP(i, s, e) for (int i = (s); i < (int)(e); i++)
#define pb push_back
#define all(r) (r).begin(), (r).end()
#define rall(r) (r).rbegin(), (r).rend()
#define fi first
#define se second
#define int long long
typedef long long ll;
ty... | [
"assignment.change"
] | 78,567 | 78,568 | u700120734 | cpp |
p01270 | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
using namespace std;
int n;
main() {
while (cin >> n, n) {
list<pair<int, int>> L;
L.push_back(make_pair(-1, 2e9));
for (int i = 0; i < n; i++) {
char c;
cin >> c;
if (c == 'W') {
int s, l;
cin >> s >... | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
using namespace std;
int n;
main() {
while (cin >> n, n) {
list<pair<int, int>> L;
L.push_back(make_pair(-1, 2e9));
for (int i = 0; i < n; i++) {
char c;
cin >> c;
if (c == 'W') {
int s, l;
cin >> s >... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 78,569 | 78,570 | u868447400 | cpp |
p01270 | #include <algorithm>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
typedef pair<int, int> P;
typedef pair<int, P> File;
void debug(const vector<File> &v) {
cout << "[debug]" << endl;
for (int i = 0; i < v.size(); i++) {
int id = v[i].first;
int L = v[i].second.first;
int R ... | #include <algorithm>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
typedef pair<int, int> P;
typedef pair<int, P> File;
void debug(const vector<File> &v) {
cout << "[debug]" << endl;
for (int i = 0; i < v.size(); i++) {
int id = v[i].first;
int L = v[i].second.first;
int R ... | [] | 78,575 | 78,576 | u862297061 | cpp |
p01270 | #include <cstdio>
#include <iostream>
#include <list>
#include <set>
#include <vector>
using namespace std;
typedef long long ll;
static const ll MAX = 1e10;
enum Data { Space, File };
struct Range {
Data d;
int id;
ll start;
ll end;
ll size() const { return end - start; }
bool operator<(const Range &r... | #include <cstdio>
#include <iostream>
#include <list>
#include <set>
#include <vector>
using namespace std;
typedef long long ll;
static const ll MAX = 1e10;
enum Data { Space, File };
struct Range {
Data d;
int id;
ll start;
ll end;
ll size() const { return end - start; }
bool operator<(const Range &r... | [
"control_flow.break.add"
] | 78,577 | 78,578 | u871901071 | cpp |
p01270 | #include <algorithm>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
typedef long long lli;
struct Data {
lli size, id;
};
int main() {
int N;
while (cin >> N && N) {
vector<Data> v;
while (N--) {
char op;
cin >> op;
if (op == 'W') {
lli l, S;
... | #include <algorithm>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
typedef long long lli;
struct Data {
lli size, id;
};
int main() {
int N;
while (cin >> N && N) {
vector<Data> v;
while (N--) {
char op;
cin >> op;
if (op == 'W') {
lli l, S;
... | [
"expression.unary.arithmetic.remove"
] | 78,579 | 78,580 | u967850487 | cpp |
p01270 | #include <algorithm>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
typedef int lli;
struct Data {
lli size, id;
};
int main() {
int N;
while (cin >> N && N) {
vector<Data> v;
while (N--) {
char op;
cin >> op;
if (op == 'W') {
lli l, S;
cin >... | #include <algorithm>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
typedef long long lli;
struct Data {
lli size, id;
};
int main() {
int N;
while (cin >> N && N) {
vector<Data> v;
while (N--) {
char op;
cin >> op;
if (op == 'W') {
lli l, S;
... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"expression.unary.arithmetic.remove"
] | 78,582 | 78,580 | u967850487 | cpp |
p01270 | #include <algorithm>
#include <cstring>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
struct Seg {
int s, e, no;
Seg() {}
Seg(int a, int b, int c) : s(a), e(b), no(c) {}
};
vector<Seg> v;
void write(int l, int s) {
for (int i = 0; s; i++) {
if (v[i].no != -1)
continue;... | #include <algorithm>
#include <cstring>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
struct Seg {
int s, e, no;
Seg() {}
Seg(int a, int b, int c) : s(a), e(b), no(c) {}
};
vector<Seg> v;
void write(int l, int s) {
for (int i = 0; s; i++) {
if (v[i].no != -1)
continue;... | [
"literal.number.change",
"call.arguments.change"
] | 78,583 | 78,584 | u393475075 | cpp |
p01270 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#incl... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#incl... | [] | 78,585 | 78,586 | u827448139 | cpp |
p01270 | #include <algorithm>
#include <cassert>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <st... | #include <algorithm>
#include <cassert>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <st... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 78,589 | 78,590 | u915761101 | cpp |
p01270 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#incl... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#incl... | [
"expression.operation.binary.change"
] | 78,591 | 78,592 | u660774699 | cpp |
p01270 | #include <iostream>
#include <list>
#include <string>
using namespace std;
struct Segment {
int start;
int end;
int id;
Segment() {}
Segment(int s, int e, int id) : start(s), end(e), id(id) {}
};
list<Segment> storage;
void do_write(const int id, const int sectors) {
list<Segment>::iterator it = storage... | #include <iostream>
#include <list>
#include <string>
using namespace std;
struct Segment {
int start;
int end;
int id;
Segment() {}
Segment(int s, int e, int id) : start(s), end(e), id(id) {}
};
list<Segment> storage;
void do_write(const int id, const int sectors) {
list<Segment>::iterator it = storage... | [
"call.add"
] | 78,593 | 78,594 | u525048109 | cpp |
p01270 | #include <iostream>
using namespace std;
struct List {
int id, cnt;
List *nxt;
};
void _delete(List *p) {
if (p == nullptr)
return;
_delete(p->nxt);
delete p;
}
void erase(List *p, int id) {
if (p == nullptr)
return;
if (p->id == id)
p->id = -1;
erase(p->nxt, id);
}
int find(List *p, in... | #include <iostream>
using namespace std;
struct List {
int id, cnt;
List *nxt;
};
void _delete(List *p) {
if (p == nullptr)
return;
_delete(p->nxt);
delete p;
}
void erase(List *p, int id) {
if (p == nullptr)
return;
if (p->id == id)
p->id = -1;
erase(p->nxt, id);
}
int find(List *p, in... | [
"assignment.value.change"
] | 78,597 | 78,598 | u934534598 | cpp |
p01271 | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define reps(i, s, n) for (int i = s; i < n; i++)
#define all(x) x.begin(), x.end()
typedef long long l... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define reps(i, s, n) for (int i = s; i < n; i++)
#define all(x) x.begin(), x.end()
typedef long long l... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 78,613 | 78,614 | u390862001 | cpp |
p01271 | #include <cstring>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef vector<string> vs;
typedef vector<int> vi;
#define rep(i, b) loop(i, 0, b)
#define loop(i, a, b) for (int i = (a); i < int(b); i++)
int dx[] = {1, 0, -1, 0};
int dy[] = {0, 1, 0,... | #include <cstring>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef vector<string> vs;
typedef vector<int> vi;
#define rep(i, b) loop(i, 0, b)
#define loop(i, a, b) for (int i = (a); i < int(b); i++)
int dx[] = {1, 0, -1, 0};
int dy[] = {0, 1, 0,... | [
"literal.string.change",
"literal.string.case.change"
] | 78,615 | 78,616 | u553881259 | cpp |
p01271 | #include <algorithm>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
using namespace std;
typedef pair<int, int> Pi;
bool used[50][50][50][50];
char masL[50][50], masR[50][50];
int W, H;
Pi RinS, LenS; //スタート
const int dy[] = {1, 0, -1, 0}, dx[] = {0, 1, 0, -1};
int bfs() {
queue<Pi> Rin, Len... | #include <algorithm>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
using namespace std;
typedef pair<int, int> Pi;
bool used[50][50][50][50];
char masL[50][50], masR[50][50];
int W, H;
Pi RinS, LenS; //スタート
const int dy[] = {1, 0, -1, 0}, dx[] = {0, 1, 0, -1};
int bfs() {
queue<Pi> Rin, Len... | [
"misc.opposites",
"control_flow.branch.if.condition.change",
"identifier.change"
] | 78,617 | 78,618 | u095377734 | cpp |
p01271 | #include <bits/stdc++.h>
using namespace std;
#define LOG(...) fprintf(stderr, __VA_ARGS__)
//#define LOG(...)
#define FOR(i, a, b) for (int i = (int)(a); i < (int)(b); ++i)
#define REP(i, n) for (int i = 0; i < (int)(n); ++i)
#define ALL(a) (a).begin(), (a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define EXIS... | #include <bits/stdc++.h>
using namespace std;
#define LOG(...) fprintf(stderr, __VA_ARGS__)
//#define LOG(...)
#define FOR(i, a, b) for (int i = (int)(a); i < (int)(b); ++i)
#define REP(i, n) for (int i = 0; i < (int)(n); ++i)
#define ALL(a) (a).begin(), (a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define EXIS... | [
"assignment.value.change"
] | 78,621 | 78,622 | u966401365 | cpp |
p01271 | #include <algorithm>
#include <iostream>
#include <queue>
#include <set>
#include <sstream>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define For(i, a, n) for (int i = a; i < n; i++)
#define rep(i, n) For(i, 0, n)
#define clr(n) memset(n, 0, sizeof n)
#define all(n)... | #include <algorithm>
#include <iostream>
#include <queue>
#include <set>
#include <sstream>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define For(i, a, n) for (int i = a; i < n; i++)
#define rep(i, n) For(i, 0, n)
#define clr(n) memset(n, 0, sizeof n)
#define all(n)... | [
"control_flow.branch.if.condition.change",
"control_flow.break.remove",
"control_flow.continue.add"
] | 78,627 | 78,628 | u145305110 | cpp |
p01271 | #include <algorithm>
#include <iostream>
#include <queue>
#include <set>
#include <sstream>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define For(i, a, n) for (int i = a; i < n; i++)
#define rep(i, n) For(i, 0, n)
#define clr(n) memset(n, 0, sizeof n)
#define all(n)... | #include <algorithm>
#include <iostream>
#include <queue>
#include <set>
#include <sstream>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define For(i, a, n) for (int i = a; i < n; i++)
#define rep(i, n) For(i, 0, n)
#define clr(n) memset(n, 0, sizeof n)
#define all(n)... | [
"control_flow.break.remove",
"control_flow.continue.add"
] | 78,629 | 78,628 | u145305110 | cpp |
p01271 | #include <cstdio>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
#define rep(X, Y) for (int(X) = 0; (X) < (Y); ++(X))
#define pb push_back
#define X first
#define Y second
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<pii, pii> pi4;
int dist[55][55][55]... | #include <cstdio>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
#define rep(X, Y) for (int(X) = 0; (X) < (Y); ++(X))
#define pb push_back
#define X first
#define Y second
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<pii, pii> pi4;
int dist[55][55][55]... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 78,630 | 78,631 | u182453220 | cpp |
p01271 | #include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
bool b[103][52][103][52] = {};
int main() {
while (true) {
long long int w, h;
cin >> w >> h;
if (w == 0)
break;
vector<string> map;
map.push_back("###########################################... | #include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
bool b[103][52][103][52] = {};
int main() {
while (true) {
long long int w, h;
cin >> w >> h;
if (w == 0)
break;
vector<string> map;
map.push_back("###########################################... | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.loop.condition.change"
] | 78,632 | 78,633 | u346042277 | cpp |
p01271 | #include <algorithm>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
// cin.sync_with_stdio(false);
// streambuf
using namespace std;
typedef long lon... | #include <algorithm>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
// cin.sync_with_stdio(false);
// streambuf
using namespace std;
typedef long lon... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 78,638 | 78,639 | u592015169 | cpp |
p01271 | #include <iostream>
#include <queue>
#include <string>
using namespace std;
struct state {
int lx, ly, rx, ry;
};
int dx[] = {0, 1, 0, -1}, dy[] = {1, 0, -1, 0};
bool dp[50][50][50][50];
int main() {
int h, w;
while (cin >> w >> h, h) {
int lx, ly, rx, ry;
for (int i = 0; i < 50; i++) {
for (int... | #include <iostream>
#include <queue>
#include <string>
using namespace std;
struct state {
int lx, ly, rx, ry;
};
int dx[] = {0, 1, 0, -1}, dy[] = {1, 0, -1, 0};
bool dp[50][50][50][50];
int main() {
int h, w;
while (cin >> w >> h, h) {
int lx, ly, rx, ry;
for (int i = 0; i < 50; i++) {
for (int... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 78,642 | 78,643 | u642694278 | cpp |
p01271 | #include <array>
#include <cstring>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
enum PassageType {
FREE,
WALL,
SEARCHED,
GOAL,
};
bool isSearched[50][50][50][50] = {false};
struct Point {
Point() {
x = 0;
y = 0;
};
Point(char x, char y) {
this->... | #include <array>
#include <cstring>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
enum PassageType {
FREE,
WALL,
SEARCHED,
GOAL,
};
bool isSearched[50][50][50][50] = {false};
struct Point {
Point() {
x = 0;
y = 0;
};
Point(char x, char y) {
this->... | [
"variable_declaration.type.primitive.change"
] | 78,647 | 78,648 | u241351136 | cpp |
p01273 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
struct Packet {
int t, s, d;
Packet() = default;
Packet(int t, int s, int d) : t(t), s(s), d(d) {}
bool operator<(const Packet &p) const { return t < p.t; }
};
int main() {
while (true) {
int N, M;
cin >> N >> M;
... | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
struct Packet {
int t, s, d;
Packet() = default;
Packet(int t, int s, int d) : t(t), s(s), d(d) {}
bool operator<(const Packet &p) const { return t < p.t; }
};
int main() {
while (true) {
int N, M;
cin >> N >> M;
... | [
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 78,711 | 78,712 | u728992264 | cpp |
p01273 | #include <algorithm>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int n, m;
bool infect[20001];
pair<int, pair<int, int>> packet[20000];
while (cin >> n >> m) {
memset(infect, false, sizeof(infect));
infect[1] = true;
for (int i = 0; i < m; i++) {
... | #include <algorithm>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int n, m;
bool infect[20001];
pair<int, pair<int, int>> packet[20000];
while (cin >> n >> m, n) {
memset(infect, false, sizeof(infect));
infect[1] = true;
for (int i = 0; i < m; i++) {
... | [
"control_flow.loop.condition.change"
] | 78,723 | 78,724 | u032250180 | cpp |
p01273 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct P {
int t;
int s;
int d;
};
int cmp(const void *a, const void *b) {
struct P *tmp1 = (struct P *)a;
struct P *tmp2 = (struct P *)b;
return tmp1->t - tmp2->t;
}
int main(void) {
int n, m, count, i, j, p[20000];
struct P data[20000];
w... | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct P {
int t;
int s;
int d;
};
int cmp(const void *a, const void *b) {
struct P *tmp1 = (struct P *)a;
struct P *tmp2 = (struct P *)b;
return tmp1->t - tmp2->t;
}
int main(void) {
int n, m, count, i, p[20000];
struct P data[20000];
whil... | [
"variable_declaration.remove"
] | 78,728 | 78,729 | u682037079 | cpp |
p01274 | #include <algorithm>
#include <stdio.h>
using namespace std;
char str[20];
int t[110];
int p[110];
int q[110];
int c[110];
int dp[2][110000];
int main() {
int a;
while (scanf("%d", &a), a) {
for (int i = 0; i < a; i++)
scanf("%d", c + i);
int b;
scanf("%d", &b);
for (int i = 0; i < b; i++) {
... | #include <algorithm>
#include <stdio.h>
using namespace std;
char str[20];
int t[110];
int p[110];
int q[110];
int c[110];
int dp[2][110000];
int main() {
int a;
while (scanf("%d", &a), a) {
for (int i = 0; i < a; i++)
scanf("%d", c + i);
int b;
scanf("%d", &b);
for (int i = 0; i < b; i++) {
... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 78,732 | 78,733 | u676399799 | cpp |
p01274 | #include <bits/stdc++.h>
using namespace std;
int single[200010] = {};
int multi[200010] = {};
int hp[110];
int main() {
int N;
while (cin >> N && N) {
for (int i = 0; i < 100010; i++)
single[i] = 1e9;
for (int i = 0; i < 100010; i++)
multi[i] = 1e9;
single[0] = multi[0] = 0;
for (int i... | #include <bits/stdc++.h>
using namespace std;
int single[100010] = {};
int multi[100010] = {};
int hp[110];
int main() {
int N;
while (cin >> N && N) {
for (int i = 0; i < 100010; i++)
single[i] = 1e9;
for (int i = 0; i < 100010; i++)
multi[i] = 1e9;
single[0] = multi[0] = 0;
for (int i... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"assignment.value.change",
"call.arguments.change"
] | 78,738 | 78,737 | u458173932 | cpp |
p01274 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int multi[100010], single[100010], hp[110];
int main() {
int N;
while (cin >> N && N) {
for (int i = 0; i < 100010; i++) {
multi[i] = 1e9;
single[i] = 1e9;
}
multi[0] = 0;
single[0] = 0;
for (int i = 0;... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int multi[100010], single[100010], hp[110];
int main() {
int N;
while (cin >> N && N) {
for (int i = 0; i < 100010; i++) {
multi[i] = 1e9;
single[i] = 1e9;
}
multi[0] = 0;
single[0] = 0;
for (int i = 0;... | [
"misc.opposites",
"identifier.change",
"call.function.change"
] | 78,741 | 78,742 | u551438531 | cpp |
p01274 | #include <bits/stdc++.h>
#define r(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef pair<int, int> P;
#define F first
#define S second
vector<P> v1, v2;
int a[101], dp1[100001], dp2[100001], n, t1, t2, t;
string s;
main() {
while (cin >> n, n) {
int ans = 1e8;
r(i, 100001) dp1[i] = dp2[i] = 1e6;... | #include <bits/stdc++.h>
#define r(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef pair<int, int> P;
#define F first
#define S second
vector<P> v1, v2;
int a[101], dp1[100001], dp2[100001], n, t1, t2, t;
string s;
main() {
while (cin >> n, n) {
int ans = 1e8;
r(i, 100001) dp1[i] = dp2[i] = 1e6;... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 78,752 | 78,753 | u962041986 | cpp |
p01274 | #include <bits/stdc++.h>
using namespace std;
#define max(a, b) ((a) > (b) ? (a) : (b))
#define min(a, b) ((a) < (b) ? (a) : (b))
typedef long long LL;
#define INF 1000000000
struct spell {
int mp;
int damage;
};
struct spell sps[100], spa[100];
LL dps[100001], dpa[100001];
int main() {
int n;
while (1) {... | #include <bits/stdc++.h>
using namespace std;
#define max(a, b) ((a) > (b) ? (a) : (b))
#define min(a, b) ((a) < (b) ? (a) : (b))
typedef long long LL;
#define INF 1000000000
struct spell {
LL mp;
LL damage;
};
struct spell sps[100], spa[100];
LL dps[100001], dpa[100001];
int main() {
int n;
while (1) {
... | [
"variable_declaration.type.change",
"identifier.change",
"control_flow.loop.condition.change"
] | 78,759 | 78,760 | u197853378 | cpp |
p01274 | #include <bits/stdc++.h>
using namespace std;
#define max(a, b) ((a) > (b) ? (a) : (b))
#define min(a, b) ((a) < (b) ? (a) : (b))
typedef long long LL;
#define INF 1000000000
struct spell {
int mp;
int damage;
};
struct spell sps[100], spa[100];
LL dps[100001], dpa[100001];
int main() {
int n;
while (1) {... | #include <bits/stdc++.h>
using namespace std;
#define max(a, b) ((a) > (b) ? (a) : (b))
#define min(a, b) ((a) < (b) ? (a) : (b))
typedef long long LL;
#define INF 1000000000
struct spell {
LL mp;
LL damage;
};
struct spell sps[100], spa[100];
LL dps[100001], dpa[100001];
int main() {
int n;
while (1) {
... | [
"variable_declaration.type.change"
] | 78,761 | 78,760 | u197853378 | cpp |
p01274 | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h =... | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h =... | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 78,775 | 78,776 | u300645821 | cpp |
p01274 | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h = mo... | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h =... | [] | 78,777 | 78,776 | u300645821 | cpp |
p01274 | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h =... | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h =... | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 78,775 | 78,778 | u300645821 | cpp |
p01274 | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h = mo... | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h =... | [] | 78,777 | 78,778 | u300645821 | cpp |
p01274 | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h =... | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r, s;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h =... | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 78,779 | 78,780 | u300645821 | cpp |
p01274 | #include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r;
string str;
for (; cin >> n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h = monster[... | #include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h = monst... | [] | 78,781 | 78,782 | u300645821 | cpp |
p01274 | #include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r;
string str;
for (; cin >> n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h = monster[... | #include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main() {
int n, m, d, h, i, j, r;
string str;
for (; cin >> n, n; cout << r << endl) {
vector<int> monster(n);
for (h = i = 0; i < n; i++) {
cin >> monster[i];
if (h < monster[i])
h = monst... | [] | 78,783 | 78,784 | u300645821 | cpp |
p01275 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define whole(xs) (xs).begin(), (xs).end()
#define uniq(xs) ((xs).erase(unique((xs).begin(), (xs).end()), (xs).end()))
int N;
string s, t;
bool input() {
cin >> N;
if (N == 0)
return false;
cin >> s >> t;
re... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define whole(xs) (xs).begin(), (xs).end()
#define uniq(xs) ((xs).erase(unique((xs).begin(), (xs).end()), (xs).end()))
int N;
string s, t;
bool input() {
cin >> N;
if (N == 0)
return false;
cin >> s >> t;
re... | [
"control_flow.loop.for.initializer.change",
"expression.operation.binary.remove"
] | 78,792 | 78,793 | u860016155 | cpp |
p01275 | #include <bits/stdc++.h>
#define inf 1 << 30
using namespace std;
int k, ans;
string a, b;
void dfs(string s, int n, int num) {
if (n == k - 1) {
if (s == b)
ans = min(ans, num);
} else {
int dif = (b[n] - s[n] + 10) % 10;
if (s[n] == b[n]) {
dfs(s, n + 1, num);
} else {
for (int... | #include <bits/stdc++.h>
#define inf 1 << 30
using namespace std;
int k, ans;
string a, b;
void dfs(string s, int n, int num) {
if (n == k) {
if (s == b)
ans = min(ans, num);
} else {
int dif = (b[n] - s[n] + 10) % 10;
if (s[n] == b[n]) {
dfs(s, n + 1, num);
} else {
for (int i =... | [
"expression.operation.binary.remove"
] | 78,794 | 78,795 | u064467943 | cpp |
p01275 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (long long i = 0; i < (long long)(n); i++)
#define repi(i, a, b) \
for (long long i = (long long)(a); i < (long long)(b); i++)
#define fi first
#define se second
#define mp make_pair
using ll... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (long long i = 0; i < (long long)(n); i++)
#define repi(i, a, b) \
for (long long i = (long long)(a); i < (long long)(b); i++)
#define fi first
#define se second
#define mp make_pair
using ll... | [
"assignment.change"
] | 78,796 | 78,797 | u606573458 | cpp |
p01275 | #include <iostream>
#include <vector>
using namespace std;
int solve(vector<int> D, vector<int> imos, int i, int d) {
int n = D.size();
if (i == n)
return 0;
d += imos[i];
D[i] += 10 - d;
D[i] %= 10;
int ret = 1e9;
if (D[i]) {
for (int j = i + 1; j <= n; ++j) {
imos[j] -= D[i];
ret = ... | #include <iostream>
#include <vector>
using namespace std;
int solve(vector<int> D, vector<int> imos, int i, int d) {
int n = D.size();
if (i == n)
return 0;
d += imos[i];
D[i] += 10 - d;
D[i] %= 10;
int ret = 1e9;
if (D[i]) {
for (int j = i + 1; j <= n; ++j) {
imos[j] -= D[i];
ret = ... | [
"expression.operation.binary.add"
] | 78,800 | 78,801 | u936898312 | cpp |
p01275 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
char are(char c, int i) {
int tmp = ((int)(c - '0' + i)) % 10;
if (tmp >= 0)
return (char)(tmp + '0');
return (char)((tmp + 10) + '0');
}
int kore(string start, string goal, int sum) {
if (start.empty())
return sum;
int... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
char are(char c, int i) {
int tmp = ((int)(c - '0' + i)) % 10;
if (tmp >= 0)
return (char)(tmp + '0');
return (char)((tmp + 10) + '0');
}
int kore(string start, string goal, int sum) {
if (start.empty())
return sum;
int... | [
"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",
"misc.off_by_one"
] | 78,802 | 78,803 | u108145186 | cpp |
p01275 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
char are(char c, int i) {
int tmp = ((int)(c - '0' + i)) % 10;
if (tmp >= 0)
return (char)(tmp + '0');
return (char)((tmp + 10) + '0');
}
int kore(string start, string goal, int sum) {
if (start.empty())
return sum;
int... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
char are(char c, int i) {
int tmp = ((int)(c - '0' + i)) % 10;
if (tmp >= 0)
return (char)(tmp + '0');
return (char)((tmp + 10) + '0');
}
int kore(string start, string goal, int sum) {
if (start.empty())
return sum;
int... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"control_flow.loop.for.condition.change",
"misc.off_by_one",
"assignment.change"
] | 78,804 | 78,803 | u108145186 | cpp |
p01275 | #include <bits/stdc++.h>
using namespace std;
int solve(vector<int> D, int i) { // i := 現在の位置
int n = D.size();
if (i == n)
return 0;
int ret = 1e9;
if (D[i]) {
int d = D[i];
for (int j = i + 1; j < n; j++) {
D[j] = (D[j] - d + 10) % 10;
ret = min(ret, 1 + solve(D, i + 1));
}
} ... | #include <bits/stdc++.h>
using namespace std;
int solve(vector<int> D, int i) { // i := 現在の位置
int n = D.size();
if (i == n)
return 0;
int ret = 1e9;
if (D[i]) {
int d = D[i];
for (int j = i; j < n; j++) {
D[j] = (D[j] - d + 10) % 10;
ret = min(ret, 1 + solve(D, i + 1));
}
} else... | [
"control_flow.loop.for.initializer.change",
"expression.operation.binary.remove"
] | 78,805 | 78,806 | u727105197 | cpp |
p01275 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int k;
string cur, unlocking;
int minCnt;
void dfs(int idx, int cnt) {
if (idx == k) {
minCnt = min(minCnt, cnt);
return;
}
if (minCnt <= cnt)
return;
string tmp = cur;
// ツづつアツづ慊づ連ツ督ョツつウツつケツづゥツつゥツづ... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int k;
string cur, unlocking;
int minCnt;
void dfs(int idx, int cnt) {
if (idx == k) {
minCnt = min(minCnt, cnt);
return;
}
if (minCnt <= cnt)
return;
string tmp = cur;
// ツづつアツづ慊づ連ツ督ョツつウツつケツづゥツつゥツづ... | [
"assignment.change"
] | 78,807 | 78,808 | u266871004 | cpp |
p01275 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <v... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <v... | [
"assignment.change"
] | 78,809 | 78,810 | u505648358 | cpp |
p01275 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespac... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespac... | [
"literal.number.change",
"call.arguments.change"
] | 78,813 | 78,814 | u907421301 | cpp |
p01277 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define EPS (1e-1)
#define equals(a, b) (fabs((a) - (b)) < EPS)
#define PI 3.141592653589793238
// COUNTER CLOCKWISE
static const int CCW_COUNTER_CLOCKWISE = 1;
static const int CCW_CLOCKWISE = -1;
static const int CCW_ONLINE_BACK = 2;
static const i... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define EPS (1e-5)
#define equals(a, b) (fabs((a) - (b)) < EPS)
#define PI 3.141592653589793238
// COUNTER CLOCKWISE
static const int CCW_COUNTER_CLOCKWISE = 1;
static const int CCW_CLOCKWISE = -1;
static const int CCW_ONLINE_BACK = 2;
static const i... | [
"preprocessor.define.value.change",
"literal.float.change"
] | 78,822 | 78,823 | u924665348 | cpp |
p01277 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define EPS (1e-1)
#define equals(a, b) (fabs((a) - (b)) < EPS)
#define PI 3.141592653589793238
// COUNTER CLOCKWISE
static const int CCW_COUNTER_CLOCKWISE = 1;
static const int CCW_CLOCKWISE = -1;
static const int CCW_ONLINE_BACK = 2;
static const i... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define EPS (1e-10)
#define equals(a, b) (fabs((a) - (b)) < EPS)
#define PI 3.141592653589793238
// COUNTER CLOCKWISE
static const int CCW_COUNTER_CLOCKWISE = 1;
static const int CCW_CLOCKWISE = -1;
static const int CCW_ONLINE_BACK = 2;
static const ... | [
"preprocessor.define.value.change",
"literal.float.change"
] | 78,822 | 78,824 | u924665348 | cpp |
p01277 | #include <iostream>
#include <random>
#include <set>
#include <vector>
using namespace std;
using ll = long long;
struct P {
ll x;
ll y;
bool operator<(const P &p) const { return (x != p.x) ? x < p.x : y < p.y; }
};
vector<P> pos;
int N;
bool ok(const int i, const int j) {
const ll x = (pos[i].x + pos[j].x) / ... | #include <iostream>
#include <random>
#include <set>
#include <vector>
using namespace std;
using ll = long long;
struct P {
ll x;
ll y;
bool operator<(const P &p) const { return (x != p.x) ? x < p.x : y < p.y; }
};
vector<P> pos;
int N;
bool ok(const int i, const int j) {
const ll x = (pos[i].x + pos[j].x) / ... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 78,825 | 78,826 | u580955605 | cpp |
p01278 | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < ((int)(n)); i++)
#define reg(i, a, b) for (int i = ((int)(a)); i... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < ((int)(n)); i++)
#define reg(i, a, b) for (int i = ((int)(a)); i... | [
"literal.number.change",
"call.arguments.change",
"io.output.change",
"control_flow.branch.if.condition.change"
] | 78,832 | 78,833 | u182677953 | cpp |
p01278 | #include <bits/stdc++.h>
using namespace std;
typedef complex<double> P; // Point
typedef pair<P, P> L; // Line, Segment
const double EPS = 1e-8;
const double PI = 6.0 * asin(0.5);
namespace std {
bool operator<(const P &a, const P &b) {
return fabs(real(a) - real(b)) < EPS ? imag(a) < imag(b) : real(a) < real... | #include <bits/stdc++.h>
using namespace std;
typedef complex<double> P; // Point
typedef pair<P, P> L; // Line, Segment
const double EPS = 1e-8;
const double PI = 6.0 * asin(0.5);
namespace std {
bool operator<(const P &a, const P &b) {
return fabs(real(a) - real(b)) < EPS ? imag(a) < imag(b) : real(a) < real... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 78,842 | 78,843 | u776402923 | cpp |
p01278 | #include <bits/stdc++.h>
using namespace std;
#define int long long // <-----!!!!!!!!!!!!!!!!!!!
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep2(i, a, b) for (int i = (a); i < (b); ++i)
#define rrep(i, n) for (int i = (n)-1; i >= 0; --i)
#define rrep2(i, a, b) for (int i = (a)-1; i >= b; --i)
#define chmi... | #include <bits/stdc++.h>
using namespace std;
#define int long long // <-----!!!!!!!!!!!!!!!!!!!
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep2(i, a, b) for (int i = (a); i < (b); ++i)
#define rrep(i, n) for (int i = (n)-1; i >= 0; --i)
#define rrep2(i, a, b) for (int i = (a)-1; i >= b; --i)
#define chmi... | [
"variable_declaration.value.change"
] | 78,844 | 78,845 | u529386725 | cpp |
p01278 | #include <bits/stdc++.h>
#define M 10
using namespace std;
typedef complex<double> P;
typedef pair<P, P> L;
const double EPS = 1e-8;
double dot(P a, P b) { return real(conj(a) * b); }
double cross(P a, P b) { return imag(conj(a) * b); }
int ccw(P a, P b, P c) {
b -= a;
c -= a;
if (cross(b, c) > EPS)
return... | #include <bits/stdc++.h>
#define M 10
using namespace std;
typedef complex<double> P;
typedef pair<P, P> L;
const double EPS = 1e-8;
double dot(P a, P b) { return real(conj(a) * b); }
double cross(P a, P b) { return imag(conj(a) * b); }
int ccw(P a, P b, P c) {
b -= a;
c -= a;
if (cross(b, c) > EPS)
return... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 78,846 | 78,847 | u084540620 | cpp |
p01278 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <vector>
#define _A_ true
#define EPS 1e-10
#define COUNTER_CLOCKWISE 1
#define CLOCKWISE -1
#define ONLINE_BACK 2
#define ONLINE_FRONT -2
#define ON_SEGMENT 0
usi... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <vector>
#define _A_ true
#define EPS 1e-10
#define COUNTER_CLOCKWISE 1
#define CLOCKWISE -1
#define ONLINE_BACK 2
#define ONLINE_FRONT -2
#define ON_SEGMENT 0
usi... | [
"literal.number.change",
"io.output.change"
] | 78,854 | 78,855 | u116766943 | cpp |
p01278 | // Enjoy your stay.
#include <bits/stdc++.h>
#define EPS 1e-9
#define INF 1070000000LL
#define MOD 1000000007LL
#define fir first
#define foreach(it, X) for (auto it = (X).begin(); it != (X).end(); it++)
#define ite iterator
#define mp make_pair
#define mt make_tuple
#define rep(i, n) rep2(i, 0, n)
#define rep2(i, m,... | // Enjoy your stay.
#include <bits/stdc++.h>
#define EPS 1e-9
#define INF 1070000000LL
#define MOD 1000000007LL
#define fir first
#define foreach(it, X) for (auto it = (X).begin(); it != (X).end(); it++)
#define ite iterator
#define mp make_pair
#define mt make_tuple
#define rep(i, n) rep2(i, 0, n)
#define rep2(i, m,... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 78,856 | 78,857 | u603085888 | cpp |
p01279 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep1(i, n) for (int i = 1; ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep1(i, n) for (int i = 1; ... | [
"assignment.value.change",
"identifier.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 78,875 | 78,876 | u664278326 | cpp |
p01279 | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cfloat>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <time.h>
#include <vector>
usi... | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cfloat>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <time.h>
#include <vector>
usi... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 78,877 | 78,878 | u822298456 | cpp |
p01279 | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cfloat>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <time.h>
#include <vector>
usi... | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cfloat>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <time.h>
#include <vector>
usi... | [
"expression.operation.unary.add",
"control_flow.branch.if.condition.change"
] | 78,880 | 78,881 | u822298456 | cpp |
p01279 | #include <bits/stdc++.h>
typedef long long LL;
#define SORT(c) sort((c).begin(), (c).end())
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
using namespace std;
typedef int Weight;
typedef int Flow;
struct Edge {
int src, dest, rev;
Flow cap;
Weight cost;
bool operator<(c... | #include <bits/stdc++.h>
typedef long long LL;
#define SORT(c) sort((c).begin(), (c).end())
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
using namespace std;
typedef int Weight;
typedef int Flow;
struct Edge {
int src, dest, rev;
Flow cap;
Weight cost;
bool operator<(c... | [
"expression.operation.binary.remove"
] | 78,891 | 78,892 | u557829133 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change"
] | 78,910 | 78,911 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,912 | 78,911 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,913 | 78,911 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change"
] | 78,910 | 78,914 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,912 | 78,914 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,913 | 78,914 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change"
] | 78,910 | 78,916 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,912 | 78,916 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,913 | 78,916 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change"
] | 78,910 | 78,918 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,912 | 78,918 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,913 | 78,918 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,912 | 78,919 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"call.arguments.change"
] | 78,913 | 78,919 | u220324665 | cpp |
p01279 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
vector<int> E[100];
bool used[200];
int match[200];
bool dfs(int u) {
used[u] = true;
for (int v : E[u]) {
int w = match[v];
if (w == -1 || (!used[w] && dfs(w))) {
match[u] = v;
match[v] = u;
re... | [
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change"
] | 78,910 | 78,920 | u220324665 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.