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 |
|---|---|---|---|---|---|---|---|
p02633 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define mp make_pair
#define pb push_back
#define endl '\n'
#define PI 3.14159265
#define ff first
#define ss second
#define tab '\t'
#define deb cout << "error" << endl
#define uset unordered_set
#define mset multiset
#define umap unordered_map
#define... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define mp make_pair
#define pb push_back
#define endl '\n'
#define PI 3.14159265
#define ff first
#define ss second
#define tab '\t'
#define deb cout << "error" << endl
#define uset unordered_set
#define mset multiset
#define umap unordered_map
#define... | [
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.for.initializer.change",
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change"
] | 347,476 | 347,475 | u770051107 | cpp |
p02633 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int X;
cin >> X;
int g = __gcd(360, 180 - X);
int K = 360 / g;
cout << K << "\n";
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int X;
cin >> X;
int g = __gcd(360, X);
int K = 360 / g;
cout << K << "\n";
return 0;
} | [
"expression.operation.binary.remove"
] | 347,477 | 347,478 | u474774258 | cpp |
p02633 | #include <algorithm>
#include <bits/stdc++.h>
#define MIN(a, b) (a < b ? a : b)
#define MAX(a, b) (a > b ? a : b)
#define pi 3.14159265358979323846264338327950288419716939937510582097494459230
// BIT operation
#define SET_BIT (a, x)(a |= ((1 << x)))
#define CLEAR_BIT(a, x) (a &= (~(1 << x)))
#define IS_SET (a, x)((a >... | #include <algorithm>
#include <bits/stdc++.h>
#define MIN(a, b) (a < b ? a : b)
#define MAX(a, b) (a > b ? a : b)
#define pi 3.14159265358979323846264338327950288419716939937510582097494459230
// BIT operation
#define SET_BIT (a, x)(a |= ((1 << x)))
#define CLEAR_BIT(a, x) (a &= (~(1 << x)))
#define IS_SET (a, x)((a >... | [
"expression.operation.binary.add"
] | 347,479 | 347,480 | u769880428 | cpp |
p02633 | #include <bits/stdc++.h>
#include <iostream>
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
#define ll long long
#define li long int
#define pp pair<int, int>
#define lb lower_bound
#define... | #include <bits/stdc++.h>
#include <iostream>
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
#define ll long long
#define li long int
#define pp pair<int, int>
#define lb lower_bound
#define... | [
"identifier.replace.remove",
"literal.replace.add",
"io.output.change"
] | 347,493 | 347,494 | u561297507 | cpp |
p02633 | #include <bits/stdc++.h>
#include <iostream>
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
#define ll long long
#define li long int
#define pp pair<int, int>
#define lb lower_bound
#define... | #include <bits/stdc++.h>
#include <iostream>
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
#define ll long long
#define li long int
#define pp pair<int, int>
#define lb lower_bound
#define... | [
"identifier.replace.remove",
"literal.replace.add",
"io.output.change"
] | 347,495 | 347,494 | u561297507 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
cout << (360 / x) << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
cout << (360 / __gcd(360, x)) << endl;
return 0;
}
| [
"call.add",
"call.arguments.change"
] | 347,497 | 347,498 | u237839412 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X;
cin >> X;
for (int i = 1; i < 360; i++) {
if (X * i % 360 == 0) {
cout << i << endl;
break;
}
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int X;
cin >> X;
for (int i = 1; i < 361; i++) {
if (X * i % 360 == 0) {
cout << i << endl;
break;
}
}
}
| [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 347,501 | 347,502 | u991713078 | cpp |
p02633 | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
int i = 0;
while ((360 * i) % x != 0) {
i++;
}
cout << (360 * i) / x;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
int i = 1;
while ((360 * i) % x != 0) {
i++;
}
cout << (360 * i) / x;
return 0;
}
| [
"literal.number.change",
"variable_declaration.value.change"
] | 347,505 | 347,506 | u299702524 | cpp |
p02633 | #include <iostream>
using namespace std;
int main() {
int n;
int sum = 0;
int cnt = 0;
while (sum == 0 || sum % 360 != 0) {
sum += n;
cnt++;
}
cout << cnt << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int sum = 0;
int cnt = 0;
while (sum == 0 || sum % 360 != 0) {
sum += n;
cnt++;
}
cout << cnt << endl;
return 0;
}
| [] | 347,507 | 347,508 | u509420256 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll x;
cin >> x;
cout << lcm(x, 360) / gcd(360, x) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll x;
cin >> x;
cout << lcm(x, 360) / x << endl;
}
| [
"call.remove",
"call.arguments.change"
] | 347,509 | 347,510 | u962609087 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll x;
cin >> x;
cout << lcm(x, 360) << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll x;
cin >> x;
cout << lcm(x, 360) / x << endl;
}
| [
"expression.operation.binary.add"
] | 347,511 | 347,510 | u962609087 | cpp |
p02633 | #include <bits/stdc++.h>
#define endl '\n'
#define pb push_back
#define mp make_pair
#define LL long long
#define INF 0x3f3f3f3f
#define Inf 100000000000000000 0LL
#define F first
#define S second
using namespace std;
typedef pair<int, int> pii;
int x;
int main() {
cin >> x;
int t = __gcd(x, 360);
// if(t==x)cout... | #include <bits/stdc++.h>
#define endl '\n'
#define pb push_back
#define mp make_pair
#define LL long long
#define INF 0x3f3f3f3f
#define Inf 100000000000000000 0LL
#define F first
#define S second
using namespace std;
typedef pair<int, int> pii;
int x;
int main() {
cin >> x;
int t = __gcd(x, 360);
cout << 360 / t... | [
"expression.operation.binary.remove"
] | 347,521 | 347,522 | u452379143 | cpp |
p02633 | #include <bits/stdc++.h>
#define fast \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0)
using namespace std;
const int N = 1e... | #include <bits/stdc++.h>
#define fast \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0)
using namespace std;
const int N = 1e... | [
"call.add",
"call.arguments.change"
] | 347,523 | 347,524 | u570356667 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
int k = 0;
while ((x * k) % 360 != 0)
k++;
cout << k << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
int k = 1;
while ((x * k) % 360 != 0)
k++;
cout << k << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 347,527 | 347,528 | u874212030 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
int k = 0;
while (x * k % 360 != 0)
k++;
cout << k << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
int k = 1;
while ((x * k) % 360 != 0)
k++;
cout << k << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.condition.change"
] | 347,529 | 347,528 | u874212030 | cpp |
p02633 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define ll long long
using namespace std;
// typedef vector<unsigned int>vec;
// typedef vector<ll>vec;
// typedef vector<vec> mat;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
const int dx[8] = {1, 0, -1, 0, 1, -1, -1, 1};
const int dy[8] = {... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define ll long long
using namespace std;
// typedef vector<unsigned int>vec;
// typedef vector<ll>vec;
// typedef vector<vec> mat;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
const int dx[8] = {1, 0, -1, 0, 1, -1, -1, 1};
const int dy[8] = {... | [
"call.remove",
"call.arguments.change"
] | 347,530 | 347,531 | u493750228 | cpp |
p02633 | #ifdef LOCAL
#define _GLIBCXX_DEBUG
#define __clock__
#else
#pragma GCC optimize("Ofast")
#endif
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using VI = vector<ll>;
using VV = vector<VI>;
using VS = vector<string>;
using PII = pair<ll, ll>;
// tourist set
template <typena... | #ifdef LOCAL
#define _GLIBCXX_DEBUG
#define __clock__
#else
#pragma GCC optimize("Ofast")
#endif
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using VI = vector<ll>;
using VV = vector<VI>;
using VS = vector<string>;
using PII = pair<ll, ll>;
// tourist set
template <typena... | [
"identifier.change",
"call.function.change",
"call.add"
] | 347,532 | 347,533 | u432688695 | cpp |
p02633 | #include <algorithm> //sort,reverse
#include <deque> //double_ended queue
#include <iostream>
#include <map> //map
#include <queue> //queue,priority_queue
#include <string>
#include <utility> //pair
#include <vector>
using namespace std;
typedef long long LL;
typedef pair<LL, LL> P; // Pでpair<-,->を表す。
const LL MA... | #include <algorithm> //sort,reverse
#include <deque> //double_ended queue
#include <iostream>
#include <map> //map
#include <queue> //queue,priority_queue
#include <string>
#include <utility> //pair
#include <vector>
using namespace std;
typedef long long LL;
typedef pair<LL, LL> P; // Pでpair<-,->を表す。
const LL MA... | [] | 347,542 | 347,543 | u992779443 | cpp |
p02633 | #include <bits/stdc++.h>
#include <cmath>
using namespace std;
int gcd(int a, int b) {
if (a % b == 0) {
return (b);
} else {
return (gcd(b, a % b));
}
}
int lcm(int a, int b) { return a * b / gcd(a, b); }
int main() {
int X;
cin >> X;
if (360 % X == 0)
cout << 360 / X;
else
cout << lcm... | #include <bits/stdc++.h>
#include <cmath>
using namespace std;
int gcd(int a, int b) {
if (a % b == 0) {
return (b);
} else {
return (gcd(b, a % b));
}
}
int lcm(int a, int b) { return a * b / gcd(a, b); }
int main() {
int X;
cin >> X;
if (360 % X == 0)
cout << 360 / X;
else
cout << lcm... | [
"expression.operation.binary.add"
] | 347,552 | 347,553 | u125669112 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
typedef long long int ll;
ll gcd(ll a, ll b) {
if (b == 0) {
return a;
} else {
return gcd(b, a % b);
}
}
ll lcm(ll a, ll b) { return (a * b) / gcd(a, b); }
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
ll x;
cin >> x;
... | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
typedef long long int ll;
ll gcd(ll a, ll b) {
if (b == 0) {
return a;
} else {
return gcd(b, a % b);
}
}
ll lcm(ll a, ll b) { return (a * b) / gcd(a, b); }
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
ll x;
cin >> x;
... | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 347,554 | 347,555 | u155344619 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rept(i, k, n) for (ll i = (k); i < (ll)(n); i++)
#define all(v) v.begin(), v.end()
#define Sort(v) sort(v.begin(), v.end())
#define Reverse(v) reverse(v.begin(), v.end())
typedef long long ll;
typedef pair<int, int... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rept(i, k, n) for (ll i = (k); i < (ll)(n); i++)
#define all(v) v.begin(), v.end()
#define Sort(v) sort(v.begin(), v.end())
#define Reverse(v) reverse(v.begin(), v.end())
typedef long long ll;
typedef pair<int, int... | [
"call.remove",
"call.arguments.change"
] | 347,557 | 347,558 | u342813305 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int, int> ii;
#define sz(a) int((a).size())
#define pb push_back
#define all(c) (c).begin(), (c).end()
#define tr(c, i) for(typeof((c).begin() i = (c).begin(); i != (c).end(); i++)
#define pre... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int, int> ii;
#define sz(a) int((a).size())
#define pb push_back
#define all(c) (c).begin(), (c).end()
#define tr(c, i) for(typeof((c).begin() i = (c).begin(); i != (c).end(); i++)
#define pre... | [
"identifier.change",
"call.function.change",
"literal.number.change",
"call.arguments.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change",
"io.output.change"
] | 347,564 | 347,565 | u027939719 | cpp |
p02633 | #include <iostream>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
int deg = 180 - n;
int cnt = 0;
int curdeg = 0;
while (1) {
curdeg += deg;
cnt++;
if (curdeg % 360 == 0)
break;
curdeg %= 360;
}
cout << cnt;
return 0;
} | #include <iostream>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
// for (n = 1; n <= 179; n++)
//{
int deg = n;
int cnt = 0;
int curdeg = 0;
while (1) {
curdeg += deg;
cnt++;
if (curdeg % 360 == 0)
break;
curdeg %= 360;
}
//}
cout << cnt;
return 0... | [
"expression.operation.binary.remove"
] | 347,569 | 347,570 | u412388056 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define sz(x) int(x.size())
#define pb push_back
#define eb emplace_back
using ll = long long;
using P = pair<int, int>;
#define chmax(x, y) x = max(x, y)
#define chmin(x, y) x = min(x, y)
const ll MOD = 1000000007, MOD2 = 998... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define sz(x) int(x.size())
#define pb push_back
#define eb emplace_back
using ll = long long;
using P = pair<int, int>;
#define chmax(x, y) x = max(x, y)
#define chmin(x, y) x = min(x, y)
const ll MOD = 1000000007, MOD2 = 998... | [] | 347,588 | 347,589 | u387221709 | cpp |
p02633 | #include <bits/stdc++.h>
#define rep(i, n) for (long long int i = 0; i < n; i++)
#define _rep(i, m, n) for (long long int i = m; i < n; i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
const int MAX_N = 100010;
const ll mod = 1000000007;
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1,... | #include <bits/stdc++.h>
#define rep(i, n) for (long long int i = 0; i < n; i++)
#define _rep(i, m, n) for (long long int i = m; i < n; i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
const int MAX_N = 100010;
const ll mod = 1000000007;
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1,... | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change"
] | 347,600 | 347,601 | u999788719 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define uli unsigned long long int
#define rep(i, m, n) for (lli i = m; i < (n); i++)
#define repe(i, m, n) for (lli i = m; i <= (n); i++)
#define ALL(x) (x).begin(), (x).end()
#define SIZE(x) ((lli)(x).size())
#define MAX(x) *max_element(ALL(x))
#... | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define uli unsigned long long int
#define rep(i, m, n) for (lli i = m; i < (n); i++)
#define repe(i, m, n) for (lli i = m; i <= (n); i++)
#define ALL(x) (x).begin(), (x).end()
#define SIZE(x) ((lli)(x).size())
#define MAX(x) *max_element(ALL(x))
#... | [
"literal.number.change",
"assignment.value.change",
"call.arguments.change"
] | 347,604 | 347,605 | u363892646 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define uli unsigned long long int
#define rep(i, m, n) for (lli i = m; i < (n); i++)
#define repe(i, m, n) for (lli i = m; i <= (n); i++)
#define ALL(x) (x).begin(), (x).end()
#define SIZE(x) ((lli)(x).size())
#define MAX(x) *max_element(ALL(x))
#... | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define uli unsigned long long int
#define rep(i, m, n) for (lli i = m; i < (n); i++)
#define repe(i, m, n) for (lli i = m; i <= (n); i++)
#define ALL(x) (x).begin(), (x).end()
#define SIZE(x) ((lli)(x).size())
#define MAX(x) *max_element(ALL(x))
#... | [
"expression.operation.binary.add"
] | 347,606 | 347,605 | u363892646 | cpp |
p02633 | // #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define rep(i, n) for (int i = 0; i < n; ++i)
#define REP(i, n) for (int i = 0; i < n; ++i)
#define range(i, a, b) ((a) <= (i) && (i) < (b))
#defi... | // #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define rep(i, n) for (int i = 0; i < n; ++i)
#define REP(i, n) for (int i = 0; i < n; ++i)
#define range(i, a, b) ((a) <= (i) && (i) < (b))
#defi... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change"
] | 347,607 | 347,608 | u521723672 | cpp |
p02633 | /*
Name:
Author: xiaruize
Date:
*/
#pragma GCC optimize(2)
#include <bits/stdc++.h>
using namespace std;
#define ull unsigned long long
#define MOD 1000000007
#define ALL(a) (a).begin(), (a).end()
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define ll long long
#define form(i, j, n) for ... | /*
Name:
Author: xiaruize
Date:
*/
#pragma GCC optimize(2)
#include <bits/stdc++.h>
using namespace std;
#define ull unsigned long long
#define MOD 1000000007
#define ALL(a) (a).begin(), (a).end()
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define ll long long
#define form(i, j, n) for ... | [
"call.add",
"call.arguments.change"
] | 347,615 | 347,616 | u708620896 | cpp |
p02633 | #include <bits/stdc++.h>
#define fr(i, n) for (int i = 0; i < (n); ++i)
#define foor(i, a, b) for (int i = (a); i <= (b); ++i)
#define rf(i, n) for (int i = (n); i-- > 0;)
#define roof(i, b, a) for (int i = (b); i >= (a); --i)
#define elsif else if
#define all(x) x.begin(), x.end()
#define Sort(x) sort(all(x))
#define ... | #include <bits/stdc++.h>
#define fr(i, n) for (int i = 0; i < (n); ++i)
#define foor(i, a, b) for (int i = (a); i <= (b); ++i)
#define rf(i, n) for (int i = (n); i-- > 0;)
#define roof(i, b, a) for (int i = (b); i >= (a); --i)
#define elsif else if
#define all(x) x.begin(), x.end()
#define Sort(x) sort(all(x))
#define ... | [
"expression.operation.binary.remove"
] | 347,619 | 347,620 | u283869437 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
void __print(int x) { cout << x; }
void __print(long x) { cout << x; }
void __print(long long x) { cout << x; }
void __print(unsigned x) { cout << x; }
void __print(unsigned long x) { cout << x; }
void __print(unsigned long long x) { cout << x; }
void __print(float x) { cou... | #include <bits/stdc++.h>
using namespace std;
void __print(int x) { cout << x; }
void __print(long x) { cout << x; }
void __print(long long x) { cout << x; }
void __print(unsigned x) { cout << x; }
void __print(unsigned long x) { cout << x; }
void __print(unsigned long long x) { cout << x; }
void __print(float x) { cou... | [
"call.remove"
] | 347,629 | 347,630 | u942759153 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int X;
cin >> X;
long long K;
long long sum = 0;
while (1) {
K++;
sum += X;
if (sum % 360 == 0)
break;
}
cout << K << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
int X;
cin >> X;
long long K = 0;
long long sum = 0;
while (1) {
K++;
sum += X;
if (sum % 360 == 0)
break;
}
cout << K << endl;
return 0;
}
| [
"variable_declaration.value.change"
] | 347,634 | 347,635 | u150155436 | cpp |
p02633 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <set>
#include <vector>
using namespace std;
typedef long long int ll;
int gcd(int x, int y) {
if (y == 0)
return x;
return gcd(y, x % y);
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int x... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <set>
#include <vector>
using namespace std;
typedef long long int ll;
int gcd(int x, int y) {
if (y == 0)
return x;
return gcd(y, x % y);
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int x... | [] | 347,636 | 347,637 | u580655422 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
int main() {
int x;
cin >> x;
cout << x * 360 / gcd(x, 360) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
int main() {
int x;
cin >> x;
cout << 360 / gcd(x, 360) << endl;
return 0;
} | [
"expression.operation.binary.remove"
] | 347,647 | 347,648 | u007789844 | cpp |
p02633 | // // --------------------<optimizations>--------------------
// #pragma GCC optimize("O3")
// //(UNCOMMENT WHEN HAVING LOTS OF RECURSIONS)
// #pragma comment(linker, "/stack:200000000")
// //(UNCOMMENT WHEN TRYING TO BRUTEFORCE WITH A LOT OF LOOPS)
// #pragma GCC optimize("unroll-loops")
// -------------------</optim... | // // --------------------<optimizations>--------------------
// #pragma GCC optimize("O3")
// //(UNCOMMENT WHEN HAVING LOTS OF RECURSIONS)
// #pragma comment(linker, "/stack:200000000")
// //(UNCOMMENT WHEN TRYING TO BRUTEFORCE WITH A LOT OF LOOPS)
// #pragma GCC optimize("unroll-loops")
// -------------------</optim... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 347,649 | 347,650 | u974690209 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double db;
#define fast_io() \
ios_base ::sync_with_stdio(0); \
cin.tie(0); ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double db;
#define fast_io() \
ios_base ::sync_with_stdio(0); \
cin.tie(0); ... | [
"identifier.replace.remove",
"literal.replace.add",
"io.output.change"
] | 347,655 | 347,656 | u402156384 | cpp |
p02633 | #include <bits/stdc++.h>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
/*---------------------DEBUGGING--------------------------------------------*/
void __print(int x) { c... | #include <bits/stdc++.h>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
/*---------------------DEBUGGING--------------------------------------------*/
void __print(int x) { c... | [
"literal.number.change",
"call.arguments.change"
] | 347,661 | 347,662 | u780428208 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int lcm(int a, int b) { return (a * b) / __gcd(a, b); }
int main() {
int n;
cin >> n;
if (360 % n == 0)
cout << 360 / n << '\n';
else
cout << lcm(360, n) / 360 << '\n';
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int lcm(int a, int b) { return (a * b) / __gcd(a, b); }
int main() {
int n;
cin >> n;
if (360 % n == 0)
cout << 360 / n << '\n';
else
cout << lcm(360, n) / n << '\n';
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change"
] | 347,669 | 347,670 | u543921019 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
int y = 360;
while (true) {
if (y % x == 0) {
cout << y / x << endl;
return 0;
}
y += 360;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
int y = 360;
while (true) {
if (y % x == 0) {
cout << y / x << endl;
return 0;
}
y += 360;
}
}
| [] | 347,673 | 347,674 | u615662061 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define llu unsigned long long int
#define sa(a, n, t) \
for (int ii = 0; ii < n; ii++) \
scanf("%" #t "", &(a)[ii])
#define rep(i, n) for ... | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define llu unsigned long long int
#define sa(a, n, t) \
for (int ii = 0; ii < n; ii++) \
scanf("%" #t "", &(a)[ii])
#define rep(i, n) for ... | [
"expression.operation.binary.add"
] | 347,681 | 347,682 | u895052567 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define ll \
long long // data types used often, but you don't want to type them time by
// time
#define ull unsigned long long
#define ui unsigned int
#define mod 1000000007
#define inf 1000... | #include <bits/stdc++.h>
using namespace std;
#define ll \
long long // data types used often, but you don't want to type them time by
// time
#define ull unsigned long long
#define ui unsigned int
#define mod 1000000007
#define inf 1000... | [
"identifier.replace.remove",
"literal.replace.add",
"io.output.change"
] | 347,685 | 347,686 | u571086530 | cpp |
p02633 | #include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#incl... | #include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#incl... | [] | 347,687 | 347,688 | u207948013 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
#define fo(a, b) for (int a = 0; a < b; a++)
#define Sort(a) sort(a.begin(), a.end())
#define rev(a) reverse(a.begin(), a.end())
#define fi first
#define se second
#define sz size()
#define bgn begin()
#define en end()
#defin... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
#define fo(a, b) for (int a = 0; a < b; a++)
#define Sort(a) sort(a.begin(), a.end())
#define rev(a) reverse(a.begin(), a.end())
#define fi first
#define se second
#define sz size()
#define bgn begin()
#define en end()
#defin... | [
"identifier.replace.remove",
"literal.replace.add",
"io.output.change"
] | 347,691 | 347,692 | u322177979 | cpp |
p02633 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define srep(i, n, m) for (int i = n; i < m; i++)
#define... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define srep(i, n, m) for (int i = n; i < m; i++)
#define... | [
"identifier.replace.remove",
"literal.replace.add",
"io.output.change"
] | 347,695 | 347,696 | u835937527 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using uint = unsigned int;
using ull = unsigned long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
/* [💭] [💡] [🎈] */
using namespace std;
int main() {
cin.tie(nullptr);
cout.tie(nullptr);
ios_base::syn... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using uint = unsigned int;
using ull = unsigned long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
/* [💭] [💡] [🎈] */
using namespace std;
int main() {
cin.tie(nullptr);
cout.tie(nullptr);
ios_base::syn... | [
"literal.number.change",
"control_flow.loop.condition.change"
] | 347,697 | 347,698 | u953074801 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (360 % x == 0)
cout << 360 % x << '\n';
else {
long long a = 360;
while (a % x != 0) {
a += 360;
}
cout << a % x << '\n';
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (360 % x == 0)
cout << 360 / x << '\n';
else {
long long a = 360;
while (a % x != 0) {
a += 360;
}
cout << a / x << '\n';
}
} | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 347,699 | 347,700 | u012781202 | cpp |
p02633 | /************************************************
Start coding only after you have clear idea.
*************************************************/
#include <bits/stdc++.h>
#define x first
#define y second
#define pii pair<int, int>
#define sz(x) (int)(x).size()
#define all(x) (x).begin(), (x).end()
using namespace ... | /************************************************
Start coding only after you have clear idea.
*************************************************/
#include <bits/stdc++.h>
#define x first
#define y second
#define pii pair<int, int>
#define sz(x) (int)(x).size()
#define all(x) (x).begin(), (x).end()
using namespace ... | [
"expression.operation.binary.remove"
] | 347,701 | 347,702 | u593546783 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
using int64 = long long;
const int mod = 1e9 + 7;
#define PI 3.141592653589793
int A, B, C, D;
long long N;
int main() {
long long T;
long long a = 360, b, x, r, ans;
cin >> T;
b = T;
if (360 % T == 0)
T = 360 / T;
else {
r = a % b;
x = a * b;
... | #include <bits/stdc++.h>
using namespace std;
using int64 = long long;
const int mod = 1e9 + 7;
#define PI 3.141592653589793
int A, B, C, D;
long long N;
int main() {
long long T;
long long a = 360, b, x, r, ans;
cin >> T;
b = T;
if (360 % T == 0)
T = 360 / T;
else {
r = a % b;
x = a * b;
... | [
"assignment.add",
"identifier.change",
"io.output.change"
] | 347,703 | 347,704 | u935620673 | cpp |
p02633 |
// author-Shivam gupta
#include <bits/stdc++.h>
using namespace std;
#define MEM(a, b) memset(a, (b), sizeof(a))
#define FOREACH(it, l) for (auto it = l.begin(); it != l.end(); it++)
#define IN(A, B, C) assert(B <= A && A <= C)
#define MP make_pair
#define FOR(i, a) for (int i = 0; i < a; i++)
#define FOR1(i, j... |
// author-Shivam gupta
#include <bits/stdc++.h>
using namespace std;
#define MEM(a, b) memset(a, (b), sizeof(a))
#define FOREACH(it, l) for (auto it = l.begin(); it != l.end(); it++)
#define IN(A, B, C) assert(B <= A && A <= C)
#define MP make_pair
#define FOR(i, a) for (int i = 0; i < a; i++)
#define FOR1(i, j... | [
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 347,705 | 347,706 | u237380963 | cpp |
p02633 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int k;
for (int i = 1; i <= 360; i++) {
if ((i * n) % 360 == 0) {
k = i;
}
}
cout << k;
return 0;
}
| #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int k = 0;
// n=min(n,(180-n));
for (int i = 1; i <= 360; i++) {
if ((i * n) % 360 == 0) {
k = i;
break;
}
}
cout << k;
return 0;
}
| [
"variable_declaration.value.change"
] | 347,707 | 347,708 | u209981906 | cpp |
p02633 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#inc... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#inc... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.branch.if.condition.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 347,713 | 347,714 | u391331433 | cpp |
p02633 | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define REP(a, b) for (int a = 0; a < (b); ++a)
#define REP1(i, n) for (int i = 1; i <= (n); ++i)
#define debug(x) cerr << #x << ": " << x << '\n'
#define all(x) (x).begin(), (x).end()
#define YES() printf("YES\n")
#define NO() printf("NO\n")
... | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define REP(a, b) for (int a = 0; a < (b); ++a)
#define REP1(i, n) for (int i = 1; i <= (n); ++i)
#define debug(x) cerr << #x << ": " << x << '\n'
#define all(x) (x).begin(), (x).end()
#define YES() printf("YES\n")
#define NO() printf("NO\n")
... | [] | 347,715 | 347,716 | u311671153 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, l, r) for (long long i = (l); i < (r); ++i)
#define REP(i, n) FOR(i, 0, n)
#define REPS(i, n) FOR(i, 1, n + 1)
#define RFOR(i, l, r) for (long long i = (l); i >= (r); --i)
#define RREP(i, n) RFOR(i, n - 1, 0)
#define RREPS(i, n) RFOR(i, n, 1)
#define int long... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, l, r) for (long long i = (l); i < (r); ++i)
#define REP(i, n) FOR(i, 0, n)
#define REPS(i, n) FOR(i, 1, n + 1)
#define RFOR(i, l, r) for (long long i = (l); i >= (r); --i)
#define RREP(i, n) RFOR(i, n - 1, 0)
#define RREPS(i, n) RFOR(i, n, 1)
#define int long... | [
"call.add",
"call.arguments.add"
] | 347,717 | 347,718 | u342075214 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, A;
int counter = 1;
cin >> X;
int K = 360 / X;
if (360 % X == 0)
cout << K << endl;
else {
while (true) {
counter++;
if ((counter * 360) % X == 0) {
cout << counter * K << endl;
break;
}
}
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int X, A;
int counter = 1;
cin >> X;
int K = 360 / X;
if (360 % X == 0)
cout << K << endl;
else {
while (true) {
counter++;
if ((counter * 360) % X == 0) {
cout << (counter * 360) / X << endl;
break;
}
}... | [
"identifier.replace.remove",
"literal.replace.add",
"io.output.change"
] | 347,726 | 347,727 | u643274271 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (360 % x == 0) {
cout << 360 / x << endl;
return 0;
}
int counter = 1;
while (true) {
if (360 * counter % x == 0) {
cout << 360 * counter % x;
return 0;
}
counter++;
}
return -1;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (360 % x == 0) {
cout << 360 / x << endl;
return 0;
}
int counter = 1;
while (true) {
if ((360 * counter) % x == 0) {
cout << 360 * counter / x;
return 0;
}
counter++;
}
return -1;
}
| [
"control_flow.branch.if.condition.change",
"expression.operator.arithmetic.change",
"io.output.change"
] | 347,728 | 347,729 | u879061822 | cpp |
p02633 | #include <bits/stdc++.h>
#define fi first
#define se second
using namespace std;
typedef long long ui;
int x;
int exgcd(int a, int b, int &x, int &y) {
if (b == 0) {
x = 1;
y = 0;
return a;
}
int res = exgcd(b, a % b, x, y);
int t = x;
x = y;
y = t - a / b * y;
return res;
}
int main() {... | #include <bits/stdc++.h>
#define fi first
#define se second
using namespace std;
typedef long long ui;
int x;
int exgcd(int a, int b, int &x, int &y) {
if (b == 0) {
x = 1;
y = 0;
return a;
}
int res = exgcd(b, a % b, x, y);
int t = x;
x = y;
y = t - a / b * y;
return res;
}
int main() {... | [
"expression.operation.binary.remove"
] | 347,753 | 347,754 | u548358160 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ll long long
#define REP(i, a, b) for (ll i = a; i < b; i++)
#define REPI(i, a, b) for (ll i = b - 1; i >= a; i--)
#define i_os ... | #include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ll long long
#define REP(i, a, b) for (ll i = a; i < b; i++)
#define REPI(i, a, b) for (ll i = b - 1; i >= a; i--)
#define i_os ... | [
"call.add",
"call.arguments.add"
] | 347,757 | 347,758 | u785364941 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
cout << 360 / x;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
cout << 360 / __gcd(360, x);
} | [
"call.add",
"call.arguments.change"
] | 347,759 | 347,760 | u881909587 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
cout << 360 / __gcd(360, 180 - x);
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
cout << 360 / __gcd(360, x);
} | [
"expression.operation.binary.remove"
] | 347,761 | 347,760 | u881909587 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define mod 1000000007
#define pb(a) push_back(a)
#define pi pair<int, int>
#define f first
#define s second
#define endl "\n"
void solve() {
int x;
cin >> x;
int k = 1;
int p = 360;
while (p % 360) {
p += 360;
}
cout << p / x << e... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define mod 1000000007
#define pb(a) push_back(a)
#define pi pair<int, int>
#define f first
#define s second
#define endl "\n"
void solve() {
int x;
cin >> x;
int k = 1;
int p = 360;
while (p % x) {
p += 360;
}
cout << p / x << end... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.condition.change"
] | 347,762 | 347,763 | u850985798 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int x;
cin >> x;
if (360 % x == 0)
cout << 360 / x << endl;
else {
rep(i, x) {
if (360 * (i + 1) % x == 0) {
cout << 360 * (i + 1) / x << endl;
}
}
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int x;
cin >> x;
if (360 % x == 0)
cout << 360 / x << endl;
else {
rep(i, x) {
if (360 * (i + 1) % x == 0) {
cout << 360 * (i + 1) / x << endl;
break;
... | [
"control_flow.break.add"
] | 347,764 | 347,765 | u711193305 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
int main() {
bool backFlg = false;
int countY = 0;
int inputX;
cin >> inputX;
while (!backFlg) {
countY++;
if (countY * 180 % inputX == 0) {
backFlg = true;
}
}
cout << countY * 180 / inputX << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
bool backFlg = false;
int countY = 0;
int inputX;
cin >> inputX;
while (!backFlg) {
countY++;
if (countY * 360 % inputX == 0) {
backFlg = true;
}
}
cout << countY * 360 / inputX << endl;
} | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 347,774 | 347,775 | u244837630 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define all(x) x.begin(), x.end()
#define rep(i, j, n) for (long long i = j; i < (long long)(n); i++)
#define _GLIBCXX_DEBUG
#define MOD 100... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define all(x) x.begin(), x.end()
#define rep(i, j, n) for (long long i = j; i < (long long)(n); i++)
#define _GLIBCXX_DEBUG
#define MOD 100... | [
"call.remove",
"call.arguments.change"
] | 347,780 | 347,781 | u164181205 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define all(x) x.begin(), x.end()
#define rep(i, j, n) for (long long i = j; i < (long long)(n); i++)
#define _GLIBCXX_DEBUG
#define MOD 100... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define all(x) x.begin(), x.end()
#define rep(i, j, n) for (long long i = j; i < (long long)(n); i++)
#define _GLIBCXX_DEBUG
#define MOD 100... | [
"expression.operation.binary.add"
] | 347,782 | 347,781 | u164181205 | cpp |
p02633 | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
#define initdp(a, b) \
for (int i = 0; i <= a; i++) ... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
#define initdp(a, b) \
for (int i = 0; i <= a; i++) ... | [
"identifier.change",
"expression.operation.binary.change"
] | 347,783 | 347,784 | u323491962 | cpp |
p02633 | #include <bits/stdc++.h>
#define rep(i, m) for (long long i = 0; i < m; i++)
#define per(i, m) for (long long i = m - 1; i >= 0; i--)
#define FOR(i, n, m) for (long long i = n; i < m; i++)
#define ROF(i, n, m) for (long long i = m - 1; i >= n; i--)
#define SORT(v, n) ... | #include <bits/stdc++.h>
#define rep(i, m) for (long long i = 0; i < m; i++)
#define per(i, m) for (long long i = m - 1; i >= 0; i--)
#define FOR(i, n, m) for (long long i = n; i < m; i++)
#define ROF(i, n, m) for (long long i = m - 1; i >= n; i--)
#define SORT(v, n) ... | [] | 347,789 | 347,790 | u107995903 | cpp |
p02633 | #include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
typedef pair<ll, ll> P;
typedef vector<P> vp;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define dre... | #include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
typedef pair<ll, ll> P;
typedef vector<P> vp;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define dre... | [] | 347,791 | 347,792 | u476488060 | cpp |
p02633 | #include "bits/stdc++.h"
#define ALL(x) x.begin(), x.end()
#define rep(i, n) for (ll i = 0; i < n; ++i)
#define END(x) (*(x.end() - 1))
using namespace std;
typedef long long ll;
template <typename T> T gcd(T a, T b) {
if (a % b == 0) {
return (b);
} else {
return (gcd(b, a % b));
}
}
template <typenam... | #include "bits/stdc++.h"
#define ALL(x) x.begin(), x.end()
#define rep(i, n) for (ll i = 0; i < n; ++i)
#define END(x) (*(x.end() - 1))
using namespace std;
typedef long long ll;
template <typename T> T gcd(T a, T b) {
if (a % b == 0) {
return (b);
} else {
return (gcd(b, a % b));
}
}
template <typenam... | [
"expression.operator.arithmetic.change",
"function.return_value.change",
"expression.operation.binary.change",
"call.arguments.change",
"call.arguments.add"
] | 347,795 | 347,796 | u517197973 | cpp |
p02633 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
using ll = long long;
using ld = long double;
#define mp make_pair
typedef tree<pair<int, int>, null_type, less<pair<int, int>>, rb_tree_tag,
tree_orde... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
using ll = long long;
using ld = long double;
#define mp make_pair
typedef tree<pair<int, int>, null_type, less<pair<int, int>>, rb_tree_tag,
tree_orde... | [] | 347,804 | 347,805 | u512127044 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
ll x;
int main(void) {
cin >> x;
for (int i = 1; i <= 10000000; i++) {
if (x * i % 180 == 0) {
cout << i << endl;
return 0;
}
}
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
ll x;
int main(void) {
cin >> x;
for (int i = 1; i <= 10000000; i++) {
if (x * i % 360 == 0) {
cout << i << endl;
return 0;
}
}
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 347,806 | 347,807 | u045547337 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define RFOR(i, b, a) for (int i = (b)-1; i >= (a); i--)
#define ITER(it, a) \
for (__typeof(a.begin()) it = a.begin(); it != a.end(); it++)
#define FILL(a, va... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define RFOR(i, b, a) for (int i = (b)-1; i >= (a); i--)
#define ITER(it, a) \
for (__typeof(a.begin()) it = a.begin(); it != a.end(); it++)
#define FILL(a, va... | [] | 347,814 | 347,815 | u363996786 | cpp |
p02633 | #include <bits/stdc++.h>
#define lol long long
#define gcd(x, y) __gcd(x, y)
#define mt make_tuple
#define mp make_pair
#define fi first
#define se second
#define fixed fixed << setprecision(14)
using namespace std;
using pii = pair<int, int>;
template <class A, class B> inline bool chmax(A &a, const B &b) {
return ... | #include <bits/stdc++.h>
#define lol long long
#define gcd(x, y) __gcd(x, y)
#define mt make_tuple
#define mp make_pair
#define fi first
#define se second
#define fixed fixed << setprecision(14)
using namespace std;
using pii = pair<int, int>;
template <class A, class B> inline bool chmax(A &a, const B &b) {
return ... | [
"literal.number.type.widen.change"
] | 347,818 | 347,819 | u331081465 | cpp |
p02633 | #include <algorithm>
#include <cmath>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
double pie = 3.14159265358979;
long long mod = 99... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
double pie = 3.14159265358979;
long long mod = 99... | [] | 347,820 | 347,821 | u587366956 | cpp |
p02633 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stack>
#include <... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stack>
#include <... | [
"call.add",
"call.arguments.add"
] | 347,822 | 347,823 | u017271745 | cpp |
p02633 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef long long ll;
ll n;
ll f(ll x, ll y) {
if (y == 0)
return x;
return f(y, x % y);
}
int main(void) {
cin >> n;
cout << n * 360 / f(n, 360) << endl;
}
| #include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef long long ll;
ll n;
ll f(ll x, ll y) {
if (y == 0)
return x;
return f(y, x % y);
}
int main(void) {
cin >> n;
// cout<<f(90,360)<<endl;
cout << n * 360 / f(n, 360) / n << endl;
}
| [
"expression.operation.binary.add"
] | 347,824 | 347,825 | u050428930 | cpp |
p02633 | #include <bits/stdc++.h>
#define itn int
#define REP(i, n) for (ll i = 0; i < n; i++)
#define IREP(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i < b + 1; i++)
#define all(v) v.begin(), v.end()
#define SENTINEL 2000000000
#define NIL -1
using namespace std;
typedef long long ll;
const ll M... | #include <bits/stdc++.h>
#define itn int
#define REP(i, n) for (ll i = 0; i < n; i++)
#define IREP(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i < b + 1; i++)
#define all(v) v.begin(), v.end()
#define SENTINEL 2000000000
#define NIL -1
using namespace std;
typedef long long ll;
const ll M... | [
"expression.operator.change"
] | 347,830 | 347,831 | u118875091 | cpp |
p02633 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll gcd(ll a, ll b) {
if (b == 0) {
return a;
}
return gcd(b, a % b);
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int x;
cin >> x;
cout << 180 / gcd(x, 180) * 2 << "\n";
return 0;
}... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll gcd(ll a, ll b) {
if (b == 0) {
return a;
}
return gcd(b, a % b);
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int x;
cin >> x;
cout << 360 / gcd(x, 360) << "\n";
return 0;
}
| [
"literal.number.change",
"io.output.change",
"expression.operation.binary.remove"
] | 347,834 | 347,835 | u809597559 | cpp |
p02633 | #include <bits/stdc++.h>
//#pragma GCC optimize "Ofast,omit-frame-pointer,inline"
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define FOR(i, m, n) for (int i = int(m); i < int(n); i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define VI vector<int>
#define VP vector... | #include <bits/stdc++.h>
//#pragma GCC optimize "Ofast,omit-frame-pointer,inline"
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define FOR(i, m, n) for (int i = int(m); i < int(n); i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define VI vector<int>
#define VP vector... | [] | 347,838 | 347,839 | u856232850 | cpp |
p02634 | #include <bits/stdc++.h>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repp(i, n, m) for (int i = m; i < (n); ++i)
#define repl(i, n) for (long long i = 0; i < (n); ++i)
#d... | #include <bits/stdc++.h>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repp(i, n, m) for (int i = m; i < (n); ++i)
#define repl(i, n) for (long long i = 0; i < (n); ++i)
#d... | [
"assignment.add"
] | 347,840 | 347,841 | u772395065 | cpp |
p02634 | #include <bits/stdc++.h>
#define all(a) a.begin(), a.end()
#define db(a) cout << fixed << #a << " = " << a << endl;
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int MAXN = 3000 + 5;
const ll MOD = 998244353;
ll dp[MAXN][MAXN];
int main() {
ios_base::sync_with_stdio(false);
cin.tie(... | #include <bits/stdc++.h>
#define all(a) a.begin(), a.end()
#define db(a) cout << fixed << #a << " = " << a << endl;
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int MAXN = 3000 + 5;
const ll MOD = 998244353;
ll dp[MAXN][MAXN];
int main() {
ios_base::sync_with_stdio(false);
cin.tie(... | [
"expression.operation.binary.add"
] | 347,842 | 347,843 | u260358224 | cpp |
p02634 | #include <iostream>
using namespace std;
typedef long long ll;
const int N = 3010;
const int mod = 998244353;
int f[N][N];
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
f[a][b] = 1;
for (int i = a; i <= c; i++) {
for (int j = b; j <= d; j++) {
if (i == a && j == b)
continue;
f[i... | #include <iostream>
using namespace std;
typedef long long ll;
const int N = 3010;
const int mod = 998244353;
ll f[N][N];
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
f[a][b] = 1;
for (int i = a; i <= c; i++) {
for (int j = b; j <= d; j++) {
if (i == a && j == b)
continue;
f[i]... | [
"variable_declaration.type.change"
] | 347,850 | 347,851 | u472334321 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef vector<ll> vi;
typedef vector<vi> vvi;
#define INF (1e9)
ll MOD = 998244353;
int main() {
ll A, B, C, D;
cin >> A >> B >> C >> D;
vvi DP(C + 1, vi(D + 1));
DP[A][B] = 1;
for (int i = A + 1; i <= C; i++) {
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef vector<ll> vi;
typedef vector<vi> vvi;
#define INF (1e9)
ll MOD = 998244353;
int main() {
ll A, B, C, D;
cin >> A >> B >> C >> D;
vvi DP(C + 1, vi(D + 1));
DP[A][B] = 1;
for (int i = A + 1; i <= C; i++) {
... | [] | 347,870 | 347,871 | u551373727 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef vector<ll> vi;
typedef vector<vi> vvi;
#define INF (1e9)
ll MOD = 998244353;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
vvi DP(C + 1, vi(D + 1));
DP[A][B] = 1;
for (int i = A + 1; i <= C; i++) {
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef vector<ll> vi;
typedef vector<vi> vvi;
#define INF (1e9)
ll MOD = 998244353;
int main() {
ll A, B, C, D;
cin >> A >> B >> C >> D;
vvi DP(C + 1, vi(D + 1));
DP[A][B] = 1;
for (int i = A + 1; i <= C; i++) {
... | [
"variable_declaration.type.change"
] | 347,872 | 347,871 | u551373727 | cpp |
p02634 | #include <bits/stdc++.h>
#include <tr1/unordered_map>
#define ri register int
#define ptf printf
using namespace std;
typedef double db;
typedef long double ld;
typedef long long ll;
typedef vector<int> poly;
typedef pair<int, int> pii;
typedef pair<ll, int> pli;
typedef pair<int, ll> pil;
typedef pair<ll, ll> pll;
typ... | #include <bits/stdc++.h>
#include <tr1/unordered_map>
#define ri register int
#define ptf printf
using namespace std;
typedef double db;
typedef long double ld;
typedef long long ll;
typedef vector<int> poly;
typedef pair<int, int> pii;
typedef pair<ll, int> pli;
typedef pair<int, ll> pil;
typedef pair<ll, ll> pll;
typ... | [
"identifier.change",
"call.arguments.change",
"control_flow.loop.for.update.change"
] | 347,873 | 347,874 | u087936802 | cpp |
p02634 | #include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#define T 10000
#define inf 0x7fffffff
using namespace std;
#define int long long
const int mod = 998244353;
int dp[3005][3005];
signed main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
dp[a][b] = 1;
for (int i = a; i <= c; i++)
for (... | #include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#define T 10000
#define inf 0x7fffffff
using namespace std;
#define int long long
const int mod = 998244353;
int dp[3005][3005];
signed main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
dp[a][b] = 1;
for (int i = a; i <= c; i++)
for (... | [
"assignment.change"
] | 347,877 | 347,878 | u523741095 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int mod = 998244353;
int a, b, c, d;
ll dp[3005][3005];
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cin >> a >> b >> c >> d;
dp[a][b] = 1;
for (int i = a + 1; i <= c; i++)
dp[i][b] = dp[i - 1][b] * b % ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int mod = 998244353;
int a, b, c, d;
ll dp[3005][3005];
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cin >> a >> b >> c >> d;
dp[a][b] = 1;
for (int i = a + 1; i <= c; i++)
dp[i][b] = dp[i - 1][b] * b % ... | [
"assignment.change"
] | 347,886 | 347,887 | u659725815 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
const int md = 998244353;
int a, b, c, d, i, j, k, cur;
long long f[3003][3003][2];
int main() {
scanf("%d%d%d%d", &a, &b, &c, &d);
f[a][b][1] = 1;
for (i = a; i <= c; i++)
for (j = b; j <= d; j++)
for (k = 0; k < 2; k++)
if (f[i][j][k]) {
... | #include <bits/stdc++.h>
using namespace std;
const int md = 998244353;
int a, b, c, d, i, j, k, cur;
long long f[3003][3003][2];
int main() {
scanf("%d%d%d%d", &a, &b, &c, &d);
f[a][b][1] = 1;
for (i = a; i <= c; i++)
for (j = b; j <= d; j++)
for (k = 0; k < 2; k++)
if (f[i][j][k]) {
... | [
"call.arguments.change",
"call.arguments.add"
] | 347,890 | 347,891 | u412253974 | cpp |
p02633 | #include <bits/stdc++.h>
int ri() {
int n;
scanf("%d", &n);
return n;
}
int main() {
int x = ri();
std::cout << std::gcd(x, 360) / x << std::endl;
return 0;
}
| #include <bits/stdc++.h>
int ri() {
int n;
scanf("%d", &n);
return n;
}
int main() {
int x = ri();
std::cout << 360 / std::gcd(x, 360) << std::endl;
return 0;
}
| [
"expression.operation.binary.remove"
] | 347,898 | 347,899 | u040490988 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
const ll MOD = 998244353;
const ll INF = 1ll << 60;
#define FOR(i, a, b) for (ll i = (a); i < (ll)(b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define ALL(v) (v).begin(), (v).end()
#define DEBUG(x) ;
#define DEBUG(x) std::cerr <<... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
const ll MOD = 998244353;
const ll INF = 1ll << 60;
#define FOR(i, a, b) for (ll i = (a); i < (ll)(b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define ALL(v) (v).begin(), (v).end()
#define DEBUG(x) ;
#define DEBUG(x) std::cerr <<... | [
"assignment.change"
] | 347,900 | 347,901 | u350072791 | cpp |
p02634 | #include <bits/stdc++.h>
//#include "atcoder/all"
typedef long long int ll;
using namespace std;
// using namespace atcoder;
#define mod 998244353
#define MAXC 3001
#define MAXD 3001
ll dp[MAXC][MAXD];
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
memset(dp, 0, sizeof(dp));
dp[a][b] = 1;
for (int i = a... | #include <bits/stdc++.h>
//#include "atcoder/all"
typedef long long int ll;
using namespace std;
// using namespace atcoder;
#define mod 998244353
#define MAXC 3001
#define MAXD 3001
ll dp[MAXC][MAXD];
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
memset(dp, 0, sizeof(dp));
dp[a][b] = 1;
for (int i = a... | [
"expression.operation.binary.add"
] | 347,902 | 347,903 | u540315049 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
long long a, b, c, d, e, i, j, ii, jj, zx, xc, mod = 998244353LL,
dp[3009][3009];
int main() {
ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
cin >> a >> b >> c >> d;
dp[a][b] = 1;
for (i = a; i <= c; i++) {... | #include <bits/stdc++.h>
using namespace std;
long long a, b, c, d, e, i, j, ii, jj, zx, xc, mod = 998244353LL,
dp[3009][3009];
int main() {
ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
cin >> a >> b >> c >> d;
dp[a][b] = 1;
for (i = a; i <= c; i++) {... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 347,908 | 347,909 | u914890086 | cpp |
p02634 | #define _CRT_SECURE_NO_DEPRECATE
#pragma GCC optimize("O3")
#pragma GCC target("sse4")
#include "bits/stdc++.h"
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
// using namespace __gnu_pbds;
#define int long long int
#define SYNC ... | #define _CRT_SECURE_NO_DEPRECATE
#pragma GCC optimize("O3")
#pragma GCC target("sse4")
#include "bits/stdc++.h"
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
// using namespace __gnu_pbds;
#define int long long int
#define SYNC ... | [
"assignment.change"
] | 347,936 | 347,937 | u606068762 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define MOD 998244353
ll dp[3005][3005];
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
dp[a][b] = 1;
for (ll i = a; i <= c; i++) {
for (ll j = b; j <= d; j++) {
if (i == a) {
if (j == b)
continue;
dp[i... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define MOD 998244353
ll dp[3005][3005];
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
dp[a][b] = 1;
for (ll i = a; i <= c; i++) {
for (ll j = b; j <= d; j++) {
if (i == a) {
if (j == b)
continue;
dp[i... | [
"assignment.change"
] | 347,940 | 347,941 | u009859353 | cpp |
p02634 | #include <bits/stdc++.h>
#define mod 998244353
#define int long long
using namespace std;
const int N = 3100;
int a, b, c, d, dp[N][N][2];
signed main() {
scanf("%lld%lld%lld%lld", &a, &b, &c, &d);
if (a == c && b == d) {
printf("1\n");
return 0;
}
if (a == c) {
int ans = 1;
for (int i = b; i <=... | #include <bits/stdc++.h>
#define mod 998244353
#define int long long
using namespace std;
const int N = 3100;
int a, b, c, d, dp[N][N][2];
signed main() {
scanf("%lld%lld%lld%lld", &a, &b, &c, &d);
if (a == c && b == d) {
printf("1\n");
return 0;
}
if (a == c) {
int ans = 1;
for (int i = b; i < ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 347,951 | 347,952 | u295095088 | cpp |
p02634 | #include <bits/stdc++.h>
#define ll long long
#define rep(A, B, C) for (A = B; A < C; ++A)
#define repd(A, B, C) for (A = (ll)C - 1; A >= B; ++A)
#define pii pair<int, int>
#define pll pair<ll, ll>
template <typename T> void mxin(T &a, T b) {
if (a < b)
a = b;
}
template <typename T> void mnin(T &a, T b) {
if ... | #include <bits/stdc++.h>
#define ll long long
#define rep(A, B, C) for (A = B; A < C; ++A)
#define repd(A, B, C) for (A = (ll)C - 1; A >= B; ++A)
#define pii pair<int, int>
#define pll pair<ll, ll>
template <typename T> void mxin(T &a, T b) {
if (a < b)
a = b;
}
template <typename T> void mnin(T &a, T b) {
if ... | [
"call.arguments.change",
"call.arguments.add"
] | 347,976 | 347,977 | u259396003 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
const long MOD = 998244353;
long dp[3010][3010][2];
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
dp[A][B][1] = 1;
for (int i = A; i <= C; i++) {
for (int j = B; j <= D; j++) {
if (i == A && j == B)
continue;
dp[i][j][0] = ((dp[i - ... | #include <bits/stdc++.h>
using namespace std;
const long long MOD = 998244353;
long long dp[3010][3010][2];
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
dp[A][B][1] = 1;
for (int i = A; i <= C; i++) {
for (int j = B; j <= D; j++) {
if (i == A && j == B)
continue;
dp[i][j][0] =... | [
"variable_declaration.type.widen.change"
] | 347,983 | 347,981 | u315542000 | cpp |
p02634 | #include <bits/stdc++.h>
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define eb emplace_back
#define ar array
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
const int mod = 998244353, maxn = 3005;
int f[maxn][maxn][2];
int A, B, C, D;
signed main(void) {
io... | #include <bits/stdc++.h>
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define eb emplace_back
#define ar array
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
const int mod = 998244353, maxn = 3005;
int f[maxn][maxn][2];
int A, B, C, D;
signed main(void) {
io... | [] | 347,984 | 347,985 | u506628560 | cpp |
p02634 | #pragma GCC optimize("Ofast", "unroll-loops", "omit-frame-pointer", \
"inline") // Optimization flags
#pragma GCC option("arch=native", "tune=native", "no-zero-upper") // Enable AVX
#pragma GCC target("avx2") // Enable AVX
#include <bits/stdc++.h>
... | #pragma GCC optimize("Ofast", "unroll-loops", "omit-frame-pointer", \
"inline") // Optimization flags
#pragma GCC option("arch=native", "tune=native", "no-zero-upper") // Enable AVX
#pragma GCC target("avx2") // Enable AVX
#include <bits/stdc++.h>
... | [
"assignment.change"
] | 347,988 | 347,989 | u174770501 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, s) for (int i = 0; i < s; ++i)
#define ALL(v) (v).begin(), (v).end()
#define COUT(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << endl
#define EACH(i, s) \
for (__typeof__((s).begin()... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, s) for (int i = 0; i < s; ++i)
#define ALL(v) (v).begin(), (v).end()
#define COUT(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << endl
#define EACH(i, s) \
for (__typeof__((s).begin()... | [
"assignment.change"
] | 347,993 | 347,994 | u074445770 | cpp |
p02634 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, s) for (int i = 0; i < s; ++i)
#define ALL(v) (v).begin(), (v).end()
#define COUT(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << endl
#define EACH(i, s) \
for (__typeof__((s).begin()... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, s) for (int i = 0; i < s; ++i)
#define ALL(v) (v).begin(), (v).end()
#define COUT(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << endl
#define EACH(i, s) \
for (__typeof__((s).begin()... | [
"assignment.change"
] | 347,995 | 347,994 | u074445770 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.