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 |
|---|---|---|---|---|---|---|---|
p03825 | #include <algorithm>
#include <cstdio>
using namespace std;
#define iter(i, n) for (int i = 1; i <= n; ++i)
#define forw(i, a, b) for (int i = a; i <= b; ++i)
const int mod = 1e9 + 7;
const int NR = 2010;
int n, m, K;
int f[NR][NR];
int main() {
scanf("%d%d%d", &n, &m, &K);
int N = max(n, m) + 2, ans = 0;
f[0... | #include <algorithm>
#include <cstdio>
using namespace std;
#define iter(i, n) for (int i = 1; i <= n; ++i)
#define forw(i, a, b) for (int i = a; i <= b; ++i)
const int mod = 1e9 + 7;
const int NR = 4010;
int n, m, K;
int f[NR][NR];
int main() {
scanf("%d%d%d", &n, &m, &K);
int N = n + m + 2, ans = 0;
f[0][0]... | [
"literal.number.change",
"variable_declaration.value.change",
"call.remove",
"call.arguments.change",
"expression.operation.binary.change"
] | 1,449,237 | 1,449,238 | u197797239 | cpp |
p03825 | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
const int MAX_N = 2005, MOD = 1000000007;
int N, M, K, f[MAX_N], g[MAX_N];
void update(int &x, int y) { x = (x + y) % MOD; }
int main() {
scanf("%d%d%d", &N, &M, &K);
M--;
int len = (N + M - 1) / (K - 1), result = 0, sum = 0;
f[... | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
const int MAX_N = 2005, MOD = 1000000007;
int N, M, K, f[MAX_N], g[MAX_N];
void update(int &x, int y) { x = (x + y) % MOD; }
int main() {
scanf("%d%d%d", &N, &M, &K);
M--;
int len = (N + M) / (K - 1), result = 0, sum = 0;
f[0] =... | [
"expression.operation.binary.remove"
] | 1,449,245 | 1,449,246 | u344627992 | cpp |
p03825 | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
const int MAX_N = 2005, MOD = 1000000007;
int N, M, K, f[MAX_N], g[MAX_N];
void update(int &x, int y) { x = (x + y) % MOD; }
int main() {
scanf("%d%d%d", &N, &M, &K);
M--;
int len = (N + M) / K + 10, result = 0, sum = 0;
f[0] = ... | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
const int MAX_N = 2005, MOD = 1000000007;
int N, M, K, f[MAX_N], g[MAX_N];
void update(int &x, int y) { x = (x + y) % MOD; }
int main() {
scanf("%d%d%d", &N, &M, &K);
M--;
int len = (N + M) / (K - 1), result = 0, sum = 0;
f[0] =... | [] | 1,449,248 | 1,449,246 | u344627992 | cpp |
p03825 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef pair<int, P> P1;
typedef pair<P, P> P2;
#define pu push
#define pb push_back
#define mp make_pair
#define eps 1e-7
#define INF 1000000000
#define fi first
#define sc second
#define rep(i, x) for (int i = 0; i < x; i++)... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef pair<int, P> P1;
typedef pair<P, P> P2;
#define pu push
#define pb push_back
#define mp make_pair
#define eps 1e-7
#define INF 1000000000
#define fi first
#define sc second
#define rep(i, x) for (int i = 0; i < x; i++)... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,449,271 | 1,449,272 | u316170293 | cpp |
p03825 | // This amazing code is by Eric Sunli Chen.
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <utility>
#include <vector>
using ... | // This amazing code is by Eric Sunli Chen.
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <utility>
#include <vector>
using ... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 1,449,273 | 1,449,274 | u149667584 | cpp |
p03825 | // This amazing code is by Eric Sunli Chen.
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <utility>
#include <vector>
using ... | // This amazing code is by Eric Sunli Chen.
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <utility>
#include <vector>
using ... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,449,275 | 1,449,276 | u149667584 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, C, D;
cin >> A >> B >> C >> D;
if ((A * B) >= (B * D)) {
cout << A * B;
} else {
cout << C * D;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, C, D;
cin >> A >> B >> C >> D;
if ((A * B) >= (C * D)) {
cout << A * B;
} else {
cout << C * D;
}
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 1,449,292 | 1,449,293 | u863370423 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int x, y, a, b;
cin >> x, y, a, b;
if (x * y == a * b) {
cout << x * y;
return 0;
}
if (x * y > a * b) {
cout << x * y;
return 0;
}
cout << a * b;
} | #include <iostream>
using namespace std;
int main() {
int x, y, a, b;
cin >> x >> y >> a >> b;
if (x * y == a * b) {
cout << x * y;
return 0;
}
if (x * y > a * b) {
cout << x * y;
return 0;
}
cout << a * b;
} | [] | 1,449,298 | 1,449,299 | u336217207 | cpp |
p03826 | #include <cmath>
#include <iostream>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
cout << pow(A * B, C * D) << '\n';
} | #include <cmath>
#include <iostream>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
cout << max(A * B, C * D) << '\n';
} | [
"identifier.change",
"call.function.change",
"io.output.change"
] | 1,449,300 | 1,449,301 | u274553463 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
#define Bye return 0
#define ll long long
void solve() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll area_1 = a * b;
ll area_2 = c * b;
cout << (area_1 >= area_2 ? area_1 : area_2) << endl;
}
int main() {
solve();
Bye;
} | #include <bits/stdc++.h>
using namespace std;
#define Bye return 0
#define ll long long
void solve() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll area_1 = a * b;
ll area_2 = c * d;
cout << (area_1 >= area_2 ? area_1 : area_2) << endl;
}
int main() {
solve();
Bye;
} | [
"identifier.change",
"expression.operation.binary.change"
] | 1,449,304 | 1,449,305 | u560156780 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef double dd;
#define all(v) v.begin(), v.end()
#define endl "\n"
#define clr(n, r) memset(n, r, sizeof(n));
void fast() {
cin.tie(0);
cin.sync_with_stdio(0);
}
int main() {
fast();
int a, b, c, d;
cin... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef double dd;
#define all(v) v.begin(), v.end()
#define endl "\n"
#define clr(n, r) memset(n, r, sizeof(n));
void fast() {
cin.tie(0);
cin.sync_with_stdio(0);
}
int main() {
fast();
int a, b, c, d;
cin... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 1,449,310 | 1,449,311 | u969144502 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int x, y, z, n, a1, a2;
cin >> x >> y >> z >> n;
a1 = x * y;
a2 = z * n;
if (a1 >= a2)
cout << a1;
else
a2;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int x, y, z, n, a1, a2;
cin >> x >> y >> z >> n;
a1 = x * y;
a2 = z * n;
if (a1 >= a2)
cout << a1;
else
cout << a2;
return 0;
}
| [
"io.output.change"
] | 1,449,330 | 1,449,331 | u765682288 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, N) for (ll(i) = 0; (i) < (N); (i)++)
const int mod = 1000000007;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b > c * d)
cout << a * b << endl;
else
cout << b * d << endl;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, N) for (ll(i) = 0; (i) < (N); (i)++)
const int mod = 1000000007;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b > c * d)
cout << a * b << endl;
else
cout << c * d << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,449,334 | 1,449,335 | u239409893 | cpp |
p03826 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <deque>
#include <iostream>
#include <iterator>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define loop(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#defin... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <deque>
#include <iostream>
#include <iterator>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define loop(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#defin... | [
"identifier.change",
"io.output.change"
] | 1,449,336 | 1,449,337 | u614063956 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, f;
cin >> a >> b >> c >> d;
e = a * b;
f = c * d;
if (d > f) {
cout << d << endl;
} else {
cout << f << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, f;
cin >> a >> b >> c >> d;
e = a * b;
f = c * d;
if (e > f) {
cout << e << endl;
} else {
cout << f << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 1,449,344 | 1,449,345 | u101777447 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
if (A * B == C * D) {
cout << A * B;
}
if (A * B > C * D) {
cout << A * B;
} else {
cout << C * D;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
if (A * B == C * D) {
cout << A * B;
} else if (A * B > C * D) {
cout << A * B;
} else {
cout << C * D;
}
} | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,449,363 | 1,449,364 | u075520262 | cpp |
p03826 | /*its_Rashid*/
#include <bits/stdc++.h>
using namespace std;
typedef double du;
typedef string st;
typedef long long ll;
typedef long double ld;
typedef long long int lli;
#define vi vector<lli>
#define loop(num) for (lli i = 0; i < num; i++)
#define loopcin(num, ar) ... | /*its_Rashid*/
#include <bits/stdc++.h>
using namespace std;
typedef double du;
typedef string st;
typedef long long ll;
typedef long double ld;
typedef long long int lli;
#define vi vector<lli>
#define loop(num) for (lli i = 0; i < num; i++)
#define loopcin(num, ar) ... | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 1,449,369 | 1,449,370 | u911135089 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b <= c * d) {
cout << a * b << endl;
} else {
cout << c * d << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b >= c * d) {
cout << a * b << endl;
} else {
cout << c * d << endl;
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,449,378 | 1,449,379 | u094191970 | cpp |
p03826 | //{{{
#include <bits/stdc++.h>
using namespace std;
const string truename = "Yes";
const string falsename = "No";
struct IoSetup {
IoSetup() {
cin.tie(nullptr);
// ios::sync_with_stdio(false);
cout << fixed << setprecision(10);
cerr << fixed << setprecision(10);
};
} ioSetup;
//{{{ rep rrep loop
... | //{{{
#include <bits/stdc++.h>
using namespace std;
const string truename = "Yes";
const string falsename = "No";
struct IoSetup {
IoSetup() {
cin.tie(nullptr);
// ios::sync_with_stdio(false);
cout << fixed << setprecision(10);
cerr << fixed << setprecision(10);
};
} ioSetup;
//{{{ rep rrep loop
... | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 1,449,380 | 1,449,381 | u899220667 | cpp |
p03826 | #include <bits/stdc++.h>
#include <math.h>
#include <stdlib.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
inline constexpr ll gcd(ll a, ll b) {
if (!a || !b)
return 0;
while (b) {
ll c = b;
b = a % b;
a = c;
}
return a;
}
inline constexpr ll l... | #include <bits/stdc++.h>
#include <math.h>
#include <stdlib.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
inline constexpr ll gcd(ll a, ll b) {
if (!a || !b)
return 0;
while (b) {
ll c = b;
b = a % b;
a = c;
}
return a;
}
inline constexpr ll l... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 1,449,382 | 1,449,383 | u540741303 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
a *= b;
c *= d;
cout << (a > b ? a : b) << '\n';
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
a *= b;
c *= d;
cout << (a > c ? a : c) << '\n';
return 0;
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 1,449,389 | 1,449,390 | u287505393 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b >= c * d) {
cout << a * b << endl;
} else
cout << c + d << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b >= c * d) {
cout << a * b << endl;
} else
cout << c * d << endl;
} | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 1,449,401 | 1,449,402 | u513547482 | cpp |
p03826 | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b > c * d) {
cout << a * b << endl;
} else if (a * b < c * d) {
cout << c * b << endl;
} else {
cout << a * b << endl;
}
}
| #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b > c * d) {
cout << a * b << endl;
} else if (a * b < c * d) {
cout << c * d << endl;
} else {
cout << a * b << endl;
}
}
| [
"identifier.change",
"io.output.change"
] | 1,449,406 | 1,449,407 | u777656471 | cpp |
p03826 | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b >= c * d) {
cout << a * b << endl;
} else if (a * b < c * d) {
cout << c * b << endl;
} else {
cout << a * b << endl;
}
}
| #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b > c * d) {
cout << a * b << endl;
} else if (a * b < c * d) {
cout << c * d << endl;
} else {
cout << a * b << endl;
}
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"identifier.change",
"io.output.change"
] | 1,449,408 | 1,449,407 | u777656471 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
if (A * B > C * D) {
cout << A * B;
} else if (C * D > A * B) {
cout << C * D;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
if (A * B >= C * D) {
cout << A * B;
} else if (C * D >= A * B) {
cout << C * D;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,449,423 | 1,449,424 | u318329027 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
if (A * B >= C + D) {
cout << A * B << endl;
} else {
cout << C * D << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
if (A * B >= C * D) {
cout << A * B << endl;
} else {
cout << C * D << endl;
}
}
| [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 1,449,432 | 1,449,433 | u373984877 | cpp |
p03826 | #include <stdio.h>
int main(void) {
int a, b, c, d, e, f, s;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
scanf("%d", &d);
e = a * b;
f = c * d;
if (e > f) {
printf("%d\n", e);
} else {
printf("%d\n", a);
}
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c, d, e, f, s;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
scanf("%d", &d);
e = a * b;
f = c * d;
if (e > f) {
printf("%d\n", e);
} else {
printf("%d\n", f);
}
return 0;
} | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 1,449,436 | 1,449,437 | u644911355 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int first = a * b;
int second = c * b;
if (first >= second) {
cout << first << endl;
} else {
cout << second << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int first = a * b;
int second = c * d;
if (first >= second) {
cout << first << endl;
} else {
cout << second << endl;
}
}
| [
"identifier.change",
"expression.operation.binary.change"
] | 1,449,438 | 1,449,439 | u747087681 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b >= c * d)
cout << a * b;
else
cout << b * d;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b >= c * d)
cout << a * b;
else
cout << c * d;
}
| [
"identifier.change",
"io.output.change"
] | 1,449,442 | 1,449,443 | u440248708 | cpp |
p03826 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c, d;
cin >> a, b, c, d;
cout << (a * b >= c * d ? a * b : c * d) << endl;
} | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << (a * b >= c * d ? a * b : c * d) << endl;
} | [] | 1,449,456 | 1,449,457 | u491550356 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
if (A * B < C * D)
cout << C * D << endl;
else
cout << A * D << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
if (A * B < C * D)
cout << C * D << endl;
else
cout << A * B << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,449,460 | 1,449,461 | u607465351 | cpp |
p03826 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b < c * d)
cout << c * d << endl;
else
cout << c * d << endl;
}
| #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b < c * d)
cout << c * d << endl;
else
cout << a * b << endl;
}
| [
"identifier.change",
"io.output.change"
] | 1,449,462 | 1,449,463 | u207521866 | cpp |
p03826 | #include <iostream>
using namespace std;
typedef struct rect {
int w;
int h;
} rect_t;
int main() {
rect_t rect1;
rect_t rect2;
cin >> rect1.w >> rect1.h >> rect2.w >> rect2.h;
// cout << rect1.w << rect1.h << rect2.w << rect2.w;
const int area1 = rect1.w * rect1.h;
const int area2 = rect2.w * rec... |
#include <iostream>
using namespace std;
typedef struct rect {
int w;
int h;
} rect_t;
int main() {
rect_t rect1;
rect_t rect2;
cin >> rect1.w >> rect1.h >> rect2.w >> rect2.h;
// cout << rect1.w << rect1.h << rect2.w << rect2.w;
const int area1 = rect1.w * rect1.h;
const int area2 = rect2.w * re... | [
"identifier.change",
"io.output.change"
] | 1,449,470 | 1,449,471 | u778668639 | cpp |
p03826 | #include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define endl "\n"
using namespace std;
int main() {
ios_base::sy... | #include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define endl "\n"
using namespace std;
int main() {
ios_base::sy... | [] | 1,449,480 | 1,449,481 | u850266651 | cpp |
p03826 | #include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define endl "\n"
using namespace std;
int main() {
ios_base::sy... | #include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define endl "\n"
using namespace std;
int main() {
ios_base::sy... | [
"identifier.change",
"io.output.change"
] | 1,449,483 | 1,449,481 | u850266651 | cpp |
p03826 | #include <algorithm>
#include <bits/stdc++.h>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using n... | #include <algorithm>
#include <bits/stdc++.h>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using n... | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 1,449,500 | 1,449,501 | u767543103 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int A, B, C, D;
int main() {
cin >> A >> B >> C >> D;
cout << min(A * B, C * D) << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int A, B, C, D;
int main() {
cin >> A >> B >> C >> D;
cout << max(A * B, C * D) << endl;
return 0;
}
| [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 1,449,508 | 1,449,509 | u488352661 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int a, b, c, d;
cin >> a >> b >> c >> d;
(a * c >= b * d) ? cout << a * c << "\n" : cout << b * d << "\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int a, b, c, d;
cin >> a >> b >> c >> d;
(a * b >= c * d) ? cout << a * b << "\n" : cout << c * d << "\n";
return 0;
} | [
"expression.operation.binary.remove",
"identifier.change",
"expression.operation.binary.change"
] | 1,449,512 | 1,449,513 | u898245351 | cpp |
p03826 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <set>
#include <string>
#include <vector>
#define _USE_MATH_DEFINENS
#include <cmath>
using namespace std;
#define MOD 1000000007
#define p(x) cout << x << endl;
#define el cout << endl;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main()... | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <set>
#include <string>
#include <vector>
#define _USE_MATH_DEFINENS
#include <cmath>
using namespace std;
#define MOD 1000000007
#define p(x) cout << x << endl;
#define el cout << endl;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main()... | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 1,449,534 | 1,449,535 | u492288342 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(a * b, c + d);
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(a * b, c * d);
} | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 1,449,540 | 1,449,541 | u835937527 | cpp |
p03826 | #include <bits/stdc++.h>
typedef long long ll;
int main(int argc, char const *argv[]) {
ll A, B, C, D;
std::cin >> A >> B >> C >> D;
std::cout << std::min(A * B, C * D) << '\n';
return 0;
}
| #include <bits/stdc++.h>
typedef long long ll;
int main(int argc, char const *argv[]) {
ll A, B, C, D;
std::cin >> A >> B >> C >> D;
std::cout << std::max(A * B, C * D) << '\n';
return 0;
}
| [
"misc.opposites",
"identifier.change",
"expression.operation.binary.change"
] | 1,449,562 | 1,449,563 | u267325300 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b <= c * d)
cout << c * d << endl;
else if (a * b >= c * d)
cout << a + b << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b <= c * d)
cout << c * d << endl;
else if (a * b >= c * d)
cout << a * b << endl;
return 0;
}
| [
"expression.operator.arithmetic.change",
"io.output.change"
] | 1,449,571 | 1,449,572 | u154672915 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b >= c * d)
cout << a * b << endl;
else
cout << c * b << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b >= c * d)
cout << a * b << endl;
else
cout << c * d << endl;
return 0;
}
| [
"identifier.change",
"io.output.change"
] | 1,449,573 | 1,449,574 | u017881341 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int A = a * b;
int C = c * d;
if (A > C) {
cout << A << endl;
} else {
cout << A << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int A = a * b;
int C = c * d;
if (A > C) {
cout << A << endl;
} else {
cout << C << endl;
}
} | [
"identifier.change",
"io.output.change"
] | 1,449,577 | 1,449,578 | u455810068 | cpp |
p03826 | #include <algorithm>
#include <iostream>
using namespace std;
char a, b, c, d;
int main() {
cin >> a >> b >> c >> d;
cout << max(a * b, c * d) << endl;
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int a, b, c, d;
int main() {
cin >> a >> b >> c >> d;
cout << max(a * b, c * d) << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 1,449,582 | 1,449,583 | u774622463 | cpp |
p03826 | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define int long long
#define MOD7 1000000007
#define... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define int long long
#define MOD7 1000000007
#define... | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 1,449,588 | 1,449,589 | u022317850 | cpp |
p03826 | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define int long long
#define MOD7 1000000007
#define... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define int long long
#define MOD7 1000000007
#define... | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 1,449,590 | 1,449,589 | u022317850 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int A;
cin >> A;
int B;
cin >> B;
int C;
cin >> C;
int D;
cin >> D;
int x = A * B;
int y = C * D;
bool zyoukena = x >= y;
bool zyoukenb = x < y;
if (zyoukena) {
cout << "x" << endl;
}
if (zyoukenb) {
cout << "y" << endl;
}
... | #include <iostream>
using namespace std;
int main() {
int A;
cin >> A;
int B;
cin >> B;
int C;
cin >> C;
int D;
cin >> D;
int x = A * B;
int y = C * D;
bool zyoukena = x >= y;
bool zyoukenb = x < y;
if (zyoukena) {
cout << x << endl;
}
if (zyoukenb) {
cout << y << endl;
}
retu... | [] | 1,449,593 | 1,449,594 | u136473852 | cpp |
p03826 | #include <iostream>
int main() {
int a, b, c, d;
std::cin >> a >> b >> c >> d;
a *= b;
c *= d;
std::cout << ((a > b) ? a : b) << std::endl;
return 0;
} | #include <iostream>
int main() {
int a, b, c, d;
std::cin >> a >> b >> c >> d;
a *= b;
c *= d;
std::cout << ((a > c) ? a : c) << std::endl;
return 0;
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,449,602 | 1,449,603 | u644330273 | cpp |
p03826 | #include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d%d%d%d", &a, &b, &c, &d);
int e = a * b, f = c * d;
printf("%d\n", e < c ? c : e);
} | #include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d%d%d%d", &a, &b, &c, &d);
int e = a * b, f = c * d;
printf("%d\n", e < f ? f : e);
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 1,449,604 | 1,449,605 | u781091740 | cpp |
p03826 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(a * b, c + d) << endl;
return 0;
}
| #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(a * b, c * d) << endl;
return 0;
}
| [
"expression.operator.arithmetic.change",
"io.output.change"
] | 1,449,606 | 1,449,607 | u080348635 | cpp |
p03826 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <time.h>
using namespace std;
int main(void) {
int sx = 0, sy = 0, tx = 0, ty = 0;
cin >> sx >> sy >> tx >> ty;
long long int A = 0, B = 0;
A = sx * ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <time.h>
using namespace std;
int main(void) {
int sx = 0, sy = 0, tx = 0, ty = 0;
cin >> sx >> sy >> tx >> ty;
long long int A = 0, B = 0;
A = sx * ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,449,608 | 1,449,609 | u301409936 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, x, y;
cin >> a >> b >> c >> d;
x = a * b;
y = c * d;
if (x > y) {
cout << x << endl;
} else if (x == y) {
cout << y << endl;
} else {
cout << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d, x, y;
cin >> a >> b >> c >> d;
x = a * b;
y = c * d;
if (x > y) {
cout << x << endl;
} else if (x == y) {
cout << y << endl;
} else {
cout << y << endl;
}
return 0;
}
| [
"identifier.change",
"io.output.change"
] | 1,449,610 | 1,449,611 | u321511305 | cpp |
p03826 | #include <algorithm>
#include <iostream>
int main() {
int A, B, C, D;
std::cin >> A >> B >> C >> D;
std::cout << std::min(A * B, C * D) << std::endl;
}
| #include <algorithm>
#include <iostream>
int main() {
int A, B, C, D;
std::cin >> A >> B >> C >> D;
std::cout << std::max(A * B, C * D) << std::endl;
} | [
"misc.opposites",
"identifier.change",
"expression.operation.binary.change"
] | 1,449,612 | 1,449,613 | u213628371 | cpp |
p03826 | #include <stdio.h>
int main(void) {
long long a, b, c, d, m;
scanf("%lld %lld %lld %lld", &a, &b, &c, &d);
m = a * b;
if (m < c * d) {
printf("%lld\n", m);
return 0;
}
else {
printf("%lld\n", m);
return 0;
}
return 0;
} | #include <stdio.h>
int main(void) {
long long a, b, c, d, m;
scanf("%lld %lld %lld %lld", &a, &b, &c, &d);
m = a * b;
if (m < c * d) {
m = c * d;
printf("%lld\n", m);
return 0;
}
else {
printf("%lld\n", m);
return 0;
}
return 0;
} | [
"assignment.add"
] | 1,449,614 | 1,449,615 | u854243627 | cpp |
p03826 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c, d;
cin >> a >> b >> c >> d;
a *= b;
c *= d;
cout << (a > b ? a : c) << endl;
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int a, b, c, d;
cin >> a >> b >> c >> d;
a *= b;
c *= d;
cout << (a > c ? a : c) << endl;
return 0;
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 1,449,630 | 1,449,631 | u978494963 | cpp |
p03826 | #include <algorithm>
#include <functional>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(a * b, c + d) << endl;
}
| #include <algorithm>
#include <functional>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(a * b, c * d) << endl;
}
| [
"expression.operator.arithmetic.change",
"io.output.change"
] | 1,449,632 | 1,449,633 | u924339359 | cpp |
p03826 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b > c * d) {
cout << a * c << endl;
} else {
cout << b * c << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a * b > c * d) {
cout << a * b << endl;
} else {
cout << c * d << endl;
}
return 0;
} | [
"identifier.change",
"io.output.change",
"expression.operation.binary.remove"
] | 1,449,640 | 1,449,641 | u273352618 | cpp |
p03826 | #include <iostream>
int main() {
int a, b, c, d;
std::cin >> a >> b >> c >> d;
if (a * b > b * c) {
std::cout << a * b << std::endl;
} else {
std::cout << c * d << std::endl;
}
return 0;
} | #include <iostream>
int main() {
int a, b, c, d;
std::cin >> a >> b >> c >> d;
if (a * b > d * c) {
std::cout << a * b << std::endl;
} else {
std::cout << c * d << std::endl;
}
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,449,644 | 1,449,645 | u389009751 | cpp |
p03826 | //
// Created by 今村秀明 on 2017/01/20.
//
#include <stdio.h>
int main() {
int a, b, c, d;
int s, t;
scanf("%d %d %d %d", a, b, c, d);
s = a * b;
t = c * d;
if (s == t) {
printf("%d", s);
} else if (s > t) {
printf("%d", s);
} else {
printf("%d", t);
}
return 0;
} | //
// Created by 今村秀明 on 2017/01/20.
//
#include <stdio.h>
int main() {
int a, b, c, d;
int s, t;
scanf("%d %d %d %d", &a, &b, &c, &d);
s = a * b;
t = c * d;
if (s == t) {
printf("%d", s);
} else if (s > t) {
printf("%d", s);
} else {
printf("%d", t);
}
return 0;
} | [
"expression.operation.unary.reference.add"
] | 1,449,650 | 1,449,651 | u477855214 | cpp |
p03826 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b, c, d, x, y;
cin >> a >> b >> c >> d;
x = a * b;
y = c * d;
if (x > y)
cout << x << endl;
else if (x > y)
cout << y << endl;
else
cout << x << endl;
return 0;
}
| #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b, c, d, x, y;
cin >> a >> b >> c >> d;
x = a * b;
y = c * d;
if (x > y)
cout << x << endl;
else if (x < y)
cout << y << endl;
else
cout << x << endl;
return 0;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,449,661 | 1,449,662 | u571492569 | cpp |
p03826 | #include <bits/stdc++.h>
using namespace std;
#define Rep(i, N) for (int i = 0; i < N; i++)
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
cout << min(A * B, C * D) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define Rep(i, N) for (int i = 0; i < N; i++)
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
cout << max(A * B, C * D) << endl;
return 0;
} | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 1,449,676 | 1,449,677 | u239239546 | cpp |
p03827 | #include <stdio.h>
int main() {
int n;
scanf("%d", &n);
char str[n];
scanf("%s", str);
int counter = 0;
int max = 0;
for (int j = 0; j < n; j++) {
if (str[j] == 'I') {
counter++;
if (counter >= max) {
max = counter;
}
else
counter--;
}
}
printf("%d"... | #include <stdio.h>
int main() {
int n;
scanf("%d", &n);
char str[n];
scanf("%s", str);
int counter = 0;
int max = 0;
for (int j = 0; j < n; j++) {
if (str[j] == 'I') {
counter++;
if (counter > max) {
max = counter;
}
} else {
counter--;
}
}
printf("%d", ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,449,678 | 1,449,679 | u353919145 | cpp |
p03827 | #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... | [
"variable_declaration.value.change",
"expression.operation.unary.remove"
] | 1,449,682 | 1,449,683 | u441250130 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x = 0, n;
string s;
cin >> n >> s;
int ans = -5;
for (int i = 0; i < n; i++) {
if (s[i] == 'I')
x++;
if (s[i] == 'D')
x--;
ans = max(ans, x);
}
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int x = 0, n;
string s;
cin >> n >> s;
int ans = 0;
for (int i = 0; i < n; i++) {
if (s[i] == 'I')
x++;
if (s[i] == 'D')
x--;
ans = max(ans, x);
}
cout << ans << endl;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,688 | 1,449,689 | u864785784 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
template <typename T> using vec = vector<T>;
int main() {
int n;
cin >> n;
char c;
int x, M;
for (int i = 0; i < n; i++) {
cin >> c;
if (c == 'I') {
x++;
} else {
x--;
}
M = max(x, M);
}
cout << M << endl;
}
| #include <bits/stdc++.h>
using namespace std;
template <typename T> using vec = vector<T>;
int main() {
int n;
cin >> n;
char c;
int x = 0, M = 0;
for (int i = 0; i < n; i++) {
cin >> c;
if (c == 'I') {
x++;
} else {
x--;
}
M = max(x, M);
}
cout << M << endl;
}
| [
"variable_declaration.value.change"
] | 1,449,695 | 1,449,696 | u267222408 | cpp |
p03827 | #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int N;
string S;
cin >> N >> S;
int max_count = 0;
int now = 0;
for (int i = 0; i < N; i++) {
if (S[i] == 'I') {
now += 1;
} else {
now -= 1;
}
if (now > max_count) {
max_count... | #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int N;
string S;
cin >> N >> S;
int max_count = 0;
int now = 0;
for (int i = 0; i < N; i++) {
if (S[i] == 'I') {
now += 1;
} else {
now -= 1;
}
if (now > max_count) {
max_count... | [
"identifier.change",
"io.output.change"
] | 1,449,701 | 1,449,702 | u651314218 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
string s;
cin >> s;
int maxi = 0;
int x = 0;
for (int i = 0; i < n; i++) {
if (s[i] == 'I')
x += 1;
else
x -= 1;
maxi = max(maxi, x);
}
cout << maxi;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
string s;
cin >> n;
cin >> s;
int maxi = 0;
int x = 0;
for (int i = 0; i < n; i++) {
if (s[i] == 'I')
x += 1;
else
x -= 1;
// cout<<x<<' ';
maxi = max(maxi, x);
}
cout << maxi;
} | [] | 1,449,705 | 1,449,706 | u004676431 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
string S;
cin >> N >> S;
vector<int> vec(N + 1);
vec.at(0) = 0;
for (int i = 0; i < N; i++) {
if (S.at(i) == 'I') {
vec.at(i + 1) = vec.at(i) + 1;
} else {
vec.at(i + 1) = vec.at(i) - 1;
}
}
// for ( int i = 0 ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
string S;
cin >> N >> S;
vector<int> vec(N + 1);
vec.at(0) = 0;
for (int i = 0; i < N; i++) {
if (S.at(i) == 'I') {
vec.at(i + 1) = vec.at(i) + 1;
} else {
vec.at(i + 1) = vec.at(i) - 1;
}
}
// for ( int i = 0 ... | [
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 1,449,707 | 1,449,708 | u627539774 | cpp |
p03827 | #include <iostream>
#include <string>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
int main() {
int n;
string s;
cin >> n >> s;
int x = 0;
int max = 0;
rep(i, n) {
if (s.at(i) == 'I')
x++;
else if (s.at(i) == 'D')
x--;
if (x > max)
max = x;
}
cou... | #include <iostream>
#include <string>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
int main() {
int n;
string s;
cin >> n >> s;
int x = 0;
int max = 0;
rep(i, n) {
if (s.at(i) == 'I')
x++;
else if (s.at(i) == 'D')
x--;
if (x > max)
max = x;
}
cou... | [
"identifier.change",
"io.output.change"
] | 1,449,712 | 1,449,713 | u236540805 | cpp |
p03827 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define prtd(var, i) cout << fixed << setprecision(i) << var << endl;
#define ll long long
using namespace std;
#define INF 100000
int main() {
int n;
cin >> n;
string s;
cin >> s;
int cnt = 0;
int MAX = -1000;
rep(i, n) {
if (s... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define prtd(var, i) cout << fixed << setprecision(i) << var << endl;
#define ll long long
using namespace std;
#define INF 100000
int main() {
int n;
cin >> n;
string s;
cin >> s;
int cnt = 0;
int MAX = 0;
rep(i, n) {
if (s[i] ... | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,722 | 1,449,723 | u101048376 | cpp |
p03827 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int N;
string S;
cin >> N;
cin >> S;
int nx = 0;
int x = 0;
for (int i = 0; i < N; i++) {
x = max(nx, x);
if (S[i] == 'I') {
nx += 1;
} else {
nx -= 1;
}
}
cout << x << endl;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int N;
string S;
cin >> N;
cin >> S;
int nx = 0;
int x = 0;
for (int i = 0; i <= S.length(); i++) {
x = max(nx, x);
if (S[i] == 'I') {
nx += 1;
} else {
nx -= 1;
}
}
cout << x << endl;
} | [
"control_flow.loop.for.condition.change",
"call.add"
] | 1,449,724 | 1,449,725 | u650263252 | cpp |
p03827 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int N;
string S;
cin >> N;
cin >> S;
int nx = 0;
int x = 0;
for (int i = 0; i < S.length(); i++) {
x = max(nx, x);
if (S[i] == 'I') {
nx += 1;
} else {
nx -= 1;
}
}
cout << x << endl;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int N;
string S;
cin >> N;
cin >> S;
int nx = 0;
int x = 0;
for (int i = 0; i <= S.length(); i++) {
x = max(nx, x);
if (S[i] == 'I') {
nx += 1;
} else {
nx -= 1;
}
}
cout << x << endl;
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,449,726 | 1,449,725 | u650263252 | cpp |
p03827 | /*
First solve the problem,then write the code.
Author-Manas Singh(@manassingh557)
*/
// #pragma GCC optimize ("Ofast")
// #pragma GCC optimization("O3")
// #pragma GCC optimization("unroll-loops")
// #pragma GCC target
// ("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma,tune=native") #pragma
// GCC optimize ("-... | /*
First solve the problem,then write the code.
Author-Manas Singh(@manassingh557)
*/
// #pragma GCC optimize ("Ofast")
// #pragma GCC optimization("O3")
// #pragma GCC optimization("unroll-loops")
// #pragma GCC target
// ("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma,tune=native") #pragma
// GCC optimize ("-... | [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add",
"expression.unary.arithmetic.add"
] | 1,449,727 | 1,449,728 | u738993574 | cpp |
p03827 | #include <bits/stdc++.h>
// #include<atcoder/all>
// using namespace atcoder;
#define rep(i, n) for (int i = 0; i < n; i++)
#define FOR(i, start, end) for (int i = start; i <= end; i++)
const int INF = 1001001001;
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define Sort(a) sort(a.begin(), a.e... | #include <bits/stdc++.h>
// #include<atcoder/all>
// using namespace atcoder;
#define rep(i, n) for (int i = 0; i < n; i++)
#define FOR(i, start, end) for (int i = start; i <= end; i++)
const int INF = 1001001001;
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define Sort(a) sort(a.begin(), a.e... | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,735 | 1,449,736 | u852862907 | cpp |
p03827 | #include <stdio.h>
int main() {
int n, x = 0;
int max = 0;
scanf("%d", &n);
char arr[n];
for (int i = 0; i < n; i++) {
scanf("%c", &arr[i]);
if (arr[i] == 'I') {
x++;
} else if (arr[i] == 'D') {
x--;
}
if (x >= max) {
max = x;
}
}
printf("%d", max);
return... | #include <stdio.h>
int main() {
int n, x = 0;
int max = 0;
scanf("%d", &n);
char arr[n];
for (int i = 0; i <= n; i++) {
scanf("%c", &arr[i]);
if (arr[i] == 'I') {
x++;
} else if (arr[i] == 'D') {
x--;
}
if (x >= max) {
max = x;
}
}
printf("%d", max);
retur... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,449,748 | 1,449,749 | u018679195 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
string S;
cin >> S;
int x = 0;
vector<int> b(N);
for (int i = 0; i < N; i++) {
if (S.at(i) == 'I') {
x++;
b.at(i) = x;
} else {
x--;
b.at(i) = x;
}
}
sort(b.begin(), b.end());
cout << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
string S;
cin >> S;
int x = 0;
vector<int> b(N);
for (int i = 0; i < N; i++) {
if (S.at(i) == 'I') {
x++;
b.at(i) = x;
} else {
x--;
b.at(i) = x;
}
}
sort(b.begin(), b.end());
cout << ... | [
"call.add",
"call.arguments.change"
] | 1,449,752 | 1,449,753 | u793154675 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, mx = 0, count = 0;
scanf("%d", &n);
char c[n];
scanf("%s", c);
for (int i = 0; i < n - 1; i++) {
if (c[i] == 'I') {
count++;
mx = max(count, mx);
}
else {
abs(--count);
}
}
printf("%d", mx);
return 0... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, mx = 0, count = 0;
scanf("%d", &n);
char c[n];
scanf("%s", c);
for (int i = 0; i < n; i++) {
if (c[i] == 'I') {
count++;
mx = max(count, mx);
}
else {
abs(count--);
}
}
printf("%d", mx);
return 0;
} | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"call.arguments.change"
] | 1,449,754 | 1,449,755 | u863370423 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, mx = 0, count = 0;
scanf("%d", &n);
char c[n];
scanf("%s", &c);
for (int i = 0; i < n - 1; i++) {
if (c[i] == 'I') {
count++;
mx = max(count, mx);
}
else {
count--;
}
}
printf("%d", mx);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, mx = 0, count = 0;
scanf("%d", &n);
char c[n];
scanf("%s", c);
for (int i = 0; i < n; i++) {
if (c[i] == 'I') {
count++;
mx = max(count, mx);
}
else {
abs(count--);
}
}
printf("%d", mx);
return 0;
} | [
"call.arguments.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"call.add"
] | 1,449,756 | 1,449,755 | u863370423 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef vector<int> vi;
typedef pair<int, int> pi;
#define txt \
freopen("ip.txt", "r", stdin); \
freopen("op.txt", "w", stdout)
#d... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef vector<int> vi;
typedef pair<int, int> pi;
#define txt \
freopen("ip.txt", "r", stdin); \
freopen("op.txt", "w", stdout)
#d... | [
"variable_declaration.value.change",
"identifier.replace.remove",
"literal.replace.add"
] | 1,449,759 | 1,449,760 | u919363199 | cpp |
p03827 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < n; i++)
... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < n; i++)
... | [
"assignment.change"
] | 1,449,763 | 1,449,764 | u332258971 | cpp |
p03827 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main(int argc, char const *argv[]) {
int N;
scanf("%d", &N);
string S;
cin >> S;
int x = 0;
int xMax = -110;
for (int i = 0; i < N; i++) {
if (S[i] == 'I')
x++;
else
x--;
xMax = m... | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main(int argc, char const *argv[]) {
int N;
scanf("%d", &N);
string S;
cin >> S;
int x = 0;
int xMax = 0;
for (int i = 0; i < N; i++) {
if (S[i] == 'I')
x++;
else
x--;
xMax = max(... | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,781 | 1,449,782 | u684448032 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define ar array
#define vt vector
#define pb push_back
#define all(c) (c).begin(), (c).end()
#define sz(x) (int)(x).size()
#define F_OR(i, a, b, s) \
for (int i = (a); (s) > 0 ? i < (b) : i > ... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define ar array
#define vt vector
#define pb push_back
#define all(c) (c).begin(), (c).end()
#define sz(x) (int)(x).size()
#define F_OR(i, a, b, s) \
for (int i = (a); (s) > 0 ? i < (b) : i > ... | [
"call.remove"
] | 1,449,785 | 1,449,786 | u141580535 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
string str;
cin >> n >> str;
int x = 0, ans = -100000;
for (int i = 0; i < n; i++) {
if (str[i] == 'I')
x++;
if (str[i] == 'D')
x--;
ans = max(x, ans);
}
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
string str;
cin >> n >> str;
int x = 0, ans = 0;
for (int i = 0; i < n; i++) {
if (str[i] == 'I')
x++;
if (str[i] == 'D')
x--;
ans = max(x, ans);
}
cout << ans << endl;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,787 | 1,449,788 | u147762850 | cpp |
p03827 | #include <iostream>
#include <string>
int main(int argc, char *argv[]) {
int n;
std::string s;
std::cin >> n >> s;
int x = 0, max = 0;
for (auto &c : s) {
if (c == 'I')
++x;
else
--x;
max = std::max(max, x);
}
std::cout << x << std::endl;
}
| #include <iostream>
#include <string>
int main(int argc, char *argv[]) {
int n;
std::string s;
std::cin >> n >> s;
int x = 0, max = 0;
for (auto &c : s) {
if (c == 'I')
++x;
else
--x;
max = std::max(max, x);
}
std::cout << max << std::endl;
}
| [
"identifier.change",
"expression.operation.binary.change"
] | 1,449,792 | 1,449,793 | u089888152 | cpp |
p03827 | #include <bits/stdc++.h>
int n;
std::string s;
int x = 0;
int ans = -200;
int main() {
std::cin >> n >> s;
for (int i = 0; i < n; i++) {
if (s[i] == 'I') {
x++;
} else {
x--;
}
ans = std::max(ans, x);
}
std::cout << ans << std::endl;
} | #include <bits/stdc++.h>
int n;
std::string s;
int x = 0;
int ans = 0;
int main() {
std::cin >> n >> s;
for (int i = 0; i < n; i++) {
if (s[i] == 'I') {
x++;
} else {
x--;
}
ans = std::max(ans, x);
}
std::cout << ans << std::endl;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,794 | 1,449,795 | u537538698 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string str;
int n;
cin >> n >> str;
int mx = INT_MIN;
int x = 0;
for (int i = 0; i < str.size(); i++) {
if (str[i] == 'I') {
x++;
mx = max(mx, x);
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string str;
int n;
cin >> n >> str;
int mx = INT_MIN;
int x = 0;
for (int i = 0; i < str.size(); i++) {
if (str[i] == 'I') {
x++;
mx = max(mx, x);
... | [
"call.add",
"call.arguments.add"
] | 1,449,798 | 1,449,799 | u868264278 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define IO \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define ll long long int
int main() {
// IO;
int n;
cin >> n;
stri... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define IO \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define ll long long int
int main() {
// IO;
int n;
cin >> n;
stri... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 1,449,802 | 1,449,803 | u839753058 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int x = 0;
int N;
string s;
cin >> N >> s;
vector<int> ans;
for (int i = 0; i < N; i++) {
if (s[i] == 'I') {
x++;
ans.push_back(x);
} else {
x--;
ans.push_back(x);
}
}
printf("%d\n", *... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int x = 0;
int N;
string s;
cin >> N >> s;
vector<int> ans = {0};
for (int i = 0; i < N; i++) {
if (s[i] == 'I') {
x++;
ans.push_back(x);
} else {
x--;
ans.push_back(x);
}
}
printf("%d... | [
"variable_declaration.value.change"
] | 1,449,820 | 1,449,821 | u960080897 | cpp |
p03827 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
string s;
cin >> s;
int x = 0;
int Max = -1;
for (int i = 0; i < s.size(); i++) {
if (s[i] == 'I')
x++;
else
x--;
Max = max(Max, x);
}
cout << Max << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
string s;
cin >> s;
int x = 0;
int Max = 0;
for (int i = 0; i < s.size(); i++) {
if (s[i] == 'I')
x++;
else
x--;
Max = max(Max, x);
}
cout << Max << endl;
return 0;
}
| [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,824 | 1,449,825 | u633728454 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
struct Fast {
Fast() {
cin.tie(0);
ios::sync_with_stdio(false);
cout << fixed << setprecision(20);
}
} fast;
long long mod = 1000000007;
#define REP(i, n) for (long long i = 0; i < (n); i++)
long long modpow(long long m, long long n) {
if (n == 0)
re... | #include <bits/stdc++.h>
using namespace std;
struct Fast {
Fast() {
cin.tie(0);
ios::sync_with_stdio(false);
cout << fixed << setprecision(20);
}
} fast;
long long mod = 1000000007;
#define REP(i, n) for (long long i = 0; i < (n); i++)
long long modpow(long long m, long long n) {
if (n == 0)
re... | [
"variable_declaration.value.change"
] | 1,449,849 | 1,449,850 | u687204015 | cpp |
p03827 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, state, n;
cin >> n;
string data;
cin >> data;
b = 0;
a = 0;
state = 0;
for (int i = 0; i < n; i++) {
if (data[i] == 'I')
a += 1;
else if (data[i] == 'D')
a -= 1;
... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, state, n;
cin >> n;
string data;
cin >> data;
b = 0;
a = 0;
state = 0;
for (int i = 0; i < n; i++) {
if (data[i] == 'I')
a += 1;
else if (data[i] == 'D')
a -= 1;
... | [
"identifier.change",
"io.output.change"
] | 1,449,854 | 1,449,855 | u875036292 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define f first
#define s second
#define go \
ios::sync_with_stdio(0); \
cin.tie(0); ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define f first
#define s second
#define go \
ios::sync_with_stdio(0); \
cin.tie(0); ... | [
"variable_declaration.value.change",
"identifier.replace.remove",
"literal.replace.add"
] | 1,449,856 | 1,449,857 | u554080150 | cpp |
p03827 | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
//#include <uno... | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
//#include <uno... | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,858 | 1,449,859 | u265377334 | cpp |
p03827 | #include <iostream>
using namespace std;
int main() {
int N;
int x = 0;
int max = 0;
char chr[100];
cin >> N >> chr;
for (int i = 0; i < N; i++) {
if (chr[i] == 'I') {
x++;
} else if (chr[i] == 'D') {
x--;
}
if (x > max) {
max = x;
}
}
cout << x << endl;
} | #include <iostream>
using namespace std;
int main() {
int N;
int x = 0;
int max = 0;
char chr[100];
cin >> N >> chr;
for (int i = 0; i < N; i++) {
if (chr[i] == 'I') {
x++;
} else if (chr[i] == 'D') {
x--;
}
if (x > max) {
max = x;
}
}
cout << max << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,449,862 | 1,449,863 | u895436428 | cpp |
p03827 | #include <cstdio>
#include <iostream>
using namespace std;
int n, ans, ans1 = -0x7fffff;
int main() {
cin >> n;
while (n--) {
char a;
cin >> a;
ans = (a == 'I' ? ans + 1 : ans - 1);
ans1 = max(ans1, ans);
}
cout << ans1 << '\n';
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int n, ans, ans1 = 0;
int main() {
cin >> n;
while (n--) {
char a;
cin >> a;
ans = (a == 'I' ? ans + 1 : ans - 1);
ans1 = max(ans1, ans);
}
cout << ans1 << '\n';
return 0;
} | [
"expression.operation.unary.arithmetic.remove"
] | 1,449,864 | 1,449,865 | u476418095 | cpp |
p03827 | #include <bits/stdc++.h>
using namespace std;
string st;
int da = -31020;
int he, n;
void ss(string st, int q) {
if (q > n - 1) {
cout << da << endl;
return;
}
if (st[q] == 'I')
he++;
else
he--;
da = max(da, he);
ss(st, q + 1);
}
int main() {
cin >> n >> st;
ss(st, 0);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
string st;
int da = 0;
int he, n;
void ss(string st, int q) {
if (q > n - 1) {
cout << da << endl;
return;
}
if (st[q] == 'I')
he++;
else
he--;
da = max(da, he);
ss(st, q + 1);
}
int main() {
cin >> n >> st;
ss(st, 0);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,866 | 1,449,867 | u247366051 | cpp |
p03827 | #include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
long long n, h, zd = -2100000000;
string st;
int main() {
cin >> n >> st;
for (int i = 0; i < st.size(); i++) {
if (st[i] == 'I')
h++;
else
h--;
if (h > zd)
zd = h;
}
cout << zd << en... | #include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
long long n, h, zd = 0;
string st;
int main() {
cin >> n >> st;
for (int i = 0; i < st.size(); i++) {
if (st[i] == 'I')
h++;
else
h--;
if (h > zd)
zd = h;
}
cout << zd << endl;
retu... | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,868 | 1,449,869 | u247366051 | cpp |
p03827 | // luogu-judger-enable-o2
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
int main() {
string s;
int n;
cin >> n;
cin >> s;
int ans = 0;
int maxn = -1e9;
for (int i = 0; i <= n - 1; i++) {
if (s[i] == 'I') {
ans++;
maxn = ... | // luogu-judger-enable-o2
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
int main() {
string s;
int n;
cin >> n;
cin >> s;
int ans = 0;
int maxn = 0;
for (int i = 0; i <= n - 1; i++) {
if (s[i] == 'I') {
ans++;
maxn = max... | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,449,871 | 1,449,872 | u247366051 | cpp |
p03827 | #include <algorithm>
#include <array>
#include <cmath>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <queue>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#define REP... | #include <algorithm>
#include <array>
#include <cmath>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <queue>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#define REP... | [
"expression.operation.binary.add"
] | 1,449,873 | 1,449,874 | u840713046 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.