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 |
|---|---|---|---|---|---|---|---|
p02577 | #include <bits/stdc++.h>
using namespace std;
#define freop \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout);
#define st string
typedef long long ll;
int sm(ll x) {
if (x == 0) {
... | #include <bits/stdc++.h>
using namespace std;
#define freop \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout);
#define st string
typedef long long ll;
int sm(ll x) {
if (x == 0) {
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,484 | 274,485 | u033659019 | cpp |
p02577 | #include <iostream>
#include <string.h>
using namespace std;
int main() {
string s;
int i;
int sum = 0;
cin >> s;
for (i = 0; i < s.length(); i++) {
sum = sum + (s[i] - '0');
}
cout << sum;
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
}
| #include <iostream>
#include <string.h>
using namespace std;
int main() {
string s;
int i;
int sum = 0;
cin >> s;
for (i = 0; i < s.length(); i++) {
sum = sum + (s[i] - '0');
}
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
}
| [] | 274,486 | 274,487 | u061450504 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
int c = 0;
int t;
cin >> n;
for (int i = 0; i < n.size(); i++) {
t = (int)n.at(i) - 48;
cout << t;
c += t;
}
if (c % 9 == 0)
cout << "Yes";
else
cout << "No";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
int c = 0;
int t;
cin >> n;
for (int i = 0; i < n.size(); i++) {
t = (int)n.at(i) - 48;
c += t;
}
if (c % 9 == 0)
cout << "Yes";
else
cout << "No";
}
| [] | 274,488 | 274,489 | u908977818 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
using str = string;
using ll = long long;
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define RREP(i, n) for (int i = int(n) - 1; i >= 0; i--)
#define FOR(i, f, t) for (int i = int(f); i <= int(t); i++)
#define RFOR(i, f, t) for (int i = int(f); i >= int(t); i--)
#de... | #include <bits/stdc++.h>
using namespace std;
using str = string;
using ll = long long;
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define RREP(i, n) for (int i = int(n) - 1; i >= 0; i--)
#define FOR(i, f, t) for (int i = int(f); i <= int(t); i++)
#define RFOR(i, f, t) for (int i = int(f); i >= int(t); i--)
#de... | [
"assignment.change"
] | 274,490 | 274,491 | u644495446 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef double dd;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
const int mx = 1e6 + 11;
const double PI = acos(-1);
#define MOD 1000000007
#define nl '\n'
#define pb push_back
#define F ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef double dd;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
const int mx = 1e6 + 11;
const double PI = acos(-1);
#define MOD 1000000007
#define nl '\n'
#define pb push_back
#define F ... | [
"control_flow.branch.if.condition.change"
] | 274,492 | 274,493 | u328388864 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
void solve() {
string s;
int n, res = 0;
cin >> s;
n = s.length();
for (int i = 0; i < n; i++)
res += s[i] - '0';
if (res % 9)
cout << "NO"
<< "\n";
else
cout << "YES"
<< "\n";
}
int main() {
ios::sync_with_stdio(false);
sol... | #include <bits/stdc++.h>
using namespace std;
void solve() {
string s;
int n, res = 0;
cin >> s;
n = s.length();
for (int i = 0; i < n; i++)
res += s[i] - '0';
if (res % 9)
cout << "No"
<< "\n";
else
cout << "Yes"
<< "\n";
}
int main() {
ios::sync_with_stdio(false);
sol... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,497 | 274,498 | u720448853 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
string s;
cin >> s;
int x = 0;
for (int i = 0; i < s.length(); ++i) {
x += s[i];
}
string ans = (x % 9 == 0 ? "Yes" : "No");
cout << ans;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
string s;
cin >> s;
int x = 0;
for (int i = 0; i < s.length(); ++i) {
x += (s[i] - '0');
}
string ans = (x % 9 == 0 ? "Yes" : "No");
cout << ans;
return 0;
} | [] | 274,506 | 274,507 | u221811114 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define fast_IO \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define endl '\... | #include <bits/stdc++.h>
using namespace std;
#define fast_IO \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define endl '\... | [] | 274,508 | 274,509 | u476305001 | cpp |
p02577 | #include <bits/stdc++.h>
#include <map>
using namespace std;
/** defines and macros */
#define ll long long
#define ull unsigned long long
#define loop(n) for (int i = 0; i < n; i++)
#define loop1(n) for (int i = 1; i <= n; i++)
#define all(v) (v.begin(), v.end())
#define vi vector<int>
#define pii pair<int, int>
#def... | #include <bits/stdc++.h>
#include <map>
using namespace std;
/** defines and macros */
#define ll long long
#define ull unsigned long long
#define loop(n) for (int i = 0; i < n; i++)
#define loop1(n) for (int i = 1; i <= n; i++)
#define all(v) (v.begin(), v.end())
#define vi vector<int>
#define pii pair<int, int>
#def... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,512 | 274,513 | u489418120 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
long long length, num = 0;
length = s.length();
for (long i = 0; i < length; i++) {
int k = s[i] - '0';
num += k;
num = num % 9;
}
if (num % 9 == 0)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
long long length, num = 0;
length = s.length();
for (long i = 0; i < length; i++) {
int k = s[i] - '0';
num += k;
num = num % 9;
}
if (num % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,514 | 274,515 | u139584165 | cpp |
p02577 | //#pragma GCC optimize "trapv"
#include <bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
#define rand rng
#define fios \
ios::sync_with_stdio(0); ... | //#pragma GCC optimize "trapv"
#include <bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
#define rand rng
#define fios \
ios::sync_with_stdio(0); ... | [
"variable_declaration.type.change",
"literal.string.change",
"io.output.change"
] | 274,524 | 274,525 | u013681632 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n == "0") {
cout << "Yes" << endl;
return 0;
}
int cnt = 0;
for (int i = 0; i < n.size(); i++) {
cnt += n[i];
}
if (cnt % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n == "0") {
cout << "Yes" << endl;
return 0;
}
int cnt = 0;
for (int i = 0; i < n.size(); i++) {
cnt += n[i] - '0';
}
if (cnt % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
... | [
"assignment.change"
] | 274,528 | 274,529 | u058106405 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n == "0") {
cout << "Yes" << endl;
return 0;
}
int cnt = 0;
for (int i = 0; i < n.length(); i++) {
cnt += n[i];
}
if (cnt % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n == "0") {
cout << "Yes" << endl;
return 0;
}
int cnt = 0;
for (int i = 0; i < n.size(); i++) {
cnt += n[i] - '0';
}
if (cnt % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
... | [
"call.function.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"assignment.change"
] | 274,530 | 274,529 | u058106405 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n == "0") {
cout << "Yes" << endl;
return 0;
}
int cnt = 0;
for (long long int i = 0; i < n.size(); i++) {
cnt += n[i];
}
if (cnt % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return... | #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n == "0") {
cout << "Yes" << endl;
return 0;
}
int cnt = 0;
for (int i = 0; i < n.size(); i++) {
cnt += n[i] - '0';
}
if (cnt % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
... | [
"control_flow.loop.for.initializer.change",
"assignment.change"
] | 274,531 | 274,529 | u058106405 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define NUM 1000000007
#define MAX 100001
#define INF LLONG_MAX
bool check(string s) {
int n = s.length();
int sum = 0;
for (int i = 0; i < n; i++)
sum += (s[i] - '0');
return (sum % 9 == 0);
}
int main() {
ios_base::s... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define NUM 1000000007
#define MAX 100001
#define INF LLONG_MAX
bool check(string s) {
int n = s.length();
int sum = 0;
for (int i = 0; i < n; i++)
sum += (s[i] - '0');
return (sum % 9 == 0);
}
int main() {
ios_base::s... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,533 | 274,534 | u010088425 | cpp |
p02577 | #include <iostream>
#include <map>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
int digit_sum = 0;
int l = s.length();
for (int i = 0; i < l; ++i) {
digit_sum += (s[i] - '0');
}
cout << (!digit_sum || digit_sum % 9 ? "No" : "Yes");
} | #include <iostream>
#include <map>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
int digit_sum = 0;
int l = s.length();
for (int i = 0; i < l; ++i) {
digit_sum += (s[i] - '0');
}
cout << (digit_sum % 9 ? "No" : "Yes");
} | [
"expression.operation.binary.remove"
] | 274,539 | 274,540 | u217218591 | cpp |
p02577 | #include <algorithm> //辞書順=next_permutation
#include <cmath>
#include <complex>
#include <iomanip>
#include <iostream>
#include <locale>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <string> //char 小文字のほうが32大きい
#include <time.h>
#... | #include <algorithm> //辞書順=next_permutation
#include <cmath>
#include <complex>
#include <iomanip>
#include <iostream>
#include <locale>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <string> //char 小文字のほうが32大きい
#include <time.h>
#... | [
"assignment.change"
] | 274,543 | 274,544 | u830366840 | cpp |
p02577 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define reps(i, n) for (int i = 1; i < (int)(n); i++)
typedef long long ll;
using namespace std;
int main() {
string n;
cin >> n;
ll sum = 0;
rep(i, n.length()) { sum += n[i] - '0'; }
if (sum % 9 == 0) {
cout << "yes" << endl;... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define reps(i, n) for (int i = 1; i < (int)(n); i++)
typedef long long ll;
using namespace std;
int main() {
string n;
cin >> n;
ll sum = 0;
rep(i, n.length()) { sum += n[i] - '0'; }
if (sum % 9 == 0) {
cout << "Yes" << endl;... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,547 | 274,548 | u566317458 | cpp |
p02577 | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <typeinfo>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define INF 1001001
using namespace std;
int main() {
string s;
int n = 0, result = 0;
cin >> s;
for (int i = ... | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <typeinfo>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define INF 1001001
using namespace std;
int main() {
string s;
int n = 0, result = 0;
cin >> s;
for (int i = ... | [
"call.function.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,562 | 274,563 | u826986938 | cpp |
p02577 | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <typeinfo>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define INF 1001001
using namespace std;
int main() {
string s;
int n = 0, result = 0;
cin >> s;
for (int i = ... | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <typeinfo>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define INF 1001001
using namespace std;
int main() {
string s;
int n = 0, result = 0;
cin >> s;
for (int i = ... | [
"assignment.value.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,565 | 274,563 | u826986938 | cpp |
p02577 | #include <bits/stdc++.h>
#define pb push_back
#define wrln cout << '\n';
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int d = 0;
int f[100];
for (int i = '0'; i <= '9'; i++) {
f[i] = d++;
}
char a;
string s;
cin >> s;
int sum = 0;
for (auto a : s)... | #include <bits/stdc++.h>
#define pb push_back
#define wrln cout << '\n';
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int d = 0;
int f[100];
for (int i = '0'; i <= '9'; i++) {
f[i] = d++;
}
char a;
string s;
cin >> s;
int sum = 0;
for (auto a : s)... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,579 | 274,580 | u158111417 | cpp |
p02577 | #include <cctype>
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
long long x = 0;
long long n = s.length();
for (int i = 0; i < n; i++)
x += (int)s[i] - '0';
if (x / 9 == 0)
cout << "YES";
else
cout << "NO";
} | #include <cctype>
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
long long x = 0;
long long n = s.length();
for (int i = 0; i < n; i++)
x += (int)s[i] - '0';
if (x % 9 == 0)
cout << "Yes";
else
cout << "No";
} | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,581 | 274,582 | u311803789 | cpp |
p02577 | #include <cctype>
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
long long x = 0;
long long n = s.length();
for (int i = 0; i < n; i++)
x += (int)s[i] - '0';
if (x % 9 == 0)
cout << "YES";
else
cout << "NO";
} | #include <cctype>
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
long long x = 0;
long long n = s.length();
for (int i = 0; i < n; i++)
x += (int)s[i] - '0';
if (x % 9 == 0)
cout << "Yes";
else
cout << "No";
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,583 | 274,582 | u311803789 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
typedef pair<int, int> pii;
#define endl "\n"
#define sd(val) scanf("%d", &val)
#define ss(val) scanf("%s", &val)
#define sl(val) scanf("%lld", &val)
#define debug(val) printf("check%d\n", val)
#define all(v) v.begin(), v.end()
#define PB push_back
... | #include <bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
typedef pair<int, int> pii;
#define endl "\n"
#define sd(val) scanf("%d", &val)
#define ss(val) scanf("%s", &val)
#define sl(val) scanf("%lld", &val)
#define debug(val) printf("check%d\n", val)
#define all(v) v.begin(), v.end()
#define PB push_back
... | [] | 274,585 | 274,586 | u446710313 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define MAXN 200005
char a[MAXN];
int main() {
long long ans = 0;
scanf("%s", a);
for (int i = 0; i < strlen(a); i++)
ans == a[i] - '0';
if (ans % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define MAXN 200005
char a[MAXN];
int main() {
long long ans = 0;
scanf("%s", a);
for (int i = 0; i < strlen(a); i++)
ans += a[i] - '0';
if (ans % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"expression.operation.binary.change"
] | 274,589 | 274,590 | u932890426 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int ctoi(char c) {
switch (c) {
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
case '3':
return 3;
case '4':
return 4;
case '5':
return 5;
case '6':
return 6;
case '7':
return 7;
case '8':
return 8;
case... | #include <bits/stdc++.h>
using namespace std;
int ctoi(char c) {
switch (c) {
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
case '3':
return 3;
case '4':
return 4;
case '5':
return 5;
case '6':
return 6;
case '7':
return 7;
case '8':
return 8;
case... | [
"variable_declaration.type.narrow.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,591 | 274,592 | u896340246 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int ctoi(char c) {
switch (c) {
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
case '3':
return 3;
case '4':
return 4;
case '5':
return 5;
case '6':
return 6;
case '7':
return 7;
case '8':
return 8;
case... | #include <bits/stdc++.h>
using namespace std;
int ctoi(char c) {
switch (c) {
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
case '3':
return 3;
case '4':
return 4;
case '5':
return 5;
case '6':
return 6;
case '7':
return 7;
case '8':
return 8;
case... | [
"variable_declaration.type.narrow.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,593 | 274,592 | u896340246 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int ctoi(char c) {
switch (c) {
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
case '3':
return 3;
case '4':
return 4;
case '5':
return 5;
case '6':
return 6;
case '7':
return 7;
case '8':
return 8;
case... | #include <bits/stdc++.h>
using namespace std;
int ctoi(char c) {
switch (c) {
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
case '3':
return 3;
case '4':
return 4;
case '5':
return 5;
case '6':
return 6;
case '7':
return 7;
case '8':
return 8;
case... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,594 | 274,592 | u896340246 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
cin >> N;
int X = 0;
int l = N.size();
for (int i = 0; i < l; i++)
X += N.at(i);
if (X % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
cin >> N;
int X = 0;
int l = N.size();
for (int i = 0; i < l; i++)
X += N.at(i) - '0';
if (X % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [
"assignment.change"
] | 274,595 | 274,596 | u430394202 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define take \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout); \
freopen("error.txt", "w", std... | #include <bits/stdc++.h>
using namespace std;
#define take \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout); \
freopen("error.txt", "w", std... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,606 | 274,607 | u501316317 | cpp |
p02577 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define repd(i, a, b) for (int i = (a); i < (b)... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define repd(i, a, b) for (int i = (a); i < (b)... | [] | 274,623 | 274,624 | u982122545 | cpp |
p02577 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define repd(i, a, b) for (int i = (a); i < (b)... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define repd(i, a, b) for (int i = (a); i < (b)... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 274,625 | 274,624 | u982122545 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
char n;
int main() {
int sum = 0;
while (cin >> n) {
n = (int)n;
sum = sum + n;
}
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
char n;
int main() {
int sum = 0;
while (cin >> n) {
n = (int)n;
sum = sum + n - 48;
}
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
return 0;
}
| [
"assignment.change"
] | 274,626 | 274,627 | u213786580 | cpp |
p02577 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <stdlib.h>
#include <string>
#include <vector>
#define ran(x) (x).begin(), (x).end()
using namespace std;
int main() {
string n;
cin >> n;
if (n == "0")
return cout << "Yes" << endl, 0;
int64_t sum = 0;
fo... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <stdlib.h>
#include <string>
#include <vector>
#define ran(x) (x).begin(), (x).end()
using namespace std;
int main() {
string n;
cin >> n;
if (n == "0")
return cout << "Yes" << endl, 0;
int64_t sum = 0;
fo... | [
"assignment.change"
] | 274,628 | 274,629 | u141567616 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
inline int rd() {
int x = 0;
bool f = 0;
char c = getchar();
while (!isdigit(c)) {
if (c == '-')
f = 1;
c = getchar();
}
while (isdigit(c)) {
x = x * 10 + (c ^ 48);
c = getchar();
}
return f ? -x : x;
}
char s[20000007];
int main() {... | #include <bits/stdc++.h>
using namespace std;
inline int rd() {
int x = 0;
bool f = 0;
char c = getchar();
while (!isdigit(c)) {
if (c == '-')
f = 1;
c = getchar();
}
while (isdigit(c)) {
x = x * 10 + (c ^ 48);
c = getchar();
}
return f ? -x : x;
}
char s[2000007];
int main() {
... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 274,630 | 274,631 | u374645816 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
inline int rd() {
int x = 0;
bool f = 0;
char c = getchar();
while (!isdigit(c)) {
if (c == '-')
f = 1;
c = getchar();
}
while (isdigit(c)) {
x = x * 10 + (c ^ 48);
c = getchar();
}
return f ? -x : x;
}
char s[200007];
int main() {
... | #include <bits/stdc++.h>
using namespace std;
inline int rd() {
int x = 0;
bool f = 0;
char c = getchar();
while (!isdigit(c)) {
if (c == '-')
f = 1;
c = getchar();
}
while (isdigit(c)) {
x = x * 10 + (c ^ 48);
c = getchar();
}
return f ? -x : x;
}
char s[2000007];
int main() {
... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"call.arguments.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,632 | 274,631 | u374645816 | cpp |
p02577 | #include <algorithm>
#include <cstring>
#include <iostream>
using namespace std;
int main() {
string n;
cin >> n;
int res = 0;
for (int i = 0; i < n.size(); i++)
res += n[i];
if (res % 9)
puts("No");
else
puts("Yes");
return 0;
} | #include <algorithm>
#include <cstring>
#include <iostream>
using namespace std;
int main() {
string n;
cin >> n;
int res = 0;
for (int i = 0; i < n.size(); i++)
res += n[i] - '0';
if (res % 9)
puts("No");
else
puts("Yes");
return 0;
} | [
"assignment.change"
] | 274,637 | 274,638 | u059343353 | cpp |
p02577 | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
string s;
cin >> s;
ll l = s.size();
ll sum = 0;
for (int i = 0; i < l; i++) {
sum += int(s[i]);
}
if (sum % 9 == 0) {
cout << "Yes";
} else
cout << "No";
} | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
string s;
cin >> s;
ll l = s.size();
ll sum = 0;
for (int i = 0; i < l; i++) {
sum += int(s[i]) - 48;
}
// cout<<sum<<endl;
if (sum % 9 == 0) {
cout << "Yes";
} else
cout << "No";
} | [
"assignment.change"
] | 274,639 | 274,640 | u676312981 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long c, a;
string n;
cin >> n;
for (long long i = 0; i < n.size(); i++) {
c = n[0] - 48;
a += c;
}
if (a % 9 == 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long c, a = 0;
string n;
cin >> n;
for (long long i = 0; i < n.size(); i++) {
c = n[i] - 48;
a += c;
}
if (a % 9 == 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [
"variable_declaration.value.change",
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 274,641 | 274,642 | u631226890 | cpp |
p02577 | #include <iostream>
using namespace std;
int main() {
long long n, sum = 0, i, temp;
string s;
cin >> s;
int k = s.length();
for (i = 0; i < k; i++) {
n = s[i] - '0';
temp = n % 10;
sum = sum + temp;
}
if (sum % 9 == 0)
cout << "YES\n";
else
cout << "NO\n";
return 0;
} | #include <iostream>
using namespace std;
int main() {
long long n, sum = 0, i, temp;
string s;
cin >> s;
int k = s.length();
for (i = 0; i < k; i++) {
n = s[i] - '0';
temp = n % 10;
sum = sum + temp;
}
if (sum % 9 == 0)
cout << "Yes\n";
else
cout << "No\n";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,650 | 274,651 | u836394446 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fast_io \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.ti... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fast_io \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.ti... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,655 | 274,656 | u160740019 | cpp |
p02577 | #include <iostream>
using namespace std;
int main() {
char temp;
int sum = 0;
while (cin >> temp)
sum += temp - '0';
if (!(sum % 9) && sum != 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
char temp;
int sum = 0;
while (cin >> temp)
sum += temp - '0';
if (!(sum % 9))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [
"expression.operation.binary.remove"
] | 274,661 | 274,662 | u652797944 | cpp |
p02577 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
int32_t main() {
string n;
cin >> n;
int sum = 0, a;
for (int i = 0; i < n.size(); i++) {
char c = n[i];
a = (int)c - 48;
sum += a;
}
// cout<<sum<<endl;
if (sum % 9 == 0) {
cout << "YES" << endl;
} else {
cout << ... |
#include <bits/stdc++.h>
using namespace std;
#define int long long
int32_t main() {
string n;
cin >> n;
int sum = 0, a;
for (int i = 0; i < n.size(); i++) {
char c = n[i];
a = (int)c - 48;
sum += a;
}
// cout<<sum<<endl;
if (sum % 9 == 0) {
cout << "Yes" << endl;
} else {
cout << ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,665 | 274,666 | u150985509 | cpp |
p02577 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <vector>
#define maxn 1000010
#define maxm 1000010
#define ls x << 1
#define rs x << 1 | 1
#define inf 10000000000
#define inc(i) (++(i))
#define dec(i) (--(i))
#define mid ((l + r) >> 1)
#define int long long
#defin... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <vector>
#define maxn 1000010
#define maxm 1000010
#define ls x << 1
#define rs x << 1 | 1
#define inf 10000000000
#define inc(i) (++(i))
#define dec(i) (--(i))
#define mid ((l + r) >> 1)
#define int long long
#defin... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 274,677 | 274,678 | u753166694 | cpp |
p02577 | #include <bits/stdc++.h>
#define endl "\n"
#define ff first
#define ss second
#define PB push_back
#define MP make_pair
#define ll long long
#define llu unsigned long long
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define ABS(X) ((X) < 0 ? -(X) : (X))
#define LCM(X, Y) (((X... | #include <bits/stdc++.h>
#define endl "\n"
#define ff first
#define ss second
#define PB push_back
#define MP make_pair
#define ll long long
#define llu unsigned long long
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define ABS(X) ((X) < 0 ? -(X) : (X))
#define LCM(X, Y) (((X... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,683 | 274,684 | u149923287 | cpp |
p02577 | // Starting with the name of Allah
#include <bits/stdc++.h>
#define ll long long
#define nl endl
#define Nayon \
ios::sync_with_stdio(0); \
cin.tie(0); ... | // Starting with the name of Allah
#include <bits/stdc++.h>
#define ll long long
#define nl endl
#define Nayon \
ios::sync_with_stdio(0); \
cin.tie(0); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,685 | 274,686 | u682622409 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int sum = 0;
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
sum = sum + (s[i] - '0');
}
if (sum % 9 == 0)
cout << "YES";
else
cout << "NO";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int sum = 0;
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
sum = sum + (s[i] - '0');
}
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,687 | 274,688 | u213677119 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int sum = 0;
string s;
cin >> s;
for (int i; i < s.size(); i++) {
sum = sum + (s[i] - '0');
}
if (sum % 9 == 0)
cout << "YES";
else
cout << "NO";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int sum = 0;
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
sum = sum + (s[i] - '0');
}
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
}
| [
"control_flow.loop.for.initializer.change",
"variable_declaration.value.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,689 | 274,688 | u213677119 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n, x, t, y, i;
string s;
cin >> s;
n = s.length();
y = 0;
for (i = 0; i < n; i++) {
y = y + s[i] - '0';
}
if (y % 9 == 0)
cout << "YES";
else
cout << "NO";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n, x, t, y, i;
string s;
cin >> s;
n = s.length();
y = 0;
for (i = 0; i < n; i++) {
y = y + s[i] - '0';
}
if (y % 9 == 0)
cout << "Yes";
else
cout << "No";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,693 | 274,694 | u840682245 | cpp |
p02577 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
string N;
cin >> N;
int sum = 0, count = N.size();
for (int i = 0; i < count; i++) {
sum += N[count - i - 1];
}
if (sum % 9 == 0)
cout << "Yes" << endl;
else {
cout << "No" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
string N;
cin >> N;
int sum = 0, count = N.size();
for (int i = 0; i < count; i++) {
sum = sum + N[count - i - 1] - 48;
}
if (sum % 9 == 0)
cout << "Yes" << endl;
else {
cout << "No" << endl;
}
return 0;
}
| [
"assignment.value.change",
"assignment.change"
] | 274,697 | 274,698 | u725921481 | cpp |
p02577 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
string s;
cin >> s;
int sum = 0;
for (int i = 0; i < s.length(); i++) {
sum = sum + s[i] - 48;
}
if (sum % 9 == 0)
cout << "yes";
else {
cout << "No";
}
return 0;
}
|
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
string s;
cin >> s;
int sum = 0;
for (int i = 0; i < s.length(); i++) {
sum = sum + s[i] - 48;
}
if (sum % 9 == 0)
cout << "Yes";
else {
cout << "No";
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,703 | 274,704 | u969207693 | cpp |
p02577 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
// 3
// 4
// 1 2
// 2 3
// 3 4
// 2
// 2 2
// 4
// 3 4
// 1 3
// 3 2
// 2
// 3 2
// 7
// 6 1
// 2 3
// 4 6
// 7 3
// 5 1
// 3 6
// 4
// 7 5 13 3
// 20 12 6
int main() {
string s;
cin >> s;
ll z = 0;
for (ll p = 0; p < s.length(); p++) {
z +=... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
// 3
// 4
// 1 2
// 2 3
// 3 4
// 2
// 2 2
// 4
// 3 4
// 1 3
// 3 2
// 2
// 3 2
// 7
// 6 1
// 2 3
// 4 6
// 7 3
// 5 1
// 3 6
// 4
// 7 5 13 3
// 20 12 6
int main() {
string s;
cin >> s;
ll z = 0;
for (ll p = 0; p < s.length(); p++) {
z +=... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,716 | 274,717 | u158107532 | cpp |
p02577 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
// 3
// 4
// 1 2
// 2 3
// 3 4
// 2
// 2 2
// 4
// 3 4
// 1 3
// 3 2
// 2
// 3 2
// 7
// 6 1
// 2 3
// 4 6
// 7 3
// 5 1
// 3 6
// 4
// 7 5 13 3
// 20 12 6
int main() {
string s;
cin >> s;
unsigned ll z = 0;
for (ll p = 0; p < s.length(); p++) {... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
// 3
// 4
// 1 2
// 2 3
// 3 4
// 2
// 2 2
// 4
// 3 4
// 1 3
// 3 2
// 2
// 3 2
// 7
// 6 1
// 2 3
// 4 6
// 7 3
// 5 1
// 3 6
// 4
// 7 5 13 3
// 20 12 6
int main() {
string s;
cin >> s;
ll z = 0;
for (ll p = 0; p < s.length(); p++) {
z +=... | [
"variable_declaration.type.narrow.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,718 | 274,717 | u158107532 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fo(i, n) for (ll i = 0; i < n; i++)
void solve() {
string s;
cin >> s;
ll ans = 0;
fo(i, s.length()) ans += (ll)(s[i] - '0');
if (ans % 9 == 0)
cout << "YES";
else
cout << "NO";
}
int main() {
ios_base::sync_with_std... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fo(i, n) for (ll i = 0; i < n; i++)
void solve() {
string s;
cin >> s;
ll ans = 0;
fo(i, s.length()) ans += (ll)(s[i] - '0');
if (ans % 9 == 0)
cout << "Yes";
else
cout << "No";
}
int main() {
ios_base::sync_with_std... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,719 | 274,720 | u389572552 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define loop(i,... | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define loop(i,... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,725 | 274,726 | u460542889 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int ctoi(char c) {
switch (c) {
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
case '3':
return 3;
case '4':
return 4;
case '5':
return 5;
case '6':
return 6;
case '7':
return 7;
case '8':
return 8;
cas... | #include <bits/stdc++.h>
using namespace std;
int ctoi(char c) {
switch (c) {
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
case '3':
return 3;
case '4':
return 4;
case '5':
return 5;
case '6':
return 6;
case '7':
return 7;
case '8':
return 8;
cas... | [
"expression.operation.binary.remove"
] | 274,729 | 274,730 | u770495365 | cpp |
p02577 | #include <iostream>
#include <string>
int main() {
std::string str;
std::cin >> str;
long long sum = 0;
for (char c : str) {
sum += c - int('0');
}
std::cout << (sum % 9 == 0 ? "YES\n" : "NO\n");
} | #include <iostream>
#include <string>
int main() {
std::string str;
std::cin >> str;
long long sum = 0;
for (char c : str) {
sum += c - int('0');
}
std::cout << (sum % 9 == 0 ? "Yes\n" : "No\n");
}
| [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 274,733 | 274,734 | u482070202 | cpp |
p02577 | /*___________Bismillahir Rahmanir Rahim__________*/
// Think positive, be positive and never use negative words
#include <bits/stdc++.h>
#define RON \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | /*___________Bismillahir Rahmanir Rahim__________*/
// Think positive, be positive and never use negative words
#include <bits/stdc++.h>
#define RON \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | [
"preprocessor.define.value.change"
] | 274,735 | 274,736 | u424073333 | cpp |
p02577 | #include <algorithm>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
typedef long long int ll;
typedef vector<ll> vll;
typedef vector<char> vc;
typedef ve... | #include <algorithm>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
typedef long long int ll;
typedef vector<ll> vll;
typedef vector<char> vc;
typedef ve... | [
"expression.operation.binary.remove"
] | 274,737 | 274,738 | u361568750 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
string num;
cin >> num;
ll sum = 0;
ll len = num.length();
for (ll i = 0; i < len; i++) {
sum = ((sum * 10) + (num[i] - '0')) % 9;
}
if (sum == 0) ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
string num;
cin >> num;
ll sum = 0;
ll len = num.length();
for (ll i = 0; i < len; i++) {
sum = ((sum * 10) + (num[i] - '0')) % 9;
}
if (sum == 0) ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,746 | 274,747 | u950501521 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int sum = 0;
int len = s.length();
for (int i = 0; i < len; i++) {
sum += s[i] - 48;
}
if (sum % 9 == 0)
cout << "YES" << endl;
else {
cout << "NO" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int sum = 0;
int len = s.length();
for (int i = 0; i < len; i++) {
sum += s[i] - 48;
}
if (sum % 9 == 0)
cout << "Yes" << endl;
else {
cout << "No" << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,748 | 274,749 | u702158898 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int sum = 0;
int len = s.length();
for (int i = 0; i < len; i++) {
sum += int(s[i]) - 48;
}
if (sum % 9 == 0)
cout << "YES" << endl;
else {
cout << "NO" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int sum = 0;
int len = s.length();
for (int i = 0; i < len; i++) {
sum += s[i] - 48;
}
if (sum % 9 == 0)
cout << "Yes" << endl;
else {
cout << "No" << endl;
}
return 0;
} | [
"call.remove",
"call.arguments.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,750 | 274,749 | u702158898 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define ld long double
#define pb push_back
#define mp make_pair
#define fi(i, start, end) for (int i = start; i < end; ++i)
#define Fastio \
ios_base::sync_with_stdio(false); ... | #include <bits/stdc++.h>
using namespace std;
#define ld long double
#define pb push_back
#define mp make_pair
#define fi(i, start, end) for (int i = start; i < end; ++i)
#define Fastio \
ios_base::sync_with_stdio(false); ... | [] | 274,751 | 274,752 | u043357590 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
long long int sum = 0;
for (int i = 0; i < s.size(); i++) {
int x = (int)(s[i] - '0');
sum += x;
}
if (sum % 9 == 0)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
long long int sum = 0;
for (int i = 0; i < s.size(); i++) {
int x = (int)(s[i] - '0');
sum += x;
}
if (sum % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,755 | 274,756 | u801681876 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int INF = 1e9 + 100;
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
string s;
cin >> s;
int res = 0;
for (auto it : s) {
res += it - '0';
}
if (res % 9 == 0 && res != 0) {
cout << "Yes\n";
} else {
cout ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int INF = 1e9 + 100;
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
string s;
cin >> s;
int res = 0;
for (auto it : s) {
res += it - '0';
}
if (res % 9 == 0) {
cout << "Yes\n";
} else {
cout << "No\n";
... | [
"expression.operation.binary.remove"
] | 274,759 | 274,760 | u567815593 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
char s[200000];
cin >> s;
int sum = 0, i = 0;
while (s[i]) {
sum = sum + s[i];
i++;
if (sum % 9 == 0)
sum = 0;
}
if (sum % 9 == 0)
cout << "Yes\n";
else
cout << "No\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char s[200000];
cin >> s;
int sum = 0, i = 0;
while (s[i]) {
sum = sum + (int)s[i] - 48;
i++;
if (sum % 9 == 0)
sum = 0;
}
if (sum % 9 == 0)
cout << "Yes\n";
else
cout << "No\n";
return 0;
} | [
"assignment.change"
] | 274,765 | 274,766 | u442752977 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define hetu \
int t; \
cin >> t; \
whi... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define hetu \
int t; \
cin >> t; \
whi... | [] | 274,771 | 274,772 | u185088224 | cpp |
p02577 | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
int main() {
string N;
cin >> N;
int M = N.size();
int ans = 0;
int X;
rep(i, M) {
X = (N.at(i) - 3) ... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
int main() {
string N;
cin >> N;
int M = N.size();
int ans = 0;
int X;
rep(i, M) {
X = (N.at(i) - 3) ... | [] | 274,776 | 274,777 | u025773431 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define int long unsigned int
int32_t main() {
string s;
cin >> s;
int sum = 0;
for (int i = 0; i < s.length(); i++) {
sum += s[i] - 48;
}
// cout<<sum;
if (sum % 9 == 0)
cout << "YES";
else
cout << "NO";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define int long unsigned int
int32_t main() {
string s;
cin >> s;
int sum = 0;
for (int i = 0; i < s.length(); i++) {
sum += s[i] - 48;
}
// cout<<sum;
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,789 | 274,790 | u154617791 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repA(i, a, n) for (int i = a; i <= (n); ++i)
#define repD(i, a, n) for (int i = a; i >= (n); --i)
#define trav(a, x) for (auto &a : x)
#define fix(a) \
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repA(i, a, n) for (int i = a; i <= (n); ++i)
#define repD(i, a, n) for (int i = a; i >= (n); --i)
#define trav(a, x) for (auto &a : x)
#define fix(a) \
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,798 | 274,799 | u184961050 | cpp |
p02577 | ///----> bismillahir rahmanir rahim <---- -- { ^ _ ^ }
/// { ^_^ } { ^ _ ^ }
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<vi> vvi; /// VECTOR<VECTOR<INT>NAME>NAME 2
typedef vector<vl> vvl; /// LONG LONG
typedef pair<int, int> p... | ///----> bismillahir rahmanir rahim <---- -- { ^ _ ^ }
/// { ^_^ } { ^ _ ^ }
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<vi> vvi; /// VECTOR<VECTOR<INT>NAME>NAME 2
typedef vector<vl> vvl; /// LONG LONG
typedef pair<int, int> p... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,800 | 274,801 | u549710922 | cpp |
p02577 | ///----> bismillahir rahmanir rahim <---- -- { ^ _ ^ }
/// { ^_^ } { ^ _ ^ }
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<vi> vvi; /// VECTOR<VECTOR<INT>NAME>NAME 2
typedef vector<vl> vvl; /// LONG LONG
typedef pair<int, int> p... | ///----> bismillahir rahmanir rahim <---- -- { ^ _ ^ }
/// { ^_^ } { ^ _ ^ }
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<vi> vvi; /// VECTOR<VECTOR<INT>NAME>NAME 2
typedef vector<vl> vvl; /// LONG LONG
typedef pair<int, int> p... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"control_flow.loop.for.initializer.change",
"variable_declaration.type.widen.change"
] | 274,803 | 274,801 | u549710922 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a = 0;
string s;
cin >> s;
for (int i = 0; i < s.length(); i++) {
a += s[i] - 48;
}
if (a % 9 == 0) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a = 0;
string s;
cin >> s;
for (int i = 0; i < s.length(); i++) {
a += s[i] - 48;
}
if (a % 9 == 0) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,812 | 274,813 | u935166934 | cpp |
p02577 | #include <math.h>
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int N = 0;
string Number;
cin >> Number;
for (int i = 0; i < Number.size(); i++) {
char X = Number[i];
N += X;
if (N % 9 == 0)
N = 0;
}
if (N ... | #include <math.h>
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int N = 0;
string Number;
cin >> Number;
for (int i = 0; i < Number.size(); i++) {
char X = Number[i] - 48;
N += X;
if (N % 9 == 0)
N = 0;
}
i... | [
"assignment.change"
] | 274,814 | 274,815 | u321275521 | cpp |
p02577 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
long long int x;
int a;
a = 0;
for (int i = 0; i < s.length(); i++) {
x = s[i] - '0';
a = a + x;
}
if (a % 9 == 0) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
long long int x;
long long int a;
a = 0;
for (int i = 0; i < s.length(); i++) {
x = s[i] - '0';
a = a + x;
}
if (a % 9 == 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,818 | 274,819 | u878034249 | cpp |
p02577 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
long long int ans = 0;
for (long long int i = 0; i < s.size(); ++i) {
ans += int(s[i] - '0');
}
ans % 9 == 0 ? cout << "YES" << endl : cout << "NO" << endl;
return 0;
} | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
long long int ans = 0;
for (long long int i = 0; i < s.length(); ++i) {
ans += int(s[i] - '0');
}
ans % 9 == 0 ? cout << "Yes" << endl : cout << "No" << endl;
return 0;
} | [
"call.function.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change"
] | 274,821 | 274,822 | u579610094 | cpp |
p02577 | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define looplt(i, x) for (i = 0; i < x; ++i)
#define bsrch(v, x) binary_search(v.begin(), v.end(), x)
#define vecl vector<long long int>
#define pb(x) push_back(x)
const long long int MAX_INT = 10e+10;
typedef long long int ll;
void pvec(vector<ll> &inp) ... | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define looplt(i, x) for (i = 0; i < x; ++i)
#define bsrch(v, x) binary_search(v.begin(), v.end(), x)
#define vecl vector<long long int>
#define pb(x) push_back(x)
const long long int MAX_INT = 10e+10;
typedef long long int ll;
void pvec(vector<ll> &inp) ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,825 | 274,826 | u275337370 | cpp |
p02577 | #include <string.h>
#include <algorithm>
#include <iostream>
using namespace std;
int ctoi(char c);
int main(void) {
string str;
cin >> str;
long long sum = 0;
long long i = 0;
while (str[i] != '\0') {
int l = ctoi(str[i]);
sum += l;
i++;
}
if (sum % 9 == 0) {
cout << "yes" << endl;... | #include <string.h>
#include <algorithm>
#include <iostream>
using namespace std;
int ctoi(char c);
int main(void) {
string str;
cin >> str;
long long sum = 0;
long long i = 0;
while (str[i] != '\0') {
int l = ctoi(str[i]);
sum += l;
i++;
}
if (sum % 9 == 0) {
cout << "Yes" << endl;... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,827 | 274,828 | u324783830 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
long ans = 0;
getline(cin, N);
for (char c : N)
switch (c) {
case '1':
ans += 1;
break;
case '2':
ans += 2;
break;
case '3':
ans += 3;
break;
case '4':
ans += 4;
break;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
long ans = 0;
getline(cin, N);
for (char c : N)
switch (c) {
case '1':
ans += 1;
break;
case '2':
ans += 2;
break;
case '3':
ans += 3;
break;
case '4':
ans += 4;
break;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,829 | 274,830 | u001737818 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
int ans = 0;
getline(cin, N);
for (char c : N)
switch (c) {
case '1':
ans += 1;
break;
case '2':
ans += 2;
break;
case '3':
ans += 3;
break;
case '4':
ans += 4;
break;
c... | #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
long ans = 0;
getline(cin, N);
for (char c : N)
switch (c) {
case '1':
ans += 1;
break;
case '2':
ans += 2;
break;
case '3':
ans += 3;
break;
case '4':
ans += 4;
break;
... | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,831 | 274,830 | u001737818 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define rep(index, num) for (int index = 0; index < num; index++)
#define rep1(index, num) for (int index = 1; index <= num; index++)
#define brep(index, num) for (int index = num - 1; index >= 0; index--)
#define brep1(index, num) for (int index = num; index > 0; index--)
... | #include <bits/stdc++.h>
using namespace std;
#define rep(index, num) for (int index = 0; index < num; index++)
#define rep1(index, num) for (int index = 1; index <= num; index++)
#define brep(index, num) for (int index = num - 1; index >= 0; index--)
#define brep1(index, num) for (int index = num; index > 0; index--)
... | [
"call.remove"
] | 274,842 | 274,843 | u889953704 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define rep(index, num) for (int index = 0; index < num; index++)
#define rep1(index, num) for (int index = 1; index <= num; index++)
#define brep(index, num) for (int index = num - 1; index >= 0; index--)
#define brep1(index, num) for (int index = num; index > 0; index--)
... | #include <bits/stdc++.h>
using namespace std;
#define rep(index, num) for (int index = 0; index < num; index++)
#define rep1(index, num) for (int index = 1; index <= num; index++)
#define brep(index, num) for (int index = num - 1; index >= 0; index--)
#define brep1(index, num) for (int index = num; index > 0; index--)
... | [
"call.remove"
] | 274,844 | 274,843 | u889953704 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int test;
// cin>>test;
test = 1;
while (test--) {
string str;
int sum = 0;
cin >> str;
for (long long int i = 0; i < str.length(); i++) {
sum += str[i] - '0';
sum = sum % 9;
}
if (sum)
cout << "NO";
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int test;
// cin>>test;
test = 1;
while (test--) {
string str;
int sum = 0;
cin >> str;
for (long long int i = 0; i < str.length(); i++) {
sum += str[i] - '0';
sum = sum % 9;
}
if (sum)
cout << "No";
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,845 | 274,846 | u159027782 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int test;
// cin>>test;
test = 1;
while (test--) {
string str;
int sum = 0;
cin >> str;
for (int i = 0; i < str.length(); i++) {
sum += str[i] - '0';
sum = sum % 9;
}
if (sum)
cout << "NO";
else
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int test;
// cin>>test;
test = 1;
while (test--) {
string str;
int sum = 0;
cin >> str;
for (long long int i = 0; i < str.length(); i++) {
sum += str[i] - '0';
sum = sum % 9;
}
if (sum)
cout << "No";
... | [
"control_flow.loop.for.initializer.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,847 | 274,846 | u159027782 | cpp |
p02577 | #pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define sp " "
#define endl "\n"
#define MAX 10e9
#define MAXN 100001
#define inf_int 2e9
#define inf_ll 2e18
#define e 1e-9
#define vi vector<int>
#define vl vector<ll>
#define vc vector<char>
#define vs vector<string>
#define vpl vector<pair<ll, ll>>
#define vpc ve... | #pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define sp " "
#define endl "\n"
#define MAX 10e9
#define MAXN 100001
#define inf_int 2e9
#define inf_ll 2e18
#define e 1e-9
#define vi vector<int>
#define vl vector<ll>
#define vc vector<char>
#define vs vector<string>
#define vpl vector<pair<ll, ll>>
#define vpc ve... | [
"call.arguments.change",
"assignment.change"
] | 274,849 | 274,850 | u884311908 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define read(a) cin >> a
#define out(a) cout << a
#define ull unsigned long long
#define ll long long
#define FOR(i, l, r) for (ll i = l; i <= r; i++)
#define FOD(i, l, r) for (ll i = l; i >= r; i--)
#define fast ios_base::sync_with_stdio(false);
#define mod 1000000007
#de... | #include <bits/stdc++.h>
using namespace std;
#define read(a) cin >> a
#define out(a) cout << a
#define ull unsigned long long
#define ll long long
#define FOR(i, l, r) for (ll i = l; i <= r; i++)
#define FOD(i, l, r) for (ll i = l; i >= r; i--)
#define fast ios_base::sync_with_stdio(false);
#define mod 1000000007
#de... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,860 | 274,861 | u105643643 | cpp |
p02577 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string S;
cin >> S;
int N = S.size();
ll cnt = 0;
rep(i, N) cnt += S[i];
if (cnt % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string S;
cin >> S;
int N = S.size();
ll cnt = 0;
rep(i, N) cnt += S[i] - '0';
if (cnt % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << e... | [
"assignment.change"
] | 274,866 | 274,867 | u097161601 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string num;
cin >> num;
long long x = 0;
char ch1;
for (int i = 0; i < num.length(); i++) {
ch1 = num[i] - '0';
x += ch1;
}
if (x % 9 == 0)
cout << "YES";
else
cout << "NO";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string num;
cin >> num;
long long x = 0;
char ch1;
for (int i = 0; i < num.length(); i++) {
ch1 = num[i] - '0';
x += ch1;
}
if (x % 9 == 0)
cout << "Yes";
else
cout << "No";
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,868 | 274,869 | u263062655 | cpp |
p02577 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
int main() {
string x;
cin >> x;
ll n = x.size();
ll y = 0;
rep(i, n) { y += x[i]; }
string ans = "No";
if (... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
int main() {
string x;
cin >> x;
ll n = x.size();
ll y = 0;
rep(i, n) { y += x[i] - '0'; }
string ans = "No";
... | [
"assignment.change"
] | 274,873 | 274,874 | u281829807 | cpp |
p02577 | #include <bits/stdc++.h>
#include <string>
using namespace std;
const int mod = 1e9 + 7;
const long long INF = 1e18;
#define PI 3.141592653589793
#define REP(i, n) for (long long i = 0; i < n; i++)
long long H, W, K, N, D, X, T;
int main() {
string S;
cin >> S;
int ans = 0;
REP(i, S.size()) { ans += S[i] - '0... | #include <bits/stdc++.h>
#include <string>
using namespace std;
const int mod = 1e9 + 7;
const long long INF = 1e18;
#define PI 3.141592653589793
#define REP(i, n) for (long long i = 0; i < n; i++)
long long H, W, K, N, D, X, T;
int main() {
string S;
cin >> S;
int ans = 0;
REP(i, S.size()) { ans += S[i] - '0... | [
"expression.operation.binary.remove"
] | 274,875 | 274,876 | u935620673 | cpp |
p02577 | #include <bits/stdc++.h>
#include <string>
using namespace std;
const int mod = 1e9 + 7;
const long long INF = 1e18;
#define PI 3.141592653589793
#define REP(i, n) for (long long i = 0; i < n; i++)
long long H, W, K, N, D, X, T;
int main() {
string S;
cin >> S;
int ans = 0;
REP(i, S.size()) { ans += S[i]; }
... | #include <bits/stdc++.h>
#include <string>
using namespace std;
const int mod = 1e9 + 7;
const long long INF = 1e18;
#define PI 3.141592653589793
#define REP(i, n) for (long long i = 0; i < n; i++)
long long H, W, K, N, D, X, T;
int main() {
string S;
cin >> S;
int ans = 0;
REP(i, S.size()) { ans += S[i] - '0... | [
"assignment.change"
] | 274,877 | 274,876 | u935620673 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
int sum = 0;
for (int i = 0; i < n.length(); i++) {
sum += int(n[i]);
}
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
int sum = 0;
for (int i = 0; i < n.length(); i++) {
sum += (int)n[i] - 48;
}
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
return 0;
} | [
"assignment.value.change",
"call.arguments.change"
] | 274,886 | 274,887 | u239606363 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
// #define rep(i,n) for(int i=0;i<n;i++)
void solve() {
string s;
cin >> s;
ll sum = 0;
for (int i = 0; i < (int)s.size(); i++) {
sum += (s[i] - '0');
}
if (sum % 9 == 0)
cout << "YES";
else
cout << "NO";
}
int main() {
int ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
// #define rep(i,n) for(int i=0;i<n;i++)
void solve() {
string s;
cin >> s;
ll sum = 0;
for (int i = 0; i < (int)s.size(); i++) {
sum += (s[i] - '0');
}
if (sum % 9 == 0)
cout << "Yes";
else
cout << "No";
}
int main() {
int ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,892 | 274,893 | u583543886 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
char n[2000005];
long long len, sum = 0;
int main() {
scanf("%s", n);
len = strlen(n);
if (n[0] == '0') {
printf("Yes");
return 0;
}
for (long long i = 0; i < len; i++) {
sum += n[i] - '0' + 1;
}
if (sum % 9) {
printf("No");
} else {
pr... | #include <bits/stdc++.h>
using namespace std;
char n[2000005];
long long len, sum = 0;
int main() {
scanf("%s", n);
len = strlen(n);
if (n[0] == '0') {
printf("Yes");
return 0;
}
for (long long i = 0; i < len; i++) {
sum += n[i] - '0';
}
if (sum % 9) {
printf("No");
} else {
printf... | [
"expression.operation.binary.remove"
] | 274,901 | 274,902 | u786139918 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
char n[2000005], len, sum = 0;
int main() {
scanf("%s", n);
len = strlen(n);
if (n[0] == '0') {
printf("Yes");
return 0;
}
for (long long i = 0; i < len; i++) {
sum += n[i] - '0' + 1;
}
if (sum % 9) {
printf("No");
} else {
printf("Yes"... | #include <bits/stdc++.h>
using namespace std;
char n[2000005];
long long len, sum = 0;
int main() {
scanf("%s", n);
len = strlen(n);
if (n[0] == '0') {
printf("Yes");
return 0;
}
for (long long i = 0; i < len; i++) {
sum += n[i] - '0';
}
if (sum % 9) {
printf("No");
} else {
printf... | [
"expression.operation.binary.remove"
] | 274,903 | 274,902 | u786139918 | cpp |
p02577 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string n;
cin >> n;
ll sum = 0;
rep(i, n.size()) { sum += n.at(i); }
if (sum % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string n;
cin >> n;
ll sum = 0;
rep(i, n.size()) { sum += n.at(i) + 0 - '0'; }
if (sum % 9 == 0)
cout << "Yes" << endl;
else
cout << "No" << end... | [
"assignment.change"
] | 274,904 | 274,905 | u388297793 | cpp |
p02577 | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define ll long ... | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define ll long ... | [] | 274,911 | 274,912 | u011182375 | cpp |
p02577 | #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;
typedef tree<int, null_type, less_equal<int>, rb_tree_tag,
tree_order_statistics_node_update>
ordered_set;
const int MAX_N = 1e5 + 5;
const int MAX_... | #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;
typedef tree<int, null_type, less_equal<int>, rb_tree_tag,
tree_order_statistics_node_update>
ordered_set;
const int MAX_N = 1e5 + 5;
const int MAX_... | [
"literal.string.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 274,913 | 274,914 | u827239776 | cpp |
p02577 | #include <iostream>
using namespace std;
int main() {
// your code goes here
string s;
cin >> s;
int sum = 0;
for (char c : s) {
sum = (sum + (c - '0')) % 9;
}
if (sum == 0)
cout << "YES";
else
cout << "NO";
return 0;
}
| #include <iostream>
using namespace std;
int main() {
// your code goes here
string s;
cin >> s;
int sum = 0;
for (char c : s) {
sum = (sum + (c - '0')) % 9;
}
if (sum == 0)
cout << "Yes";
else
cout << "No";
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,915 | 274,916 | u585396196 | cpp |
p02577 | #include <bits/stdc++.h>
#define f(i, n) for (long int i = 0; i < (long int)n; i++)
#define testcase \
ll tt; \
cin >> tt; ... | #include <bits/stdc++.h>
#define f(i, n) for (long int i = 0; i < (long int)n; i++)
#define testcase \
ll tt; \
cin >> tt; ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 274,917 | 274,918 | u552064287 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.