Datasets:

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
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= b; i++) { if (a * i % b == c) { cout << "YES" << endl; } } cout << "NO" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 100000; i++) { if (a * i % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
[ "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,395,737
1,395,738
u680701207
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 10000; i++) { if (a * 10 % b == c) { cout << "YES" << endl; } } cout << "NO" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 100000; i++) { if (a * i % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,395,739
1,395,738
u680701207
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 1000000; i++) { if (a * 10 % b == c) { cout << "YES" << endl; } } cout << "NO" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 100000; i++) { if (a * i % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,395,740
1,395,738
u680701207
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 10; i++) { if (a * 10 % b == c) { cout << "YES" << endl; } } cout << "NO" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 100000; i++) { if (a * i % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,395,741
1,395,738
u680701207
cpp
p03730
// 060 #include <bits/stdc++.h> #define rep(i, n) for (int i = 1; i <= n; i++) using namespace std; int main(void) { int a, b, c, d; int i = 0; vector<int> L; cin >> a >> b >> c; while (true) { //回数が分からないのでwhile i += 1; d = a * i % b; if (d == c) { cout << "Yes" << endl; return 0; ...
// 060 #include <bits/stdc++.h> #define rep(i, n) for (int i = 1; i <= n; i++) using namespace std; int main(void) { int a, b, c, d; int i = 0; vector<int> L; cin >> a >> b >> c; while (true) { //回数が分からないのでwhile i += 1; d = a * i % b; if (d == c) { cout << "YES" << endl; return 0; ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,395,754
1,395,755
u401452016
cpp
p03730
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { cout << setprecision(15); ll a, b, c; cin >> a >> b >> c; int mod = a % b; for (int i = 1; i <= b; ++i) { if (mod % b == c) { cout << "Yes" << endl; return 0; } mod = (mod + a) % b; } cout << "No" << ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { cout << setprecision(15); ll a, b, c; cin >> a >> b >> c; int mod = a % b; for (int i = 1; i <= b; ++i) { if (mod == c) { cout << "YES" << endl; return 0; } mod = (mod + a) % b; } cout << "NO" << endl...
[ "control_flow.loop.for.condition.change", "expression.operation.binary.remove", "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,395,766
1,395,767
u292106243
cpp
p03730
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
[ "literal.number.change", "variable_declaration.value.change" ]
1,395,779
1,395,780
u070200692
cpp
p03730
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.condition.change", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
1,395,781
1,395,780
u070200692
cpp
p03730
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.condition.change", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
1,395,782
1,395,780
u070200692
cpp
p03730
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
[ "literal.number.change", "variable_declaration.value.change", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
1,395,781
1,395,783
u070200692
cpp
p03730
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
#include <bits/stdc++.h> using namespace std; string to_string(string s) { return '"' + s + '"'; } string to_string(const char *s) { return to_string((string)s); } string to_string(bool b) { return (b ? "true" : "false"); } template <typename A, typename B> string to_string(pair<A, B> p) { return "(" + to_string(...
[ "literal.number.change", "variable_declaration.value.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "expression.operator.arithmetic.change", "assignment.value.change" ]
1,395,782
1,395,783
u070200692
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool fla = false; int n = 0; for (int i = 0; i < B; i++) { if (A * i % B == C) { fla == true; break; } } if (fla) cout << "YES" << endl; else cout << "NO" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool fla = false; int n = 0; for (int i = 0; i < B; i++) { if (A * i % B == C) { fla = true; } } if (fla) cout << "YES" << endl; else cout << "NO" << endl; }
[ "expression.operation.compare.replace.remove", "assignment.replace.add", "misc.typo" ]
1,395,784
1,395,785
u152023839
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool fla = false; int n = 0; for (int i = 0; i < B; i++) { if (A * i % B == C) fla == true; } if (fla) cout << "YES" << endl; else cout << "NO" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool fla = false; int n = 0; for (int i = 0; i < B; i++) { if (A * i % B == C) { fla = true; } } if (fla) cout << "YES" << endl; else cout << "NO" << endl; }
[ "expression.operation.compare.replace.remove", "assignment.replace.add", "misc.typo" ]
1,395,786
1,395,785
u152023839
cpp
p03730
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <istream> #include <map> #include <random> #include <sstream> #include <stack> #include <string> #include <typeinfo> #include <vector> using namespace std; typedef long long ll; ll N; //余りはA *B まででループする. int main() { ll A, B, C; ...
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <istream> #include <map> #include <random> #include <sstream> #include <stack> #include <string> #include <typeinfo> #include <vector> using namespace std; typedef long long ll; ll N; //余りはA *B まででループする. int main() { ll A, B, C; ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,395,825
1,395,826
u048791623
cpp
p03730
#include <bits/stdc++.h> #define REP(i, n) for (ll i = 0; i < (ll)n; i++) #define FOR(i, a, b) for (ll i = (a); i < (ll)b; i++) #define ALL(obj) (obj).begin(), (obj).end() #define INF (1ll << 60) #define sz(x) int(x.size()) using namespace std; typedef long long ll; typedef double db; typedef string str; typedef pair<l...
#include <bits/stdc++.h> #define REP(i, n) for (ll i = 0; i < (ll)n; i++) #define FOR(i, a, b) for (ll i = (a); i < (ll)b; i++) #define ALL(obj) (obj).begin(), (obj).end() #define INF (1ll << 60) #define sz(x) int(x.size()) using namespace std; typedef long long ll; typedef double db; typedef string str; typedef pair<l...
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
1,395,842
1,395,843
u824337972
cpp
p03730
#include <bits/stdc++.h> #include <type_traits> using namespace std; using ll = int64_t; #define int ll #define FOR(i, a, b) for (int i = int(a); i < int(b); i++) #define REP(i, b) FOR(i, 0, b) #define MP make_pair #define PB push_back #define EB emplace_back #define ALL(x) x.begin(), x.end() using pi = pair<int, in...
#include <bits/stdc++.h> #include <type_traits> using namespace std; using ll = int64_t; #define int ll #define FOR(i, a, b) for (int i = int(a); i < int(b); i++) #define REP(i, b) FOR(i, 0, b) #define MP make_pair #define PB push_back #define EB emplace_back #define ALL(x) x.begin(), x.end() using pi = pair<int, in...
[]
1,395,855
1,395,856
u700484101
cpp
p03730
#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> using namespace std; typedef long long ll; typedef unsigned long ...
#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> using namespace std; typedef long long ll; typedef unsigned long ...
[ "literal.string.change", "literal.string.case.change", "call.arguments.change" ]
1,395,873
1,395,874
u641145334
cpp
p03730
#include <iostream> using namespace std; int main() { int A, B, C; int sum = 0; cin >> A >> B >> C; bool flag = false; // want B + C no baisuu for (int i = 1; i <= B; ++i) { if (C == A * i % B) flag = true; } if (flag) cout << "Yes" << endl; else cout << "No" << endl; return 0; ...
#include <iostream> using namespace std; int main() { int A, B, C; int sum = 0; cin >> A >> B >> C; bool flag = false; for (int i = 1; i <= B; ++i) { if (C == (A * i) % B) flag = true; } if (flag) cout << "YES" << endl; else cout << "NO" << endl; return 0; }
[ "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,395,879
1,395,880
u690115955
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; string ans = "No"; cin >> a >> b >> c; int i = 1; int count = 0; while (count < b) { if ((a * i) % b == c) { ans = "Yes"; break; } i++; count++; } cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; string ans = "NO"; cin >> a >> b >> c; int i = 1; int count = 0; while (count < b) { if ((a * i) % b == c) { ans = "YES"; break; } i++; count++; } cout << ans << endl; }
[ "literal.string.change", "literal.string.case.change", "variable_declaration.value.change", "assignment.value.change" ]
1,395,893
1,395,894
u067166809
cpp
p03730
#include <algorithm> #include <iostream> using namespace std; int main() { bool answer = false; int A, B, C; cin >> A >> B >> C; for (int i = 1; i <= B; i++) { if (i * A % B == C) { answer = true; } } if (answer == true) cout << "Yes" << endl; else cout << "No" << endl; }
#include <algorithm> #include <iostream> using namespace std; int main() { bool answer = false; int A, B, C; cin >> A >> B >> C; for (int i = 1; i <= B; i++) { if (i * A % B == C) { answer = true; } } if (answer == true) cout << "YES" << endl; else cout << "NO" << endl; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,395,908
1,395,909
u641446860
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool flag = false; for (int i = A; i <= A * B; i++) { if (i % B == C) { flag = true; } } cout << (flag ? "YES" : "NO") << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool flag = false; for (int i = 1; i <= B; i++) { if (i * A % B == C) { flag = true; } } cout << (flag ? "YES" : "NO") << endl; }
[ "variable_declaration.value.change", "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.initializer.change", "control_flow.loop.for.condition.change", "expression.operation.binary.remove", "control_flow.branch.if.condition.change" ]
1,395,920
1,395,921
u449758089
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool flag = false; for (int i = A; i <= B; i++) { if (i % B == C) { flag = true; } } cout << (flag ? "YES" : "NO") << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool flag = false; for (int i = 1; i <= B; i++) { if (i * A % B == C) { flag = true; } } cout << (flag ? "YES" : "NO") << endl; }
[ "variable_declaration.value.change", "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.initializer.change", "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
1,395,922
1,395,921
u449758089
cpp
p03730
#include <iostream> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int mod = B; int remA = A % B; int reminder = A % B; int count = 0; if (remA == C) cout << "Yes" << endl; else { for (;;) { count++; if ((remA + reminder) % mod == C) { cout << "Yes" << e...
#include <iostream> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int mod = B; int remA = A % B; int reminder = A % B; int count = 0; if (remA == C) cout << "YES" << endl; else { for (;;) { count++; if ((remA + reminder) % mod == C) { cout << "YES" << e...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,395,929
1,395,930
u860463295
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 2000; i++) { if ((a * i) % b == c) cout << "YES\n"; } cout << "NO\n"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 200; i++) { if ((a * i) % b == c) { cout << "YES\n"; return 0; } } cout << "NO\n"; return 0; }
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,395,931
1,395,932
u767871438
cpp
p03730
// [AT2554 Choose Integers] https://www.luogu.org/problem/AT2554 #include <algorithm> #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 1000; i++) { if (a * i / b == c) { cout << "YES\n"; return 0; } } cout << "NO\n"; return 0; ...
// [AT2554 Choose Integers] https://www.luogu.org/problem/AT2554 #include <algorithm> #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 1000; i++) { if (a * i % b == c) { cout << "YES\n"; return 0; } } cout << "NO\n"; return 0; ...
[ "expression.operator.arithmetic.change", "control_flow.branch.if.condition.change" ]
1,395,934
1,395,935
u440588451
cpp
p03730
#include <iostream> #include <string> using namespace std; int main() { int A, B, C; bool found = false; cin >> A >> B >> C; for (int i = 1; i <= B; i++) { if ((A * i) % B == C) { found = true; } } if (found == true) { cout << "Yes" << endl; } else { cout << "NO" << endl; } }
#include <iostream> #include <string> using namespace std; int main() { int A, B, C; bool found = false; cin >> A >> B >> C; for (int i = 1; i <= B; i++) { if ((A * i) % B == C) { found = true; } } if (found == true) { cout << "YES" << endl; } else { cout << "NO" << endl; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,395,960
1,395,961
u610601423
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; string s = "NO"; for (int i = 1; i <= b; i++) { if (a * i - c % b == 0) { s = "YES"; break; } } cout << s; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; string s = "NO"; for (int i = 1; i <= b; i++) { if ((a * i - c) % b == 0) { s = "YES"; break; } } cout << s; }
[ "control_flow.branch.if.condition.change" ]
1,395,968
1,395,969
u389766217
cpp
p03730
#include <cstdio> #include <iostream> using namespace std; int main() { int A, B, C; scanf("%d %d %d", &A, &B, &C); bool can = false; for (int i = 0; i < B; i++) { int mod = (A * i) % B; if (mod == C) { can = true; break; } } printf((can ? "Yes" : "No")); return 0; }
#include <cstdio> #include <iostream> using namespace std; int main() { int A, B, C; scanf("%d %d %d", &A, &B, &C); bool can = false; for (int i = 0; i < B; i++) { int mod = (A * i) % B; if (mod == C) { can = true; break; } } printf((can ? "YES" : "NO")); return 0; }
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
1,395,984
1,395,985
u703912513
cpp
p03730
#include <bits/stdc++.h> #define repd(i, a, b) for (ll i = (a); i < (b); i++) #define rep(i, n) repd(i, 0, n) typedef long long ll; using namespace std; template <typename T> void output(T, int); int gcd(int a, int b); void prime_map(map<ll, ll> &, ll); int main() { // source int a, b, c; cin >> a >> b >> c; ...
#include <bits/stdc++.h> #define repd(i, a, b) for (ll i = (a); i < (b); i++) #define rep(i, n) repd(i, 0, n) typedef long long ll; using namespace std; template <typename T> void output(T, int); int gcd(int a, int b); void prime_map(map<ll, ll> &, ll); int main() { // source int a, b, c; cin >> a >> b >> c; ...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
1,395,992
1,395,993
u030992242
cpp
p03730
#include <iostream> using namespace std; int main() { int A, B, C, tmp = 0; cin >> A >> B >> C; for (int i = 0; i < B; i++) { tmp = (tmp + A) % B; if (tmp == C) { cout << "Yes" << endl; return 0; } } cout << "No" << endl; return 0; }
#include <iostream> using namespace std; int main() { int A, B, C; int tmp = 0; cin >> A >> B >> C; for (int i = 0; i < B; i++) { tmp = (tmp + A) % B; if (tmp == C) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,395,996
1,395,997
u227587745
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { // your code goes here int A, B, C; cin >> A >> B >> C; bool can = false; int sum = A; for (int i = 0; i <= B; i++) { if (sum % B == C) { printf("Yes\n"); can = true; return 0; } sum += A; } if (!can) printf("N...
#include <bits/stdc++.h> using namespace std; int main() { // your code goes here int A, B, C; cin >> A >> B >> C; bool can = false; int sum = A; for (int i = 0; i < B; i++) { if (sum % B == C) { printf("YES\n"); can = true; return 0; } sum += A; } if (!can) printf("NO...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change", "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
1,395,998
1,395,999
u717687462
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { // your code goes here int A, B, C; cin >> A >> B >> C; bool can = false; int sum = A; for (int i = 0; i <= B; i++) { if (sum % B == C) { printf("Yes\n"); can = true; return 0; } sum += A; } if (!can) printf("N...
#include <bits/stdc++.h> using namespace std; int main() { // your code goes here int A, B, C; cin >> A >> B >> C; bool can = false; int sum = A; for (int i = 0; i <= B; i++) { if (sum % B == C) { printf("YES\n"); can = true; return 0; } sum += A; } if (!can) printf("N...
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
1,395,998
1,396,000
u717687462
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; string ans = "NO"; for (int i = 1; i < 10; i++) { if (i * a % b == c) ans = "YES"; } cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; string ans = "NO"; for (int i = 1; i <= 1000; i++) { if (i * a % b == c) { ans = "YES"; break; } } cout << ans << endl; }
[ "control_flow.loop.for.condition.change" ]
1,396,003
1,396,002
u370447425
cpp
p03730
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int(i) = (0); (i) < (int)(n); ++(i)) #define p(x) cout << (x) << endl int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= b; i++) { if ((a * i) % b == 1) { p("YES"); return 0; } } p("NO"); }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int(i) = (0); (i) < (int)(n); ++(i)) #define p(x) cout << (x) << endl int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= b; i++) { if ((a * i) % b == c) { p("YES"); return 0; } } p("NO"); }
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
1,396,006
1,396,007
u900303768
cpp
p03730
#include <algorithm> #include <cmath> #include <deque> #include <iostream> #include <string> #include <utility> #include <vector> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; int d = a % b; int sum = d; bool bb = false; if (d == c) { bb = true; } else { for (int i = ...
#include <algorithm> #include <cmath> #include <deque> #include <iostream> #include <string> #include <utility> #include <vector> using namespace std; int main(void) { int a, b, c; cin >> a >> b >> c; int d = a % b; int sum = d; bool bb = false; if (d == c) { bb = true; } else { for (int i = ...
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,016
1,396,017
u696865277
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; string ans = "NO"; for (int i = 0; i < c; i++) { if ((a * i - c) % b == 0) { ans = "YES"; } } cout << ans; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; string ans = "NO"; for (int i = 0; i < b; i++) { if ((a * i - c) % b == 0) { ans = "YES"; } } cout << ans; }
[ "identifier.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
1,396,023
1,396,024
u885523920
cpp
p03730
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int INF = 1 << 30; int calc(int a, int b) { if (a > b) swap(a, b); if (a == 0) return a; return calc(b % a, a); } int main() { int a, b, c; cin >> a >> b >> c; cout << (c % calc(a, b) == 0 ? "YES" : "NO") << endl; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int INF = 1 << 30; int calc(int a, int b) { if (a > b) swap(a, b); if (a == 0) return b; return calc(b % a, a); } int main() { int a, b, c; cin >> a >> b >> c; cout << (c % calc(a, b) == 0 ? "YES" : "NO") << endl; }
[ "identifier.change", "function.return_value.change" ]
1,396,025
1,396,026
u630664279
cpp
p03730
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int INF = 1 << 30; int calc(int a, int b) { if (a > b) swap(a, b); if (a == 1) return 1; return calc(b % a, a); } int main() { int a, b, c; cin >> a >> b >> c; cout << (c % calc(a, b) == 0 ? "YES" : "NO") << endl; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int INF = 1 << 30; int calc(int a, int b) { if (a > b) swap(a, b); if (a == 0) return b; return calc(b % a, a); } int main() { int a, b, c; cin >> a >> b >> c; cout << (c % calc(a, b) == 0 ? "YES" : "NO") << endl; }
[ "literal.number.change", "control_flow.branch.if.condition.change", "identifier.replace.add", "literal.replace.remove", "function.return_value.change" ]
1,396,027
1,396,026
u630664279
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool flag = false; for (int i = 1; i <= B; i++) { // iはBまで増加すると、i=1の結果に if ((A * i) % B == C) { flag = true; } //ループするため、iの上限はBとする。 } if (flag) { cout << "Yes"; } else { cout << "No"; } }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; bool ans = false; for (int i = 1; i <= B; i++) { // iはBまで増加すると、i=1の結果に if ((A * i) % B == C) { ans = true; } //ループするため、iの上限はBとする。 } if (ans) { cout << "YES"; } else { cout << "NO"; } }
[ "variable_declaration.name.change", "identifier.change", "assignment.variable.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,047
1,396,048
u692650171
cpp
p03730
#include <bits/stdc++.h> using namespace std; typedef long long ll; ll n, X, x, s; ll gcd(ll d, ll e) { return e ? gcd(e, d % e) : d; } int main() { ll a, b, c; cin >> a >> b >> c; cout << (c % gcd(a, b) == 0 ? "Yes" : "No") << endl; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; ll n, X, x, s; ll gcd(ll d, ll e) { return e ? gcd(e, d % e) : d; } int main() { ll a, b, c; cin >> a >> b >> c; cout << (c % gcd(a, b) == 0 ? "YES" : "NO") << endl; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,083
1,396,084
u061912210
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int i; for (i = 1; i <= B; i++) { if ((A * i) % B == C) { cout << "YES" << endl; return 0; } else if (i == A * B) { cout << "NO" << endl; } } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int i; for (i = 1; i <= B; i++) { if ((A * i) % B == C) { cout << "YES" << endl; return 0; } else if (i == B) { cout << "NO" << endl; } } return 0; }
[ "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
1,396,087
1,396,088
u687430565
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int i; for (i = 1; i <= B; i++) { if ((A * i) % B == C) { cout << "YES" << endl; return 0; } if (i == A * B) { cout << "NO" << endl; } } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int i; for (i = 1; i <= B; i++) { if ((A * i) % B == C) { cout << "YES" << endl; return 0; } else if (i == B) { cout << "NO" << endl; } } return 0; }
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove", "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
1,396,089
1,396,088
u687430565
cpp
p03730
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (int)(n); i++) #define REPR(i, n) for (int i = n; i >= 0; i--) #define FOR(i, m, n) for (int i = m; i < n; i++) #define FORR(i, m, n) for (int i = m; i >= n; i--) #define ALL(x) (x).begin(), (x).end() #define SORT(v, n) sort(v, v + n); #define VSORT(v) sort...
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (int)(n); i++) #define REPR(i, n) for (int i = n; i >= 0; i--) #define FOR(i, m, n) for (int i = m; i < n; i++) #define FORR(i, m, n) for (int i = m; i >= n; i--) #define ALL(x) (x).begin(), (x).end() #define SORT(v, n) sort(v, v + n); #define VSORT(v) sort...
[ "identifier.change", "control_flow.branch.if.condition.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,396,092
1,396,091
u032337012
cpp
p03730
#include <cstdio> #include <cstring> #define ll long long using namespace std; int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); int i = 1; while (i <= c) { if (a * i % b == c) { printf("YES"); return 0; } i++; } printf("NO"); return 0; }
#include <cstdio> #include <cstring> #define ll long long using namespace std; int main() { int a, b, c; scanf("%d %d %d", &a, &b, &c); int i = 1; while (i <= b) { if (a * i % b == c) { printf("YES"); return 0; } i++; } printf("NO"); return 0; }
[ "identifier.change", "control_flow.loop.condition.change" ]
1,396,093
1,396,094
u584259868
cpp
p03730
#include <iostream> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; for (int i = 1; i <= B; ++i) { if (((A * i) % B) == C) { cout << 'YES' << endl; return 0; } } cout << 'NO' << endl; return 0; }
#include <iostream> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; for (int i = 1; i <= B; ++i) { if (((A * i) % B) == C) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
1,396,099
1,396,100
u262733088
cpp
p03730
#include <iostream> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; for (int i = 1; i <= B; ++i) { if (((A * i) % B) == C) { cout << "Yes" << endl; return 0; } } cout << "No" << endl; return 0; }
#include <iostream> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; for (int i = 1; i <= B; ++i) { if (((A * i) % B) == C) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,101
1,396,100
u262733088
cpp
p03730
#include <algorithm> #include <cctype> #include <cmath> #include <cstdio> #include <functional> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) #...
#include <algorithm> #include <cctype> #include <cmath> #include <cstdio> #include <functional> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) #...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,102
1,396,103
u865767009
cpp
p03730
#include <bits/stdc++.h> using namespace std; using VS = vector<string>; using LL = long long; using VI = vector<int>; using VVI = vector<VI>; using PII = pair<int, int>; using PLL = pair<LL, LL>; using VL = vector<LL>; using VVL = vector<VL>; #define ALL(a) begin((a)), end((a)) #define RALL(a) (a).rbegin(), (a).rend...
#include <bits/stdc++.h> using namespace std; using VS = vector<string>; using LL = long long; using VI = vector<int>; using VVI = vector<VI>; using PII = pair<int, int>; using PLL = pair<LL, LL>; using VL = vector<LL>; using VVL = vector<VL>; #define ALL(a) begin((a)), end((a)) #define RALL(a) (a).rbegin(), (a).rend...
[ "literal.number.change", "call.arguments.change" ]
1,396,114
1,396,115
u788341294
cpp
p03730
#include <algorithm> #include <iostream> #include <string> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int amari = A % B; bool can = false; for (int i = 0; i < 10; i++) { can = ((amari * (i + 1)) % 10 == C); if (can) break; } if (can) cout << "YES" << endl; e...
#include <algorithm> #include <iostream> #include <string> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int amari = A % B; bool can = false; for (int i = 0; i < B; i++) { can = ((amari * (i + 1)) % B == C); if (can) break; } if (can) cout << "YES" << endl; els...
[ "identifier.replace.add", "literal.replace.remove", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "assignment.value.change" ]
1,396,137
1,396,138
u644070128
cpp
p03730
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; #define Abs(x) ((x) < 0 ? (x) * -1 : (x)) #define rep(x, y) for ((x) = 0; (x) < (y); (x)++) #define repin(x, y) for ((x) = 0; (x) <= (y); (x)++) #define nep(x, y) for ((x) = (y)-1; 0 <= (x); (x)--) #define nepi(x, y,...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; #define Abs(x) ((x) < 0 ? (x) * -1 : (x)) #define rep(x, y) for ((x) = 0; (x) < (y); (x)++) #define repin(x, y) for ((x) = 0; (x) <= (y); (x)++) #define nep(x, y) for ((x) = (y)-1; 0 <= (x); (x)--) #define nepi(x, y,...
[ "preprocessor.define.value.change", "literal.integer.change" ]
1,396,139
1,396,140
u518883877
cpp
p03730
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; #define Abs(x) ((x) < 0 ? (x) * -1 : (x)) #define rep(x, y) for ((x) = 0; (x) < (y); (x)++) #define repin(x, y) for ((x) = 0; (x) <= (y); (x)++) #define nep(x, y) for ((x) = (y)-1; 0 <= (x); (x)--) #define nepi(x, y,...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; #define Abs(x) ((x) < 0 ? (x) * -1 : (x)) #define rep(x, y) for ((x) = 0; (x) < (y); (x)++) #define repin(x, y) for ((x) = 0; (x) <= (y); (x)++) #define nep(x, y) for ((x) = (y)-1; 0 <= (x); (x)--) #define nepi(x, y,...
[ "literal.string.change", "literal.string.case.change", "call.arguments.change" ]
1,396,141
1,396,140
u518883877
cpp
p03730
#include <algorithm> #include <cmath> #include <functional> #include <iomanip> #include <iostream> using namespace std; int main() { int n, a, b, ok = 0; cin >> n >> a >> b; for (int i = 0; i <= a; i++) { int m = a; m *= i; if (m % a == b) { ok++; break; } } if (ok == 1) cout <...
#include <algorithm> #include <cmath> #include <functional> #include <iomanip> #include <iostream> using namespace std; int main() { int n, a, b, ok = 0; cin >> n >> a >> b; for (int i = 0; i <= a; i++) { int m = n; m *= i; if (m % a == b) { ok++; break; } } if (ok == 1) cout <...
[ "variable_declaration.value.change", "identifier.change" ]
1,396,159
1,396,160
u127856129
cpp
p03730
#include <iostream> using namespace std; int main(void) { int A, B, C; cin >> A >> B >> C; for (int i = 1;; i++) { if (i * A % B == C) { cout << "Yes" << endl; return 0; } if (i == B + 1) { cout << "No" << endl; return 0; } } return 0; }
#include <iostream> using namespace std; int main(void) { int A, B, C; cin >> A >> B >> C; for (int i = 1;; i++) { if (i * A % B == C) { cout << "YES" << endl; return 0; } if (i == B + 1) { cout << "NO" << endl; return 0; } } return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,167
1,396,168
u043125923
cpp
p03730
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <string> #include <vector> #define int long long #define ll \ getchar(); \ getchar(); ...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <string> #include <vector> #define int long long #define ll \ getchar(); \ getchar(); ...
[ "control_flow.break.add" ]
1,396,186
1,396,187
u971256474
cpp
p03730
#include <algorithm> #include <iostream> #include <list> #include <numeric> #include <set> #include <string> #include <vector> #include <bitset> #include <iomanip> #include <map> #include <math.h> #include <queue> #include <stack> #define INF 100100100 typedef long long int llint; using namespace std; typedef pair...
#include <algorithm> #include <iostream> #include <list> #include <numeric> #include <set> #include <string> #include <vector> #include <bitset> #include <iomanip> #include <map> #include <math.h> #include <queue> #include <stack> #define INF 100100100 typedef long long int llint; using namespace std; typedef pair...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
1,396,203
1,396,204
u864171425
cpp
p03730
#include <algorithm> #include <iostream> #include <list> #include <numeric> #include <set> #include <string> #include <vector> #include <bitset> #include <iomanip> #include <map> #include <math.h> #include <queue> #include <stack> #define INF 100100100 typedef long long int llint; using namespace std; typedef pair...
#include <algorithm> #include <iostream> #include <list> #include <numeric> #include <set> #include <string> #include <vector> #include <bitset> #include <iomanip> #include <map> #include <math.h> #include <queue> #include <stack> #define INF 100100100 typedef long long int llint; using namespace std; typedef pair...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
1,396,205
1,396,204
u864171425
cpp
p03730
#include <algorithm> #include <iostream> #include <list> #include <numeric> #include <set> #include <string> #include <vector> #include <bitset> #include <iomanip> #include <map> #include <math.h> #include <queue> #include <stack> #define INF 100100100 typedef long long int llint; using namespace std; typedef pair...
#include <algorithm> #include <iostream> #include <list> #include <numeric> #include <set> #include <string> #include <vector> #include <bitset> #include <iomanip> #include <map> #include <math.h> #include <queue> #include <stack> #define INF 100100100 typedef long long int llint; using namespace std; typedef pair...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change", "control_flow.branch.if.condition.change" ]
1,396,206
1,396,204
u864171425
cpp
p03730
#include <bits/stdc++.h> #define INF (1 << 31) // INT_MAX/2 #define MOD 1000000007 using ll = long long; using ull = unsigned long long; int main(int argc, char *argv[]) { int A, B, C; std::cin >> A >> B >> C; bool flag = false; for (int i = 0; i < INF; i++) { if (A * i % B == C) { flag = true; ...
#include <bits/stdc++.h> #define INF (1 << 31) // INT_MAX/2 #define MOD 1000000007 using ll = long long; using ull = unsigned long long; int main(int argc, char *argv[]) { int A, B, C; std::cin >> A >> B >> C; bool flag = false; for (int i = 0; i < 10000000; i++) { if (A * i % B == C) { flag = tru...
[ "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
1,396,209
1,396,210
u458798873
cpp
p03730
#include <algorithm> #include <cmath> #include <functional> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) map<string, int> mp; #define ll long long int main...
#include <algorithm> #include <cmath> #include <functional> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) map<string, int> mp; #define ll long long int main...
[ "expression.operator.arithmetic.change", "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
1,396,213
1,396,214
u154672915
cpp
p03730
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int temp = a; bool can = false; do { if (temp % b == c) { can = true; break; } // cout << temp << endl; temp += a; // i++; temp %= b; } while (temp != a % b); if (can) cout << "...
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int temp = a; bool can = false; do { if (temp % b == c) { can = true; break; } // cout << temp << endl; temp += a; // i++; temp %= b; } while (temp != a % b); if (can) cout << "...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,220
1,396,221
u577393547
cpp
p03730
#pragma GCC optimize("Ofast") #include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <vector> #define endl '\n' #define fast ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std; int a, b, c; int main() { cin >> a >> b >> c; for (in...
#pragma GCC optimize("Ofast") #include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <vector> #define endl '\n' #define fast ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std; int a, b, c; int main() { cin >> a >> b >> c; for (in...
[ "control_flow.loop.for.condition.change", "expression.operation.binary.remove", "control_flow.branch.if.condition.change" ]
1,396,237
1,396,238
u101341410
cpp
p03730
#include <iostream> #include <string> #include <vector> typedef long long ll; using namespace std; int main() { int a, b, c; cin >> a >> b >> c; string kotae = "No"; for (int i = 1; i <= b; i++) { if ((a * i) % b == c) kotae = "Yes"; } cout << kotae; return 0; }
#include <iostream> #include <string> #include <vector> typedef long long ll; using namespace std; int main() { int a, b, c; cin >> a >> b >> c; string kotae = "NO"; for (int i = 1; i <= b; i++) { if ((a * i) % b == c) kotae = "YES"; } cout << kotae; return 0; }
[ "literal.string.change", "literal.string.case.change", "variable_declaration.value.change", "assignment.value.change" ]
1,396,245
1,396,246
u791073783
cpp
p03730
#include <algorithm> #include <cmath> #include <cstring> #include <iostream> #include <map> #include <queue> #include <stack> #include <string> #include <utility> #include <vector> #define INF (long)1e9 const int MOD = 1e9 + 7; const int dx[] = {1, -1, 0, 0}; const int dy[] = {0, 0, 1, -1}; using namespace std; typedef...
#include <algorithm> #include <cmath> #include <cstring> #include <iostream> #include <map> #include <queue> #include <stack> #include <string> #include <utility> #include <vector> #define INF (long)1e9 const int MOD = 1e9 + 7; const int dx[] = {1, -1, 0, 0}; const int dy[] = {0, 0, 1, -1}; using namespace std; typedef...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,275
1,396,276
u952094438
cpp
p03730
#include <algorithm> #include <iostream> #include <math.h> #include <numeric> #include <string> #include <vector> using namespace std; typedef long long ll; int main() { int a, b, c; cin >> a >> b >> c; int s; for (int i = 1; i < 1000; i++) { s = (a * i) % b; if (s == 3) { cout << "YES" << endl...
#include <algorithm> #include <iostream> #include <math.h> #include <numeric> #include <string> #include <vector> using namespace std; typedef long long ll; int main() { int a, b, c; cin >> a >> b >> c; int s; for (int i = 1; i < 1000; i++) { s = (a * i) % b; if (s == c) { cout << "YES" << endl...
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
1,396,277
1,396,278
u934068520
cpp
p03730
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int INF = 1e9; const ll LLINF = 1e18; int gcd(int x, int y) { return y == 0 ? x : gcd(abs(y), abs(x) % abs(y)); } int main() { int A, B, C; scanf("%d %d %d", &A, &B, &C); string ans = "Yes"; if (C % gcd(A, B) != 0) { ans = "No"; ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int INF = 1e9; const ll LLINF = 1e18; int gcd(int x, int y) { return y == 0 ? x : gcd(abs(y), abs(x) % abs(y)); } int main() { int A, B, C; scanf("%d %d %d", &A, &B, &C); string ans = "YES"; if (C % gcd(A, B) != 0) { ans = "NO"; ...
[ "literal.string.change", "literal.string.case.change", "variable_declaration.value.change", "assignment.value.change" ]
1,396,279
1,396,280
u105155351
cpp
p03730
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int a, b, c; cin >> a >> b >> c; bool flag = true; for (int i = 1; i <= b; i++) { int tmp = a * i; if (tmp % b == c) flag = true; } if (flag) cout << "YES" << endl; else cout << "NO" << endl; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int a, b, c; cin >> a >> b >> c; bool flag = false; for (int i = 1; i <= b; i++) { int tmp = a * i; if (tmp % b == c) flag = true; } if (flag) cout << "YES" << endl; else cout << "NO" << endl; }
[ "misc.opposites", "variable_declaration.value.change" ]
1,396,288
1,396,289
u183471264
cpp
p03730
#include <iostream> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int num = A; for (int i = 0; i < B; i++) { num %= B; if (num == C) { cout << "Yes" << endl; return 0; } num += A; } cout << "No" << endl; return 0; }
#include <iostream> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int num = A; for (int i = 0; i < B; i++) { num %= B; if (num == C) { cout << "YES" << endl; return 0; } num += A; } cout << "NO" << endl; return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,290
1,396,291
u189870205
cpp
p03730
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int d = 1; d <= 20; d++) { if ((a * d) % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int d = 1; d <= 0x7f; d++) { if ((a * d) % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
1,396,305
1,396,306
u980807816
cpp
p03730
#include <bits/stdc++.h> using namespace std; long long a, b, c; int main() { scanf("%lld%lld%lld", &a, &b, &c); for (long long i = 1; i <= 1000000; i++) { if (a * i / b == c) { cout << "YES\n"; return 0; } } printf("NO\n"); }
#include <bits/stdc++.h> using namespace std; long long a, b, c; int main() { scanf("%lld%lld%lld", &a, &b, &c); for (long long i = 1; i <= 1000000; i++) { if (a * i % b == c) { cout << "YES\n"; return 0; } } printf("NO\n"); }
[ "expression.operator.arithmetic.change", "control_flow.branch.if.condition.change" ]
1,396,307
1,396,308
u777010831
cpp
p03730
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a; cin >> b; cin >> c; for (int i = 1; i < b; i++) { if ((i * a) % b == c) { cout << "YES"; } } cout << "NO"; return 0; }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a; cin >> b; cin >> c; for (int i = 1; i <= b; i++) { if ((i * a) % b == c) { cout << "YES"; return 0; } } cout << "NO"; return 0; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,396,315
1,396,314
u421457382
cpp
p03730
#include <bits/stdc++.h> typedef long long ll; using namespace std; ll A, B, C; bool S[100] = {false}; int main(void) { cin >> A >> B >> C; for (int i = 0; !S[A * i % B]; ++i) S[A * i % B] = true; if (S[C]) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <bits/stdc++.h> typedef long long ll; using namespace std; ll A, B, C; bool S[100] = {false}; int main(void) { cin >> A >> B >> C; for (int i = 0; !S[A * i % B]; ++i) S[A * i % B] = true; if (S[C]) cout << "YES" << endl; else cout << "NO" << endl; return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,316
1,396,317
u482531476
cpp
p03730
#include <algorithm> #include <bitset> #include <climits> #include <iostream> #include <iterator> #include <list> #include <map> #include <numeric> #include <set> #include <string> #include <utility> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) #define repi(i, n) for (auto i = ...
#include <algorithm> #include <bitset> #include <climits> #include <iostream> #include <iterator> #include <list> #include <map> #include <numeric> #include <set> #include <string> #include <utility> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) #define repi(i, n) for (auto i = ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,323
1,396,324
u358680496
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int sum = 0; bool flag = false; for (int i = 0; i < B; i++) { sum += A; if (sum % B == C) flag = true; } cout << ((flag) ? "Yes" : "No") << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int sum = 0; bool flag = false; for (int i = 0; i < B; i++) { sum += A; if (sum % B == C) flag = true; } cout << ((flag) ? "YES" : "NO") << endl; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,325
1,396,326
u672541593
cpp
p03730
#include <algorithm> #include <cmath> #include <cstdint> #include <functional> #include <iostream> #include <list> #include <map> #include <queue> #include <stack> #include <string> #include <utility> #include <vector> #define EPS (1e-7) #define INF (1e9) #define PI (acos(-1)) #define rep(i, rept) for (ll i = 0; i < re...
#include <algorithm> #include <cmath> #include <cstdint> #include <functional> #include <iostream> #include <list> #include <map> #include <queue> #include <stack> #include <string> #include <utility> #include <vector> #define EPS (1e-7) #define INF (1e9) #define PI (acos(-1)) #define rep(i, rept) for (ll i = 0; i < re...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change", "control_flow.branch.if.condition.change", "identifier.change" ]
1,396,327
1,396,328
u345965293
cpp
p03730
#include <algorithm> #include <cmath> #include <deque> #include <iostream> #include <map> #include <set> #include <stack> #include <string> #include <vector> using ll = long long; using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= c; i++) { if (i * a % b == c) { cou...
#include <algorithm> #include <cmath> #include <deque> #include <iostream> #include <map> #include <set> #include <stack> #include <string> #include <vector> using ll = long long; using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= b; i++) { if (i * a % b == c) { cou...
[ "identifier.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
1,396,329
1,396,330
u318785595
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (c % __gcd(a, b)) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (c % __gcd(a, b) == 0) { cout << "YES" << endl; } else { cout << "NO" << endl; } }
[ "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,339
1,396,340
u505369430
cpp
p03730
#include <bits/stdc++.h> using namespace std; int gcd(int a, int b) { while (b) { a %= b; swap(a, b); } return a; } int main() { int a, b, c; cin >> a >> b >> c; if (c % gcd(a, b) == 0) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int gcd(int a, int b) { while (b) { a %= b; swap(a, b); } return a; } int main() { int a, b, c; cin >> a >> b >> c; if (c % gcd(a, b) == 0) { cout << "YES" << endl; } else { cout << "NO" << endl; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,341
1,396,342
u505369430
cpp
p03730
#include <bits/stdc++.h> using namespace std; int gcd(int a, int b) { while (b) { a %= b; swap(a, b); } return a; } int main() { int a, b, c; cin >> a >> b >> c; if (c % gcd(a, b)) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int gcd(int a, int b) { while (b) { a %= b; swap(a, b); } return a; } int main() { int a, b, c; cin >> a >> b >> c; if (c % gcd(a, b) == 0) { cout << "YES" << endl; } else { cout << "NO" << endl; } }
[ "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,343
1,396,342
u505369430
cpp
p03730
#include <iostream> using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); //高速化、endlは使わない int A, B, C; cin >> A >> B >> C; bool flag = false; for (int i = 0; i < B; i++) { if ((A * i) % B == C) flag = true; } if (flag) cout << "Yes" << "\n"; else ...
#include <iostream> using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); //高速化、endlは使わない int A, B, C; cin >> A >> B >> C; bool flag = false; for (int i = 0; i < B; i++) { if ((A * i) % B == C) flag = true; } if (flag) cout << "YES" << "\n"; else ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,346
1,396,347
u718394671
cpp
p03730
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <string> #include <vector> #define F first #define S second #define vsort(v) sort((v).begin(), (v).end()) #define vrev(v) reverse((v).begin(), (v).end()) using namespace std; using ll = long long; int main(int argc, const char *argv[])...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <string> #include <vector> #define F first #define S second #define vsort(v) sort((v).begin(), (v).end()) #define vrev(v) reverse((v).begin(), (v).end()) using namespace std; using ll = long long; int main(int argc, const char *argv[])...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
1,396,350
1,396,351
u493080913
cpp
p03730
#include <bits/stdc++.h> using namespace std; #define rp(i, n) for (int i = 0; i < n; i++) #define rep(i, m, n) for (int i = m; i <= n; i++) #define lrp(i, n) for (long long i = 0; i < n; i++) #define lrep(i, m, n) for (long long i = m; i <= n; i++) #define ll long long #define sort(a) sort(a.begin(), a.end()) #define ...
#include <bits/stdc++.h> using namespace std; #define rp(i, n) for (int i = 0; i < n; i++) #define rep(i, m, n) for (int i = m; i <= n; i++) #define lrp(i, n) for (long long i = 0; i < n; i++) #define lrep(i, m, n) for (long long i = m; i <= n; i++) #define ll long long #define sort(a) sort(a.begin(), a.end()) #define ...
[ "identifier.replace.remove", "literal.replace.add", "call.arguments.change" ]
1,396,354
1,396,355
u050138914
cpp
p03730
#include <bits/stdc++.h> using namespace std; #define rp(i, n) for (int i = 0; i < n; i++) #define rep(i, m, n) for (int i = m; i <= n; i++) #define lrp(i, n) for (long long i = 0; i < n; i++) #define lrep(i, m, n) for (long long i = m; i <= n; i++) #define ll long long #define sort(a) sort(a.begin(), a.end()) #define ...
#include <bits/stdc++.h> using namespace std; #define rp(i, n) for (int i = 0; i < n; i++) #define rep(i, m, n) for (int i = m; i <= n; i++) #define lrp(i, n) for (long long i = 0; i < n; i++) #define lrep(i, m, n) for (long long i = m; i <= n; i++) #define ll long long #define sort(a) sort(a.begin(), a.end()) #define ...
[ "literal.number.change", "call.arguments.change", "identifier.replace.remove", "literal.replace.add" ]
1,396,356
1,396,355
u050138914
cpp
p03730
#include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; // ascending order #define vsort(v) sort(v.begin(), v.end()) // descending order #de...
#include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; // ascending order #define vsort(v) sort(v.begin(), v.end()) // descending order #de...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,357
1,396,358
u355254193
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i < 10000; i++) { if ((a * i) % b == c) { cout << "YES" << endl; break; } } cout << "NO" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i < 10000; i++) { if ((a * i) % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
[ "control_flow.break.remove", "control_flow.return.add", "function.return_value.change" ]
1,396,362
1,396,363
u212904724
cpp
p03730
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<ll, ll> P; #define pb push_back #define rep(i, a, n) for (int i = (a); i < (n); i++) #define dep(i, a, n) for (int i = (a); i >= (n); i--) #define mod (ll)(1e9 + 7) #define int ll __attribute__((construct...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<ll, ll> P; #define pb push_back #define rep(i, a, n) for (int i = (a); i < (n); i++) #define dep(i, a, n) for (int i = (a); i >= (n); i--) #define mod (ll)(1e9 + 7) #define int ll __attribute__((construct...
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
1,396,370
1,396,371
u986898382
cpp
p03730
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int main() { int a, b, c; int ans = 0; cin >> a >> b >> c; for (int i = 0; i < 1000000; i++) { ans += a; if (ans % b == c) { cout << "Yes" << endl; return 0; } } cout << "No" << en...
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int main() { int a, b, c; int ans = 0; cin >> a >> b >> c; for (int i = 0; i < 10000; i++) { ans += a; if (ans % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl...
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,378
1,396,379
u943840701
cpp
p03730
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int main() { int a, b, c; int ans = 0; cin >> a >> b >> c; for (int i = 0; i < 10000; i++) { ans += a; if (ans % b == c) { cout << "Yes" << endl; return 0; } } cout << "No" << endl...
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int main() { int a, b, c; int ans = 0; cin >> a >> b >> c; for (int i = 0; i < 10000; i++) { ans += a; if (ans % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,380
1,396,379
u943840701
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int x = A; if (C == 0) { cout << "Yes" << endl; return 0; } while (x % B != 0) { if (x % B == C) { cout << "Yes" << endl; return 0; } else { x += A; } } cout << "No" << endl...
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int x = A; if (C == 0) { cout << "YES" << endl; return 0; } while (x % B != 0) { if (x % B == C) { cout << "YES" << endl; return 0; } else { x += A; } } cout << "NO" << endl...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,403
1,396,404
u550995059
cpp
p03730
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <set> #include <utility> #include <vector> using ll = long long; using namespace std; int main() { ll a, b, c; cin >> a, cin >> b, cin >> c; // 適当 for (ll i = 1; i < 100000; i++) { if (c == i * a % b) { cout << "Yes" ...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <set> #include <utility> #include <vector> using ll = long long; using namespace std; int main() { ll a, b, c; cin >> a, cin >> b, cin >> c; for (ll i = 1; i <= b; i++) { if (c == i * a % b) { cout << "YES" << endl; ...
[ "control_flow.loop.for.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,405
1,396,406
u767817447
cpp
p03730
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <set> #include <utility> #include <vector> using ll = long long; using namespace std; int main() { ll a, b, c; cin >> a, cin >> b, cin >> c; // 適当 for (ll i = 1; i < 100000; i++) { if (c == i * a % b) { cout << "Yes" ...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <set> #include <utility> #include <vector> using ll = long long; using namespace std; int main() { ll a, b, c; cin >> a, cin >> b, cin >> c; // 適当 for (ll i = 1; i < 100000; i++) { if (c == i * a % b) { cout << "YES" ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,405
1,396,407
u767817447
cpp
p03730
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; bool x = false; for (int i = 1; i <= b; i++) { if ((a * i) % b == c) x = true; } if (x = true) cout << "YES" << endl; else cout << "NO" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; bool x = false; for (int i = 1; i <= b; i++) { if ((a * i) % b == c) x = true; } if (x == true) cout << "YES" << endl; else cout << "NO" << endl; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,396,413
1,396,414
u513726585
cpp
p03730
#include <bits/stdc++.h> using namespace std; main() { int A, B, C; cin >> A >> B >> C; for (int i = 1; i <= B; ++i) { if (i * A % B == 0) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
#include <bits/stdc++.h> using namespace std; main() { int A, B, C; cin >> A >> B >> C; for (int i = 1; i <= B; ++i) { if (i * A % B == C) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
1,396,424
1,396,425
u095676321
cpp
p03730
#include <bits/stdc++.h> using namespace std; main() { int A, B, C; cin >> A >> B >> C; for (int i = 1; i < B; ++i) { if (i * A % B == 0) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
#include <bits/stdc++.h> using namespace std; main() { int A, B, C; cin >> A >> B >> C; for (int i = 1; i <= B; ++i) { if (i * A % B == C) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change", "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
1,396,426
1,396,425
u095676321
cpp
p03730
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; for (int i = 1; i < 20000; i++) { if (i * a % b == c) { cout << "YES" << endl; return 0; } } cout << "No" << endl; }
#include <iostream> using namespace std; int main() { long long int a, b, c; cin >> a >> b >> c; for (int i = 1; i <= 200000; i++) { if (i * a % b == c) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
[ "control_flow.loop.for.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
1,396,429
1,396,430
u539402331
cpp
p03730
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int x = 0; for (int i = 1; i <= b; i++) { if (i * a % b == c) { x = 1; break; } } if (x = 1) cout << "YES"; else cout << "NO"; }
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int x = 0; for (int i = 1; i <= b; i++) { if ((i * a) % b == c) { x = 1; break; } } if (x == 1) cout << "YES"; else cout << "NO"; }
[ "control_flow.branch.if.condition.change", "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,396,431
1,396,432
u441296840
cpp
p03730
#include <algorithm> #include <iomanip> #include <iostream> using namespace std; #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define REP(i, n) FOR(i, 0, n) int main() { int A, B, C; cin >> A >> B >> C; int d = A % B; string ans = "NO"; REP(i, B + 1) { if ((i * d + B) % C == 0) { ans = "Y...
#include <algorithm> #include <iomanip> #include <iostream> using namespace std; #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define REP(i, n) FOR(i, 0, n) int main() { int A, B, C; cin >> A >> B >> C; int d = A % B; string ans = "NO"; REP(i, B + 1) { if ((i * d + B) % B == C) { ans = "Y...
[ "identifier.change", "control_flow.branch.if.condition.change", "identifier.replace.add", "literal.replace.remove" ]
1,396,433
1,396,434
u244712228
cpp
p03730
#include <iostream> using namespace std; int main() { int a, b, c, d, e, i; cin >> a >> b >> c; for (i = 0; i < 1000; i++) { d = a + i; e = d * b; if (c == e) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
#include <iostream> using namespace std; int main() { int a, b, c, d, e, i; cin >> a >> b >> c; for (i = 0; i < 1000; i++) { d = a * i; e = d % b; if (c == e) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }
[ "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
1,396,458
1,396,459
u583764326
cpp
p03730
#include <iostream> using namespace std; int main() { int a, b, c, d, e, f; cin >> a >> b >> c; e = 0; for (d = 0; d <= b - 1; d++) { e = a * d; if (c = e % b) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
#include <iostream> using namespace std; int main() { int a, b, c, d, e, f; cin >> a >> b >> c; e = 0; for (d = 0; d <= b - 1; d++) { e = a * d; if (c == e % b) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,396,462
1,396,463
u794495044
cpp
p03730
#include <iostream> using namespace std; int main() { int a, b, c, d, e, f; cin >> a >> b >> c; e = 0; for (d = 0; d <= b - 1; d++) { e = a * d; if (c = e % b) { cout << "YES" << endl; return 0; } else cout << "NO" << endl; return 0; } }
#include <iostream> using namespace std; int main() { int a, b, c, d, e, f; cin >> a >> b >> c; e = 0; for (d = 0; d <= b - 1; d++) { e = a * d; if (c == e % b) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; }
[ "expression.operation.compare.replace.add", "assignment.replace.remove", "misc.typo" ]
1,396,464
1,396,463
u794495044
cpp
p03730
#include <iostream> #include <string> using namespace std; int main(void) { long long a, b, c; int i; long long t = 0; int n = 0; cin >> a >> b >> c; for (i = 0; i < 100; i++) { t = t + a * i; if (t % b == c) { cout << "YES" << endl; n++; break; } } if (n == 0) { co...
#include <iostream> #include <string> using namespace std; int main(void) { long long a, b, c; int i; long long t = 0; int n = 0; cin >> a >> b >> c; for (i = 0; i <= b; i++) { t = a * i; if (t % b == c) { cout << "YES" << endl; n++; break; } } if (n == 0) { cout <<...
[ "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
1,396,472
1,396,473
u081634865
cpp