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 |
|---|---|---|---|---|---|---|---|
p04012 | #include <bits/stdc++.h>
#define pb push_back
#define fst first
#define snd second
#define fill(a, c) memset(&a, c, sizeof(a))
#define fore(i, x, y) for (ll i = x; i < y; i++)
#define FIN \
ios_base::sync_with_stdio(0); ... | #include <bits/stdc++.h>
#define pb push_back
#define fst first
#define snd second
#define fill(a, c) memset(&a, c, sizeof(a))
#define fore(i, x, y) for (ll i = x; i < y; i++)
#define FIN \
ios_base::sync_with_stdio(0); ... | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 1,509,566 | 1,509,567 | u325004792 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
/*int BinarySearch(vector <int>v3,int n, int x){
int low=0;
int high=(n-1);
while(low<=high){
int mid=low+(high-low)/2;
if(x==v3[mid]) return mid;
if(x<v3[mid]) high=mid-1;
if(x>v3[mid]) low=mid+1;
}
retur... | #include <bits/stdc++.h>
using namespace std;
/*int BinarySearch(vector <int>v3,int n, int x){
int low=0;
int high=(n-1);
while(low<=high){
int mid=low+(high-low)/2;
if(x==v3[mid]) return mid;
if(x<v3[mid]) high=mid-1;
if(x>v3[mid]) low=mid+1;
}
retur... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,568 | 1,509,569 | u220730975 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
string s;
cin >> s;
vector<int> a(26, 0);
for (auto el : s) {
++a[el - 'a'];
}
bool res = true;
for (int i = 0; i < 26; ++i) {
if (a[i] % 2) {... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
string s;
cin >> s;
vector<int> a(26, 0);
for (auto el : s) {
++a[el - 'a'];
}
bool res = true;
for (int i = 0; i < 26; ++i) {
if (a[i] % 2) {... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,570 | 1,509,571 | u501634857 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
map<char, int> mp;
for (int i = 0; i < s.length(); i++)
mp[s[i]]++;
for (auto t = mp.begin(); t != mp.end(); t++) {
if (t->second % 2 != 0) {
cout << "Yes";
return 0;
}
}
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
map<char, int> mp;
for (int i = 0; i < s.length(); i++)
mp[s[i]]++;
for (auto t = mp.begin(); t != mp.end(); t++) {
if (t->second % 2 != 0) {
cout << "No";
return 0;
}
}
cout << "Yes";
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 1,509,584 | 1,509,585 | u296590735 | cpp |
p04012 | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string w;
cin >> w;
int count[26] = {0};
for (int i = 0; i < w.size(); i++) {
count[w[i] - 'a']++;
}
for (int i = 0; i < w.size(); i++) {
if ((count[i] % 2) != 0) {
cout << "No" << endl;
retur... | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string w;
cin >> w;
int count[26] = {0};
for (int i = 0; i < w.size(); i++) {
count[w[i] - 'a']++;
}
for (int i = 0; i < 26; i++) {
if ((count[i] % 2) != 0) {
cout << "No" << endl;
return 0;
... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"call.remove"
] | 1,509,586 | 1,509,587 | u223200011 | cpp |
p04012 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define INF 1001001001
#define LINF (1LL << 62)
using namespace std;
using ll = long long;
using P = pair<int, int>;
void solv() {
string w;
cin >> w;
map<char, int> mp;
for (char i = 'a'; i <= 'z'; i++) {
mp[i] = 0;
}
for (int i = ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define INF 1001001001
#define LINF (1LL << 62)
using namespace std;
using ll = long long;
using P = pair<int, int>;
void solv() {
string w;
cin >> w;
map<char, int> mp;
for (char i = 'a'; i <= 'z'; i++) {
mp[i] = 0;
}
for (int i = ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,607 | 1,509,608 | u932868121 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
main() {
string s;
cin >> s;
map<char, int> m;
for (auto e : s)
m[e]++;
bool f = 0;
for (auto e : m)
f |= e.second;
cout << (f & 1 ? "No" : "Yes");
}
| #include <bits/stdc++.h>
using namespace std;
main() {
string s;
cin >> s;
map<char, int> m;
for (auto e : s)
m[e]++;
int f = 0;
for (auto e : m)
f |= e.second;
cout << (f & 1 ? "No" : "Yes");
}
| [
"variable_declaration.type.primitive.change"
] | 1,509,612 | 1,509,613 | u495699318 | cpp |
p04012 | #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 w;
cin >> w;
map<char, int> mp;
for (char c : w) {
mp[c]++;
}
bool ok = true;
for (auto v : mp) {
if (v.second == 1) {
ok = ... | #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 w;
cin >> w;
map<char, int> mp;
for (char c : w) {
mp[c]++;
}
bool ok = true;
for (auto v : mp) {
if (v.second % 2 == 1) {
o... | [
"control_flow.branch.if.condition.change"
] | 1,509,616 | 1,509,617 | u011438316 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
int a;
int judge = 0;
int n[26] = {};
cin >> w;
for (int i = 0; i < w.length(); i++) {
a = w[i];
n[a - 'a']++;
}
for (int i = 0; i < 26; i++) {
if (n[i] % 2 != 0) {
judge += 1;
}
}
if (judge == 0) {
cou... | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
int a;
int judge = 0;
int n[26] = {};
cin >> w;
for (int i = 0; i < w.length(); i++) {
a = w[i];
n[a - 'a']++;
}
for (int i = 0; i < 26; i++) {
if (n[i] % 2 != 0) {
judge += 1;
}
}
if (judge == 0) {
cou... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,618 | 1,509,619 | u924373338 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
map<char, int> mp;
for (int i = 0; i < w.size(); i++) {
cin >> w.at(i);
mp[w.at(i)]++;
}
string ans = "YES";
int mx = 0;
for (auto p : mp)
mx = max(mx, p.second);
for (auto p : mp) {
if (p.second % 2 == 1... | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
map<char, int> mp;
for (int i = 0; i < w.size(); i++) {
cin >> w.at(i);
mp[w.at(i)]++;
}
string ans = "Yes";
int mx = 0;
for (auto p : mp)
mx = max(mx, p.second);
for (auto p : mp) {
if (p.second % 2 == 1... | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change"
] | 1,509,624 | 1,509,625 | u533566373 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
string ans = "NO";
cin >> str;
if (str.size() % 2 == 0) {
ans = "YES";
sort(str.begin(), str.end());
for (int i = 0; i < str.size(); i += 2) {
if (str.at(i) != str.at(i + 1)) {
ans = "NO";
break;
}
... | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
string ans = "No";
cin >> str;
if (str.size() % 2 == 0) {
ans = "Yes";
sort(str.begin(), str.end());
for (int i = 0; i < str.size(); i += 2) {
if (str.at(i) != str.at(i + 1)) {
ans = "No";
break;
}
... | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 1,509,630 | 1,509,631 | u949378311 | cpp |
p04012 | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
string s;
cin >> s;
map<char, int> m;
int sum = 0;
for (int i = 0; i < s.size(); i++) {
if (m.count(s[i]... | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
string s;
cin >> s;
map<char, int> m;
int sum = 0;
for (int i = 0; i < s.size(); i++) {
if (m.count(s[i]... | [] | 1,509,643 | 1,509,644 | u657208344 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
string w;
cin >> w;
bool flag = true;
sort(w.begin(), w.end());
if (w.size() == 1) {
goto end;
}
for (int i = 0; i < w.size() - 1; i++) {
if (w.at(i) != w.at(i + 1) && i % 2 == 1) {
flag = false;
}
}
if (flag) {
cout... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
string w;
cin >> w;
bool flag = true;
sort(w.begin(), w.end());
if (w.size() == 1) {
goto end;
}
for (int i = 0; i < w.size() - 1; i++) {
if (w.at(i) != w.at(i + 1) && i % 2 == 0) {
flag = false;
}
}
if (flag) {
cout... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,509,645 | 1,509,646 | u407814609 | cpp |
p04012 | #include <iostream>
using namespace std;
int main() {
int cnt[26] = {0};
string w;
cin >> w;
for (char c = 'a'; c <= 'z'; c++) {
for (int i = 0; i < w.size(); i++) {
if (w[i] == c)
cnt[c - 'a']++;
}
}
for (int i = 0; i < 26; i++) {
if (cnt[i] % 2 == 1) {
puts("No");
b... | #include <iostream>
using namespace std;
int main() {
int cnt[26] = {0};
string w;
cin >> w;
for (char c = 'a'; c <= 'z'; c++) {
for (int i = 0; i < w.size(); i++) {
if (w[i] == c)
cnt[c - 'a']++;
}
}
for (int i = 0; i < 26; i++) {
if (cnt[i] % 2 == 1) {
puts("No");
r... | [
"control_flow.break.remove",
"control_flow.return.add",
"function.return_value.change"
] | 1,509,663 | 1,509,664 | u098923136 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
bool f[256] = {};
for (char c : w) {
f[c] ^= 1;
}
bool ans = 0;
for (int i = 0; i < 256; i++)
ans ^= f[i];
cout << (ans ? "No" : "Yes") << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
bool f[256] = {};
for (char c : w) {
f[c] ^= 1;
}
bool ans = 0;
for (int i = 0; i < 256; i++)
ans |= f[i];
cout << (ans ? "No" : "Yes") << endl;
}
| [
"expression.operator.change"
] | 1,509,667 | 1,509,668 | u653187094 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int flag = 0;
for (char i = 'a'; i <= 'z'; i++) {
int count = 0;
for (int j = 0; j < s.size(); j++) {
if (s[j] = i)
count++;
}
if (count % 2 != 0) {
cout << "No" << endl;
flag++;
brea... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int flag = 0;
for (char i = 'a'; i <= 'z'; i++) {
int count = 0;
for (int j = 0; j < s.size(); j++) {
if (s[j] == i)
count++;
}
if (count % 2 != 0) {
cout << "No" << endl;
flag++;
bre... | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,509,674 | 1,509,675 | u053412885 | cpp |
p04012 | // do not think about past and stay in this moment
// organize and work - Abhinav IIITA
#include <bits/stdc++.h>
#include <ctime>
using namespace std;
#define int long long
#define sz(v) ((int)(v).size())
#define all(v) (v).begin(), (v).end()
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
// ----... | // do not think about past and stay in this moment
// organize and work - Abhinav IIITA
#include <bits/stdc++.h>
#include <ctime>
using namespace std;
#define int long long
#define sz(v) ((int)(v).size())
#define all(v) (v).begin(), (v).end()
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
// ----... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,686 | 1,509,687 | u587202199 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cou... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cou... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,688 | 1,509,689 | u936205094 | cpp |
p04012 | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
string n;
cin >> n;
// cout << n << endl;
int ans = 0;
for (int i = 0; i < n.size(); i++) {
// cout << n[i] << endl;
int sum = 0;
for (int j = 0; j < n.size(); j++) {
if (n[i]... | #include <algorithm>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
int main() {
string n;
cin >> n;
// cout << n << endl;
int ans = 0;
for (int i = 0; i < n.size(); i++) {
// cout << n[i] << endl;
int sum = 0;
for (int j = 0; j < n.size(); j++) {
if (n[i]... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,509,692 | 1,509,693 | u049376978 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, n) for (int i = 0; i < (int)n; i++)
struct edge {
int from, to;
};
char alpha[26] = {};
int main() {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
alpha[s[i] - '0']++;
}
bool flag = true;
for (int i = 0; i < 2... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, n) for (int i = 0; i < (int)n; i++)
struct edge {
int from, to;
};
char alpha[26] = {};
int main() {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
alpha[s[i] - 'a']++;
}
bool flag = true;
for (int i = 0; i < 2... | [
"literal.string.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,509,700 | 1,509,701 | u679159704 | cpp |
p04012 | // atcoder/abc044/B/main.cpp
// author: @___Johniel
// github: https://github.com/johniel/
#include <bits/stdc++.h>
#define each(i, c) for (auto &i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template <typenam... | // atcoder/abc044/B/main.cpp
// author: @___Johniel
// github: https://github.com/johniel/
#include <bits/stdc++.h>
#define each(i, c) for (auto &i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template <typenam... | [
"assignment.change"
] | 1,509,706 | 1,509,707 | u768334187 | cpp |
p04012 | #include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
int count[26];
int i;
for (i = 0; i < 26; i++) {
count[i] = 0;
}
for (i = 0; i < (int)(s.length()); i++) {
if (s[i] == 'a')
count[0]++;
if (s[i] == 'b')
count[1]++;
... | #include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
int count[26];
int i;
for (i = 0; i < 26; i++) {
count[i] = 0;
}
for (i = 0; i < (int)(s.length()); i++) {
if (s[i] == 'a')
count[0]++;
if (s[i] == 'b')
count[1]++;
... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,509,708 | 1,509,709 | u877240161 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
map<char, int> m;
string s;
cin >> s;
for (int i = 0; i < s.size(); ++i) {
if (m.count(s[i]))
++s[i];
else
m[s[i]] = 1;
}
bool b = 1;
for (auto p : m) {
if (m[p.first] % 2 == 1) {
b = 0;
break;
}
}
if (... | #include <bits/stdc++.h>
using namespace std;
int main() {
map<char, int> m;
string s;
cin >> s;
for (int i = 0; i < s.size(); ++i) {
if (m.count(s[i]))
++m[s[i]];
else
m[s[i]] = 1;
}
bool b = 1;
for (auto p : m) {
if (m[p.first] % 2 == 1) {
b = 0;
break;
}
}
i... | [] | 1,509,715 | 1,509,716 | u757584836 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
void solve() {
string w;
cin >> w;
if (int(w.size()) % 2 == 0) {
cout << "No" << endl;
return;
}
sort(w.begin(), w.end());
for (int i = 0; i < w.size(); i += 2) {
if (w[i] != w[i + 1]) {
cout << "No" << endl;
retur... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
void solve() {
string w;
cin >> w;
// cout<<w.size()<<endl;
if (int(w.size()) % 2 != 0) {
cout << "No" << endl;
return;
}
sort(w.begin(), w.end());
// cout<<w<<endl;
for (int i = 0; i < w.size(); i += 2) {
if (w[i] != w[i ... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,509,717 | 1,509,718 | u134181243 | cpp |
p04012 | #include <algorithm>
#include <assert.h>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <tuple>
#include <vector>
//#include <bits/stdc++.h>
#define maxs(x, y) x = max(x, y)
#define mins(x, y) x = min(x, y)
#define rep(... | #include <algorithm>
#include <assert.h>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <tuple>
#include <vector>
//#include <bits/stdc++.h>
#define maxs(x, y) x = max(x, y)
#define mins(x, y) x = min(x, y)
#define rep(... | [] | 1,509,721 | 1,509,722 | u358748139 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
bool even = true;
for (char c = 'a'; c <= 'z'; c++) {
int cnt = 0;
for (int i = 0; i < s.size(); i++) {
if (s[i] == c) {
cnt++;
}
}
if (cnt % 2 == 1)
even = false;
}
cout << (even ? "... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
bool even = true;
for (char c = 'a'; c <= 'z'; c++) {
int cnt = 0;
for (int i = 0; i < s.size(); i++) {
if (s[i] == c) {
cnt++;
}
}
if (cnt % 2 == 1)
even = false;
}
cout << (even ? "... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,725 | 1,509,726 | u280728543 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
#define SZ(v) ((int)(v).size())
#define ALL(v) (v).begin(), (v).end()
#define one first
#define two second
using ll = long long;
using pi = pair<int, int>;
const int INF = 0x3f3f3f3f;
const ll LINF = 1ll * INF * INF;
int main() {
string S;
cin >> S;
map<char, int> ... | #include <bits/stdc++.h>
using namespace std;
#define SZ(v) ((int)(v).size())
#define ALL(v) (v).begin(), (v).end()
#define one first
#define two second
using ll = long long;
using pi = pair<int, int>;
const int INF = 0x3f3f3f3f;
const ll LINF = 1ll * INF * INF;
int main() {
string S;
cin >> S;
map<char, int> ... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"function.return_value.change",
"expression.operation.binary.change",
"io.output.change"
] | 1,509,747 | 1,509,748 | u682764246 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
for (char c = 'a'; c <= 'z'; c++) {
if (count(S.begin(), S.end(), c) % 2 == 1) {
cout << "No" << endl;
return 0;
}
}
cout << "YES" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
for (char c = 'a'; c <= 'z'; c++) {
if (count(S.begin(), S.end(), c) % 2 == 1) {
cout << "No" << endl;
return 0;
}
}
cout << "Yes" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,749 | 1,509,750 | u045289115 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
unordered_map<char, int> counts;
for (char c : w)
counts[c++];
for (char c = 'a'; c <= 'z'; c++) {
if (counts[c] % 2 == 1) {
cout << "No\n";
return 0;
}
}
cout << "Yes\n";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
unordered_map<char, int> counts;
for (char c : w)
counts[c]++;
for (char c = 'a'; c <= 'z'; c++) {
if (counts[c] % 2 == 1) {
cout << "No\n";
return 0;
}
}
cout << "Yes\n";
return 0;
}
| [] | 1,509,754 | 1,509,755 | u599568485 | cpp |
p04012 | #include <algorithm>
#include <bits/stdc++.h>
#include <string>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
string w;
cin >> w;
int count = 0;
sort(w.begin(), w.end());
for (int i = 0; i < w.size(); ++i) {
if (!(w[i] == w[i + 1]) && (i % 2 == 0))
++count;
}
... | #include <algorithm>
#include <bits/stdc++.h>
#include <string>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
string w;
cin >> w;
int count = 0;
sort(w.begin(), w.end());
for (int i = 0; i < w.size(); ++i) {
if ((w[i] != w[i + 1]) && (i % 2 == 0))
++count;
}
... | [
"expression.operation.unary.logical.remove",
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.compare.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,758 | 1,509,759 | u452512115 | cpp |
p04012 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <istream>
#include <queue>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
string w;
cin >> w;
int N = w.length();
if (N % 2 == 1) {
cout << "No" << endl;
... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <istream>
#include <queue>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
string w;
cin >> w;
int N = w.length();
if (N % 2 == 1) {
cout << "No" << endl;
... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.condition.change",
"expression.operation.binary.remove"
] | 1,509,760 | 1,509,761 | u272395350 | cpp |
p04012 | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
int count = 0;
for (char i = 'a'; i != 'z'; i++) {
for (int j = 0; j < s.size(); j++) {
if (s[j] == i) {
count++;
}
}
}
if (count % 2 != 0) {
cout << "No" << endl;
return 0;
}
cout << "Yes" << ... | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
int count = 0;
for (char i = 'a'; i != 'z'; i++) {
count = 0;
for (int j = 0; j < s.size(); j++) {
if (s[j] == i) {
count++;
}
}
if (count % 2 != 0) {
cout << "No" << endl;
return 0;
}
... | [
"assignment.add"
] | 1,509,762 | 1,509,763 | u077051605 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define pp pop_back
#define F first
#define S second
#define endl "\n"
#define m_p make_pair
typedef long long ll;
typedef long double ld;
void INeedIt() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
}
int main() {
INeedIt();
st... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define pp pop_back
#define F first
#define S second
#define endl "\n"
#define m_p make_pair
typedef long long ll;
typedef long double ld;
void INeedIt() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
}
int main() {
INeedIt();
st... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,768 | 1,509,769 | u396674092 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
unordered_map<char, int> um;
for (int i = 0; i < s.size(); ++i) {
if (!tolower(s[i]))
um[s[i]]++;
}
for (auto it = um.begin(); it != um.end(); ++it) {
if (it->second & 1) {
cout << "No";
return 0;
}... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
unordered_map<char, int> um;
for (int i = 0; i < s.size(); ++i) {
if (islower(s[i]))
um[s[i]]++;
}
for (auto it = um.begin(); it != um.end(); ++it) {
if (it->second & 1) {
cout << "No";
return 0;
}... | [
"control_flow.branch.if.condition.change"
] | 1,509,777 | 1,509,778 | u775265286 | cpp |
p04012 | //#define _GLIBCXX_DEBUG
#include "bits/stdc++.h"
using namespace std;
//------------------------------- Libraries --------------------------------//
//------------------------------- Type Names -------------------------------//
using i64 = int_fast64_t;
using seika = string;
// akari : 1D, yukari : 2D, maki : 3D ... | //#define _GLIBCXX_DEBUG
#include "bits/stdc++.h"
using namespace std;
//------------------------------- Libraries --------------------------------//
//------------------------------- Type Names -------------------------------//
using i64 = int_fast64_t;
using seika = string;
// akari : 1D, yukari : 2D, maki : 3D ... | [
"expression.operation.unary.add"
] | 1,509,779 | 1,509,780 | u344412812 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
vector<int> n(125);
for (int i = 0; i < s.size(); i++) {
n.at(s.at(i))++;
}
for (int i = 0; i < 125; i++) {
if (n.at(i) % 2 == 1) {
cout << "No" << endl;
return 0;
}
}
cout << "Yes" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<int> n(125);
for (int i = 0; i < s.size(); i++) {
n.at(s.at(i))++;
}
for (int i = 0; i < 125; i++) {
if (n.at(i) % 2 == 1) {
cout << "No" << endl;
return 0;
}
}
cout << "Yes" << endl;
return ... | [] | 1,509,783 | 1,509,784 | u091552241 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<int> n(100);
for (int i = 0; i < s.size(); i++) {
n.at(s.at(i))++;
}
for (int i = 0; i < 100; i++) {
if (n.at(i) % 2 == 1) {
cout << "No" << endl;
return 0;
}
}
cout << "Yes" << endl;
return ... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<int> n(125);
for (int i = 0; i < s.size(); i++) {
n.at(s.at(i))++;
}
for (int i = 0; i < 125; i++) {
if (n.at(i) % 2 == 1) {
cout << "No" << endl;
return 0;
}
}
cout << "Yes" << endl;
return ... | [
"literal.number.change",
"call.arguments.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,509,785 | 1,509,784 | u091552241 | cpp |
p04012 | #include <cstdio>
#include <iostream>
using namespace std;
char str[100];
int cnt['z' + 1];
int odd;
int main(void) {
cin >> str;
for (int i = 0; str[i]; i++) {
cnt[str[i]]++;
}
for (int i = 'a'; i <= 'z'; i++) {
if (cnt[i] % 2) {
odd = 1;
break;
}
}
if (odd)
printf("NO\n");
... | #include <cstdio>
#include <iostream>
using namespace std;
char str[100];
int cnt['z' + 1];
int odd;
int main(void) {
cin >> str;
for (int i = 0; str[i]; i++) {
cnt[str[i]]++;
}
for (int i = 'a'; i <= 'z'; i++) {
if (cnt[i] % 2) {
odd = 1;
break;
}
}
if (odd)
printf("No\n");
... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,509,786 | 1,509,787 | u754102650 | cpp |
p04012 | #include <bits/stdc++.h>
#define REPI(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int array[26];
REPI(i, 26) array[i];
char c;
while (cin >> c)
array[int(c) - int('a')]++;
REPI(i, 26) {
if (array[i] % 2) {
cout << "No";
... | #include <bits/stdc++.h>
#define REPI(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int array[26];
REPI(i, 26) array[i] = 0;
char c;
while (cin >> c)
array[int(c) - int('a')]++;
REPI(i, 26) {
if (array[i] % 2) {
cout << "No"... | [
"assignment.change"
] | 1,509,788 | 1,509,789 | u505466816 | cpp |
p04012 | #include <bits/stdc++.h>
#define REPI(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int array[26];
REPI(i, 26) array[i];
char c;
while (cin >> c)
array[int(c) - int('a')];
REPI(i, 26) {
if (array[i] % 2) {
cout << "No";
... | #include <bits/stdc++.h>
#define REPI(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int array[26];
REPI(i, 26) array[i] = 0;
char c;
while (cin >> c)
array[int(c) - int('a')]++;
REPI(i, 26) {
if (array[i] % 2) {
cout << "No"... | [
"assignment.change"
] | 1,509,790 | 1,509,789 | u505466816 | cpp |
p04012 | // 044
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 1; i <= n; i++)
using namespace std;
int main(void) {
string s;
cin >> s;
set<char> d;
rep(i, s.size()) d.insert(s[i]);
for (auto itr = d.begin(); itr != d.end(); itr++) {
if (count(s.begin(), s.end(), *itr) % 2 != 0) {
cout << "No" << e... | // 044
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main(void) {
string s;
cin >> s;
set<char> d;
rep(i, s.size()) d.insert(s[i]);
for (auto itr = d.begin(); itr != d.end(); itr++) {
if (count(s.begin(), s.end(), *itr) % 2 != 0) {
cout << "No" << en... | [
"preprocessor.define.value.change",
"literal.integer.change",
"expression.operator.compare.change"
] | 1,509,791 | 1,509,792 | u401452016 | cpp |
p04012 | #include <iostream>
#include <map>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; ++i)
using namespace std;
int main() {
string w;
cin >> w;
map<char, long> count;
rep(i, w.size()) { count[w[i]] = 0; }
rep(i, w.size()) { count[w[i]] += 1; }
int flag = 0;
for (auto itr = coun... | #include <iostream>
#include <map>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; ++i)
using namespace std;
int main() {
string w;
cin >> w;
map<char, long> count;
rep(i, w.size()) { count[w[i]] = 0; }
rep(i, w.size()) { count[w[i]] += 1; }
int flag = 0;
for (auto itr = coun... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,811 | 1,509,812 | u374925349 | cpp |
p04012 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
string w;
cin >> w;
int n = w.size();
vector<int> a(100);
for (int i = 0; i < n; i++) {
a.at(w.at(i))++;
}
int k = 1;
for (int i = 0; i < 100; i++) {
if (a.at(i) % 2 == 1) {
k = -1;
break;
}
}
if... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
string w;
cin >> w;
int n = w.size();
vector<int> a(1000);
for (int i = 0; i < n; i++) {
a.at(w.at(i))++;
}
int k = 1;
for (int i = 0; i < 1000; i++) {
if (a.at(i) % 2 == 1) {
k = -1;
break;
}
}
... | [
"literal.number.change",
"call.arguments.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,509,813 | 1,509,814 | u646051775 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
string X = "abcdefghijklmnopqrstuvwxyz";
vector<int> Y(26);
for (int i = 0; i < n.size(); i++) {
for (int j = 0; j < n.size(); j++) {
if (X[i] == n[j]) {
Y[i]++;
}
}
}
int Z = 0;
for (int i = 0; i ... | #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
string X = "abcdefghijklmnopqrstuvwxyz";
vector<int> Y(26);
for (int i = 0; i < 26; i++) {
for (int j = 0; j < n.size(); j++) {
if (X[i] == n[j]) {
Y[i]++;
}
}
}
int Z = 0;
for (int i = 0; i < 26; ... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"call.remove"
] | 1,509,817 | 1,509,818 | u519899937 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
constexpr int di[] = {0, 1, 0, -1}, dj[] = {1, 0, -1, 0};
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n; i >= 0; i--)
#define SORT(v) sort((v).begin(), (v).end())
#define SORTR(v) sort((v).rbe... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
constexpr int di[] = {0, 1, 0, -1}, dj[] = {1, 0, -1, 0};
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n; i >= 0; i--)
#define SORT(v) sort((v).begin(), (v).end())
#define SORTR(v) sort((v).rbe... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,509,819 | 1,509,820 | u310228685 | cpp |
p04012 | #define rep(i, n) for (int i = 0; i < n; i++)
#include <bits/stdc++.h>
using namespace std;
void solve() {
map<char, int> alphabets;
string s;
cin >> s;
rep(i, s.size()) { alphabets[s[0]]++; }
bool beautiful = true;
for (auto &it : alphabets) {
if (it.second % 2 != 0) {
beautiful = false;
... | #define rep(i, n) for (int i = 0; i < n; i++)
#include <bits/stdc++.h>
using namespace std;
void solve() {
map<char, int> alphabets; // 各アルファベットとその出現回数を記録する辞書
string s;
cin >> s; // 入力文字列
// 入力文字列を前から読んでいき, 各アルファベットの個数をカウントする
rep(i, s.size()) alphabets[s[i]]++;
// 辞書内を探索していく, 一つでも奇数個のアルファベットがあれば美しくない(=No... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change"
] | 1,509,821 | 1,509,822 | u863957421 | cpp |
p04012 | #define rep(i, n) for (int i = 0; i < n; i++)
#include <bits/stdc++.h>
using namespace std;
void solve() {
map<char, int> alphabets;
string s;
cin >> s;
rep(i, s.size()) { alphabets[s[0]]++; }
bool beautiful = true;
for (auto &it : alphabets) {
if (it.second % 2 != 0) {
beautiful = false;
... | #define rep(i, n) for (int i = 0; i < n; i++)
#include <bits/stdc++.h>
using namespace std;
void solve() {
map<char, int> alphabets;
string s;
cin >> s;
rep(i, s.size()) { alphabets[s[i]]++; }
bool beautiful = true;
for (auto &it : alphabets) {
if (it.second % 2 != 0) {
beautiful = false;
... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change"
] | 1,509,821 | 1,509,823 | u863957421 | cpp |
p04012 | #include <cstring>
#include <iostream>
using namespace std;
int main() {
char str[128];
int alphabet[26];
int i;
bool flag = true;
scanf("%s", str);
for (i = 0; i < strlen(str); i++) {
alphabet[(int)(str[i] - 'a')] += 1;
}
for (i = 0; i < 26; i++) {
if ((alphabet[i] % 2) != 0) {
flag = ... | #include <cstring>
#include <iostream>
using namespace std;
int main() {
char str[128];
int alphabet[26] = {};
int i;
bool flag = true;
scanf("%s", str);
for (i = 0; i < strlen(str); i++) {
alphabet[(int)(str[i] - 'a')] += 1;
}
for (i = 0; i < 26; i++) {
if ((alphabet[i] % 2) != 0) {
fl... | [
"variable_declaration.value.change"
] | 1,509,824 | 1,509,825 | u211355761 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep
#define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for
#define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep
#define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for
#define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ... | [
"expression.operation.binary.remove"
] | 1,509,826 | 1,509,827 | u801513186 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep
#define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for
#define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define rrep(i, n) for (int(i) = (n)-1; (i) >= 0; --(i)) // Reversi rep
#define nfor(i, a, b) for (int(i) = (a); (i) < (b); ++(i)) // Natural for
#define rfor(i, a, b) for (int(i) = (b); (i) >= (a); --(i)) // Reversi ... | [
"literal.number.change",
"assignment.variable.change",
"call.arguments.change",
"expression.operation.binary.remove"
] | 1,509,828 | 1,509,827 | u801513186 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
multiset<char> char_mset;
set<char> char_set;
for (size_t i = 0; i < s.length(); i++) {
char_set.insert(s[i]);
char_mset.insert(s[i]);
}
for (auto itr = char_set.begin(); itr != char_set.end(); itr++) {
if (char_m... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
multiset<char> char_mset;
set<char> char_set;
for (size_t i = 0; i < s.length(); i++) {
char_set.insert(s[i]);
char_mset.insert(s[i]);
}
for (auto itr = char_set.begin(); itr != char_set.end(); itr++) {
if (char_m... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,831 | 1,509,832 | u127890024 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int num(char x) { return (x - 'a'); }
int main() {
int a[26];
for (int i = 0; i < 26; i++) {
a[i] = 0;
}
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
a[num(s[i])]++;
}
for (int i = 0; i < 26; i++) {
if (a[i] % 2 != 0) {
cout <... | #include <bits/stdc++.h>
using namespace std;
int num(char x) { return (x - 'a'); }
int main() {
int a[26];
for (int i = 0; i < 26; i++) {
a[i] = 0;
}
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
a[num(s[i])]++;
}
for (int i = 0; i < 26; i++) {
if (a[i] % 2 != 0) {
cout <... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,833 | 1,509,834 | u847764000 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
int arr[105] = {};
string str;
cin >> str;
int s = str.size();
for (int i = 0; i < s; i++) {
arr[str[i] - 'a']++;
}
for (int i = 0; i < s; i++) {
if (arr[i] % 2 != 0) {
cout << "No";
return 0;
}
}
cout << "Yes";
retur... | #include <bits/stdc++.h>
using namespace std;
int main() {
int arr[105] = {};
string str;
cin >> str;
int s = str.size();
for (int i = 0; i < s; i++) {
arr[str[i] - 'a']++;
}
for (int i = 0; i < 26; i++) {
if (arr[i] % 2 != 0) {
cout << "No";
return 0;
}
}
cout << "Yes";
retu... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,509,846 | 1,509,847 | u563481028 | cpp |
p04012 | #include <algorithm>
#include <array>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long int ll;
in... | #include <algorithm>
#include <array>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long int ll;
in... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 1,509,852 | 1,509,853 | u324139341 | cpp |
p04012 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
int main(int argc, char const *argv[]) {
std::string w;
char c = 'a';
int count;
std::cin >> w;
for (size_t i = 0; i < 26; i++) {
count = 0;
for (size_t j = 0; j < w.size(); j++) {
if (w.at(j) == c) {
count++... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
int main(int argc, char const *argv[]) {
std::string w;
char c = 'a';
int count;
std::cin >> w;
for (size_t i = 0; i < 26; i++) {
count = 0;
for (size_t j = 0; j < w.size(); j++) {
if (w.at(j) == c) {
count++... | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,509,860 | 1,509,861 | u687532179 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
string s;
cin >> s;
ll arr[26];
memset(arr, 0, sizeof(arr));
for (int i = 0; i < s.size(); i++) {
arr[s[i] - 'a']++;
}
bool flag = false;
for (int i = 0; i < 26; i++) {
if (arr[i] & 1)
flag = true;
}
if (... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
string s;
cin >> s;
ll arr[26];
memset(arr, 0, sizeof(arr));
for (int i = 0; i < s.size(); i++) {
arr[s[i] - 'a']++;
}
bool flag = false;
for (int i = 0; i < 26; i++) {
if (arr[i] & 1)
flag = true;
}
if (... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,862 | 1,509,863 | u527398664 | cpp |
p04012 | #include <algorithm>
#include <bitset>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <queue>
#include <vector>
using namespace std;
#define INF 110000000000
#define MOD 1000000007
typedef long long ll;
typedef pair<int, int> P;
int C[30];
int main() {
string w;
cin >> w;
f... | #include <algorithm>
#include <bitset>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <queue>
#include <vector>
using namespace std;
#define INF 110000000000
#define MOD 1000000007
typedef long long ll;
typedef pair<int, int> P;
int C[30];
int main() {
string w;
cin >> w;
f... | [
"literal.string.change",
"io.output.change"
] | 1,509,885 | 1,509,886 | u591914971 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
#define ALL(v) (v).begin(), (v).end()
#define REP(i, p, n) for (int i = p; i < (int)(n); ++i)
#define rep(i, n) REP(i, 0, n)
#define SZ(x) ((int)(x).size())
#define debug(x) cerr << #x << ": " << x << '\n'
#define INF 999999999
typedef long long int Int;
typedef pair<int, i... | #include <bits/stdc++.h>
using namespace std;
#define ALL(v) (v).begin(), (v).end()
#define REP(i, p, n) for (int i = p; i < (int)(n); ++i)
#define rep(i, n) REP(i, 0, n)
#define SZ(x) ((int)(x).size())
#define debug(x) cerr << #x << ": " << x << '\n'
#define INF 999999999
typedef long long int Int;
typedef pair<int, i... | [
"assignment.compound.bitwise.replace.add",
"expression.operator.bitwise.replace.remove",
"expression.operation.binary.change"
] | 1,509,894 | 1,509,895 | u902149880 | cpp |
p04012 | #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,509,911 | 1,509,912 | u641145334 | cpp |
p04012 | #include <iostream>
#include <string>
#include <vector>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
using namespace std;
int main() {
string str;
cin >> str;
char rec;
int count = 0;
rep(j, str.length()) {
rec = str[j];
rep(i, str.length()) {
if (str[i] == str[j]) {
count++;
... | #include <iostream>
#include <string>
#include <vector>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
using namespace std;
int main() {
string str;
cin >> str;
char rec;
int count = 0;
rep(j, str.length()) {
rec = str[j];
rep(i, str.length()) {
if (str[i] == str[j]) {
count++;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,913 | 1,509,914 | u885612280 | cpp |
p04012 | #include <bits/stdc++.h>
#define int long long
#define rep(i, n) for (int i = 0; i < n; ++i)
#define all(a) a.begin(), a.end()
#define P pair<long long, long long>
#define double long double
using namespace std;
signed main() {
string a;
int b = 0;
bool c = false;
rep(i, a.size()) {
rep(j, a.size()) {
... | #include <bits/stdc++.h>
#define int long long
#define rep(i, n) for (int i = 0; i < n; ++i)
#define all(a) a.begin(), a.end()
#define P pair<long long, long long>
#define double long double
using namespace std;
signed main() {
string a;
cin >> a;
int b = 0;
bool c = false;
rep(i, a.size()) {
rep(j, a.siz... | [] | 1,509,927 | 1,509,928 | u341447450 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
vector<char> data;
int w_size = w.size();
if (w_size % 2 == 0) {
for (int i = 0; i < w_size; i++) {
// cout << w[i] << endl;
data.push_back(w[i]);
// cout << data[i]<< endl;
}
sort(data.begin(), data.e... | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
vector<char> data;
int w_size = w.size();
if (w_size % 2 == 0) {
for (int i = 0; i < w_size; i++) {
data.push_back(w[i]);
}
sort(data.begin(), data.end());
bool flag;
for (int i = 0; i < w_size / 2; i++) {... | [
"control_flow.break.add"
] | 1,509,946 | 1,509,947 | u379959788 | cpp |
p04012 | #include <iostream>
#include <string>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); ++i)
int main(void) {
string s;
int cnt[26] = {0};
bool flg = true;
cin.tie(0);
ios::sync_with_stdio(false);
cin >> s;
REP(i, s.length()) { cnt[s[i] - 'a']++; }
REP(i, 26) {
if (cnt[i] % 2) {
... | #include <iostream>
#include <string>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); ++i)
int main(void) {
string s;
int cnt[26] = {0};
bool flg = true;
cin.tie(0);
ios::sync_with_stdio(false);
cin >> s;
REP(i, s.length()) { cnt[s[i] - 'a']++; }
REP(i, 26) {
if (cnt[i] % 2) {
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,509,956 | 1,509,957 | u398394831 | cpp |
p04012 | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long long ll;
int main() {
string w;
cin >> w;
vector<ll> a(26, 0);
for (ll i = 0; i < w.size(); i++)
a[w[i]]++;
for (ll i = 0; i < 26; i++) {
if (a[i] % 2 != 0) {
cout << "No" << endl;
break;
... | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long long ll;
int main() {
string w;
cin >> w;
vector<ll> a(26, 0);
for (ll i = 0; i < w.size(); i++)
a[w[i] - 'a']++;
for (ll i = 0; i < 26; i++) {
if (a[i] % 2 != 0) {
cout << "No" << endl;
break... | [
"expression.operation.binary.add"
] | 1,509,960 | 1,509,959 | u930561195 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define ld long double
#define ull unsigned long long int
#define rep(i, n) for (int i = 0; i < (int)(n); i++) // (i, 10) i=0~i=9まで
#define repr(i, n) for (int i = n; i >= 0; i--) // (i, 10) i=10~i=0まで
#define FOR(i, m, n) for (int i = m; i < n;... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define ld long double
#define ull unsigned long long int
#define rep(i, n) for (int i = 0; i < (int)(n); i++) // (i, 10) i=0~i=9まで
#define repr(i, n) for (int i = n; i >= 0; i--) // (i, 10) i=10~i=0まで
#define FOR(i, m, n) for (int i = m; i < n;... | [
"control_flow.break.add"
] | 1,509,970 | 1,509,971 | u766205979 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define pb push_back
#define all(x) x.begin(), x.end()
#define rep(i, n) for (int i = 0; i < n; ++i)
#define reps(i, m, n) for (int i = m; i <= n; ++i)
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef... | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define pb push_back
#define all(x) x.begin(), x.end()
#define rep(i, n) for (int i = 0; i < n; ++i)
#define reps(i, m, n) for (int i = m; i <= n; ++i)
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef... | [
"variable_declaration.value.change"
] | 1,509,983 | 1,509,984 | u671257784 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define pb push_back
#define all(x) x.begin(), x.end()
#define rep(i, n) for (int i = 0; i < n; ++i)
#define reps(i, m, n) for (int i = m; i <= n; ++i)
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef... | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define pb push_back
#define all(x) x.begin(), x.end()
#define rep(i, n) for (int i = 0; i < n; ++i)
#define reps(i, m, n) for (int i = m; i <= n; ++i)
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef... | [
"variable_declaration.value.change"
] | 1,509,985 | 1,509,984 | u671257784 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
bool ev = true;
for (int i = 0; i < 26; i++) {
int count = 0;
for (int j = 0; j < w.size(); j++) {
if (w[i] == char('a' + i)) {
count++;
}
}
if (count % 2 != 0) {
ev = false;
}
}
if (... | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
bool ev = true;
for (int i = 0; i < 26; i++) {
int count = 0;
for (int j = 0; j < w.size(); j++) {
if (w[j] == char('a' + i)) {
count++;
}
}
if (count % 2 != 0) {
ev = false;
}
}
if (... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,509,986 | 1,509,987 | u244626757 | cpp |
p04012 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <iostream>
using namespace std;
const int MR = 2000000;
int main() {
char w[200];
cin.getline(w, 101);
int cnt[26] = {0}, len = strlen(w);
for (int i = 0; i < len; i++) {
cnt[w[i] - 'A']++;
}
bool flag ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <iostream>
using namespace std;
const int MR = 2000000;
int main() {
char w[200];
cin.getline(w, 101);
int cnt[26] = {0}, len = strlen(w);
for (int i = 0; i < len; i++) {
cnt[w[i] - 'a']++;
}
bool flag ... | [
"literal.string.change",
"literal.string.case.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,509,990 | 1,509,991 | u542031283 | cpp |
p04012 | //#include<bits/stdc++.h> // 全てのヘッダーファイルをinclude
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < 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++)
cons... | //#include<bits/stdc++.h> // 全てのヘッダーファイルをinclude
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < 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++)
cons... | [
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change",
"call.remove"
] | 1,509,994 | 1,509,995 | u121243942 | cpp |
p04012 | //#include<bits/stdc++.h> // 全てのヘッダーファイルをinclude
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < 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++)
cons... | //#include<bits/stdc++.h> // 全てのヘッダーファイルをinclude
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < 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++)
cons... | [
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change",
"call.remove"
] | 1,509,994 | 1,509,996 | u121243942 | cpp |
p04012 | #include <iostream>
#include <string>
using namespace std;
char c[200];
int main() {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
c[s[i]]++;
}
for (char j = 'a'; j <= 'z'; j++) {
if (c[j] % 2) {
cout << "NO";
exit(0);
}
}
cout << "YES";
}
| #include <iostream>
#include <string>
using namespace std;
char c[200];
int main() {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
c[s[i]]++;
}
for (char j = 'a'; j <= 'z'; j++) {
if (c[j] % 2) {
cout << "No";
exit(0);
}
}
cout << "Yes";
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,510,008 | 1,510,009 | u915381516 | cpp |
p04012 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <string>
#include <vector>
using namespace std;
using LLONG = long long;
int main() {
string w;
cin >> w;
map<char, int> chars;
for (const char ch : w) {
chars[ch] = 0;
... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <string>
#include <vector>
using namespace std;
using LLONG = long long;
int main() {
string w;
cin >> w;
map<char, int> chars;
for (const char ch : w) {
chars[ch] = 0;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,510,025 | 1,510,026 | u214685595 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string ans = "Yes";
vector<int> alpha(26, 0);
for (int i = 0; i < 26; i++) {
alpha[(int)(s.at(i) - '0') % 26]++;
}
for (int i = 0; i < 26; i++) {
if (alpha[i] % 2 == 1) {
ans = "No";
break;
}
}
cout ... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string ans = "Yes";
vector<int> alpha(26, 0);
for (int i = 0; i < s.size(); i++) {
alpha[(int)(s.at(i) - '0') % 26]++;
}
for (int i = 0; i < 26; i++) {
if (alpha[i] % 2 == 1) {
ans = "No";
break;
}
}
... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"call.add"
] | 1,510,027 | 1,510,028 | u885523920 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int a[26];
int main() {
string s;
cin >> s;
for (int i = 0; i < 26; i++) {
a[s[i] - 'a']++;
a[s[i] - 'a'] %= 2;
}
bool f = true;
for (int i = 0; i < 26; i++) {
if (a[i]) {
f = false;
break;
}
}
cout << (f ? "Yes" : "No") << endl;
... | #include <bits/stdc++.h>
using namespace std;
int a[26];
int main() {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
a[s[i] - 'a']++;
a[s[i] - 'a'] %= 2;
}
bool f = true;
for (int i = 0; i < 26; i++) {
if (a[i]) {
f = false;
break;
}
}
cout << (f ? "Yes" : "No") << ... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"call.add"
] | 1,510,031 | 1,510,032 | u339937125 | cpp |
p04012 | #include <iostream>
#include <string>
using namespace std;
main() {
string w; // w文字列
bool flg = true;
//全ての文字要素が偶数回登場する
//
//先頭からA-Zが何回出てくるか数える
//
//いきなり文字コードの話が出てきて草
///////
cin >> w;
int data[26] = {0};
for (int i = 0; i < w.size(); i++) { // 1文字ずつ舐めていく 最大100
int index = w.at(i) - 'a';
... | #include <iostream>
#include <string>
using namespace std;
main() {
string w; // w文字列
bool flg = true;
//全ての文字要素が偶数回登場する
//
//先頭からA-Zが何回出てくるか数える
//
//いきなり文字コードの話が出てきて草
///////
cin >> w;
int data[26] = {0};
for (int i = 0; i < w.size(); i++) { // 1文字ずつ舐めていく 最大100
int index = w.at(i) - 'a';
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,510,043 | 1,510,044 | u323690397 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
bool bo[100];
int main() {
string s;
cin >> s;
map<char, int> mp;
for (int i = 0; i < (int)s.size(); i++) {
mp[s[i]]++;
}
for (auto it = mp.begin(); it != mp.end(); it++) {
if (it->second % 2 == 1) {
cout << "NO" << endl;
... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
bool bo[100];
int main() {
string s;
cin >> s;
map<char, int> mp;
for (int i = 0; i < (int)s.size(); i++) {
mp[s[i]]++;
}
for (auto it = mp.begin(); it != mp.end(); it++) {
if (it->second % 2 == 1) {
cout << "No" << endl;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,510,047 | 1,510,048 | u003209891 | cpp |
p04012 | #include <algorithm>
#include <complex>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
int main() {
int i;
int v[26];
string s;
cin >> s;
for (i = 0; i > s.size(); i++) {
v[(int)s[i] ... | #include <algorithm>
#include <complex>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
int main() {
int i;
int v[26] = {0};
string s;
cin >> s;
for (i = 0; i < s.size(); i++) {
v[(int... | [
"variable_declaration.value.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,510,055 | 1,510,056 | u855866205 | cpp |
p04012 | #include <algorithm>
#include <complex>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
#define rep(i, a) for (int i = 0; i < (a); i++)
using namespace std;
int main() {
string s;
int memo[26] = {0};
int i;
in... | #include <algorithm>
#include <complex>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
#define rep(i, a) for (int i = 0; i < (a); i++)
using namespace std;
int main() {
string s;
int memo[26] = {0};
int i;
in... | [] | 1,510,057 | 1,510,058 | u536712674 | cpp |
p04012 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string w;
bool flag = true;
cin >> w;
int a[26] = {0};
for (int i = 0; i < w.size(); i++) {
a[w[i] - 'a']++;
}
for (int i = 0; i < w.size(); i++) {
if (a[i] % 2 == 0) {
continue;
... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string w;
bool flag = true;
cin >> w;
int a[26] = {0};
for (int i = 0; i < w.size(); i++) {
a[w[i] - 'a']++;
}
for (int i = 0; i < 26; i++) {
if (a[i] % 2 == 0) {
continue;
} e... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"call.remove"
] | 1,510,080 | 1,510,081 | u342129174 | cpp |
p04012 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
typedef long long unsigned int ll;
int main() {
string s;
int a, b, c, d, i, j, k;
cin >> s;
vector<int> l(26);
for (i = 0; i < s.length(); i++) {
l[int(s[i] - 'a')]++;
}
a = 0;
whi... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
typedef long long unsigned int ll;
int main() {
string s;
int a, b, c, d, i, j, k;
cin >> s;
vector<int> l(26);
for (i = 0; i < s.length(); i++) {
l[int(s[i] - 'a')]++;
}
a = 0;
whi... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,510,092 | 1,510,093 | u032337012 | cpp |
p04012 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
typedef long long unsigned int ll;
int main() {
string s;
int a, b, c, d, i, j, k;
cin >> s;
vector<int> l(26);
for (i = 0; i < s.length(); i++) {
l[int(s[i] - 'a')]++;
}
a = 0;
whi... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <vector>
using namespace std;
typedef long long unsigned int ll;
int main() {
string s;
int a, b, c, d, i, j, k;
cin >> s;
vector<int> l(26);
for (i = 0; i < s.length(); i++) {
l[int(s[i] - 'a')]++;
}
a = 0;
whi... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.condition.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,510,094 | 1,510,093 | u032337012 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
int cou;
string w, ans;
cin >> w;
ans = "YES";
for (int i = 0; i < w.size(); i++) {
cou = 0;
for (int j = 0; j < w.size(); j++) {
if (w.at(i) == w.at(j)) {
cou += 1;
}
}
if (cou % 2 == 1) {
ans = "NO";
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int cou;
string w, ans;
cin >> w;
ans = "Yes";
for (int i = 0; i < w.size(); i++) {
cou = 0;
for (int j = 0; j < w.size(); j++) {
if (w.at(i) == w.at(j)) {
cou += 1;
}
}
if (cou % 2 == 1) {
ans = "No";
... | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 1,510,106 | 1,510,107 | u901397311 | cpp |
p04012 | #include <bits/stdc++.h>
#define repd(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, n) repd(i, 0, n)
//#define int long long
typedef long long ll;
const int MOD = 1000000007;
const int INF = 1010000000;
const double EPS = 1e-10;
using namespace std;
const pair<int, int> fd[] = {make_pair(1, 0), make_pair(-1, ... | #include <bits/stdc++.h>
#define repd(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, n) repd(i, 0, n)
//#define int long long
typedef long long ll;
const int MOD = 1000000007;
const int INF = 1010000000;
const double EPS = 1e-10;
using namespace std;
const pair<int, int> fd[] = {make_pair(1, 0), make_pair(-1, ... | [] | 1,510,137 | 1,510,138 | u317754719 | cpp |
p04012 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue> // s.front()
#include <set>
#include <stack> // s.top()
#include <string>
#include <vector>
using namespace std;
typedef long long Int;
typedef pair<Int, Int> P;
#define print(x) cout << (x) <<... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue> // s.front()
#include <set>
#include <stack> // s.top()
#include <string>
#include <vector>
using namespace std;
typedef long long Int;
typedef pair<Int, Int> P;
#define print(x) cout << (x) <<... | [
"call.remove"
] | 1,510,142 | 1,510,143 | u301893320 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
int cnt[50];
for (int i = 0; i < 50; i++)
cnt[i] = 0;
for (int i = 0; i < s.length(); i++)
cnt[s[i] - 'a']++;
bool flag = true;
for (int i = 0; i < 27; i++)
if (cnt[i] % 2)
flag = false;
if (flag)
puts("YE... | #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
int cnt[50];
for (int i = 0; i < 50; i++)
cnt[i] = 0;
for (int i = 0; i < s.length(); i++)
cnt[s[i] - 'a']++;
bool flag = true;
for (int i = 0; i < 30; i++)
if (cnt[i] % 2)
flag = false;
if (flag)
puts("Ye... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,510,144 | 1,510,145 | u355780225 | cpp |
p04012 | // Created by sz
#include <bits/stdc++.h>
using namespace std;
int cnt[26];
int main() {
#ifdef LOCAL
freopen("./input.txt", "r", stdin);
#endif
ios_base::sync_with_stdio(false);
cin.tie(0);
string s;
cin >> s;
for (auto i : s) {
cnt[i - 'a']++;
}
bool ok = true;
for (auto i : cnt) {
if (i ... | // Created by sz
#include <bits/stdc++.h>
using namespace std;
int cnt[26];
int main() {
#ifdef LOCAL
freopen("./input.txt", "r", stdin);
#endif
ios_base::sync_with_stdio(false);
cin.tie(0);
string s;
cin >> s;
for (auto i : s) {
cnt[i - 'a']++;
}
bool ok = true;
for (auto i : cnt) {
if ((i... | [
"expression.operation.binary.remove",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,510,150 | 1,510,151 | u041075929 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
int n;
for (char c = 'a'; c <= 'z'; c++) {
n = count(w.begin(), w.end(), c);
if (n % 2 != 0) {
cout << "NO" << endl;
return 0;
}
}
cout << "YES" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string w;
cin >> w;
int n;
for (char c = 'a'; c <= 'z'; c++) {
n = count(w.begin(), w.end(), c);
if (n % 2 != 0) {
cout << "No" << endl;
return 0;
}
}
cout << "Yes" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,510,157 | 1,510,158 | u387258288 | cpp |
p04012 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<char> moji(26);
vector<int> count(26, 0);
for (int i = 0; i < s.size(); i++) {
for (int j = 97; j < 122; j++) {
if (s[i] == j)
count.at(j - 97)++;
}
}
bool answer = true;
for (int i = 0; i < s.siz... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<char> moji(26);
vector<int> count(26, 0);
for (int i = 0; i < s.size(); i++) {
for (int j = 97; j < 122; j++) {
if (s[i] == j)
count.at(j - 97)++;
}
}
bool answer = true;
for (int i = 0; i < 26; i... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"call.remove"
] | 1,510,165 | 1,510,166 | u280114218 | cpp |
p04012 | #include <algorithm>
#include <cctype>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main(void) {
string w;
cin >> w;
int str[26] = {};
for (int i = 0; i < w.length(); i++) {
str[w[0] - 'a']... | #include <algorithm>
#include <cctype>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main(void) {
string w;
cin >> w;
int str[26] = {};
for (int i = 0; i < w.length(); i++) {
str[w[i] - 'a']... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,510,171 | 1,510,172 | u907049739 | cpp |
p04012 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
#define INF 2147483647
#define MODE 1
#if... |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
#define INF 2147483647
#define MODE 1
#if... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,510,173 | 1,510,174 | u901561754 | cpp |
p04012 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
#define INF 2147483647
#define MODE 1
#if... |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
#define INF 2147483647
#define MODE 1
#if... | [
"control_flow.branch.if.condition.change"
] | 1,510,175 | 1,510,176 | u901561754 | cpp |
p04012 | #include <bits/stdc++.h>
#define FOR(i, n) for (int i = 0; i < n; i++)
#define RFOR(i, n) for (int i = n; i >= 0; i--)
#define REP(i, m, n) for (int i = m; i < n; i++)
#define RREP(i, m, n) for (int i = m; i >= n; i--)
#define INF 999999999
using namespace std;
int main(int argc, char const *argv[]) {
int a, count[2... | #include <bits/stdc++.h>
#define FOR(i, n) for (int i = 0; i < n; i++)
#define RFOR(i, n) for (int i = n; i >= 0; i--)
#define REP(i, m, n) for (int i = m; i < n; i++)
#define RREP(i, m, n) for (int i = m; i >= n; i--)
#define INF 999999999
using namespace std;
int main(int argc, char const *argv[]) {
int a, count[2... | [
"variable_declaration.value.change"
] | 1,510,179 | 1,510,180 | u890511332 | cpp |
p04012 | #include <bits/stdc++.h>
#define FOR(i, n) for (int i = 0; i < n; i++)
#define RFOR(i, n) for (int i = n; i >= 0; i--)
#define REP(i, m, n) for (int i = m; i < n; i++)
#define RREP(i, m, n) for (int i = m; i >= n; i--)
#define INF 999999999
using namespace std;
int main(int argc, char const *argv[]) {
int a, count[2... | #include <bits/stdc++.h>
#define FOR(i, n) for (int i = 0; i < n; i++)
#define RFOR(i, n) for (int i = n; i >= 0; i--)
#define REP(i, m, n) for (int i = m; i < n; i++)
#define RREP(i, m, n) for (int i = m; i >= n; i--)
#define INF 999999999
using namespace std;
int main(int argc, char const *argv[]) {
int a, count[2... | [
"variable_declaration.value.change",
"literal.number.change",
"call.arguments.change"
] | 1,510,181 | 1,510,180 | u890511332 | cpp |
p04012 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(void) {
// Your code here!
string s;
cin >> s;
int a[26] = {0};
for (int i = 0; i < s.size(); i++) {
int te = (int)((char)s[i] - 'a');
a[te]++;
}
bool b = true;
for (in... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(void) {
// Your code here!
string s;
cin >> s;
int a[26] = {0};
for (int i = 0; i < s.size(); i++) {
int te = (int)((char)s[i] - 'a');
a[te]++;
}
bool b = true;
for (in... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,510,182 | 1,510,183 | u696865277 | cpp |
p04012 | #include <iostream>
#include <string>
using namespace std;
int main() {
string w, ans = "YES";
cin >> w;
string data = "abcdefghijklmnopqrstuvwxyz";
for (int i = 0; i < data.length(); ++i) {
int count = 0;
for (string::iterator it = w.begin(); it != w.end(); ++it) {
if (*it == data[i])
... | #include <iostream>
#include <string>
using namespace std;
int main() {
string w, ans = "Yes";
cin >> w;
string data = "abcdefghijklmnopqrstuvwxyz";
for (int i = 0; i < data.length(); ++i) {
int count = 0;
for (string::iterator it = w.begin(); it != w.end(); ++it) {
if (*it == data[i])
... | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 1,510,184 | 1,510,185 | u897678961 | cpp |
p04012 | #include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define P... | #include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#define P... | [
"variable_declaration.value.change"
] | 1,510,186 | 1,510,187 | u257304866 | cpp |
p04012 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
int a[26];
cin >> s;
for (int i = 0; i < s.length(); i++) {
a[s[i] - 'a']++;
}
for (int i = 0; i < 26; i++) {
if (a[i] % 2 != 0) {
cout << "No" << endl;
return 0;
}
}
cout << "Yes" << endl;
r... | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
int a[26] = {0};
cin >> s;
for (int i = 0; i < s.length(); i++) {
a[s[i] - 'a']++;
}
for (int i = 0; i < 26; i++) {
if (a[i] % 2 != 0) {
cout << "No" << endl;
return 0;
}
}
cout << "Yes" << end... | [
"variable_declaration.value.change"
] | 1,510,201 | 1,510,202 | u692797455 | cpp |
p04012 | #include <iostream>
#include <string>
using namespace std;
int main() {
string w;
cin >> w;
int len = w.size();
for (int i = 'a'; i <= 'z'; i++) {
int count = 0;
for (int j = 0; j < len; j++) {
if (w[j] = i)
count++;
}
if (count % 2) {
cout << "No" << endl;
return 0;
... | #include <iostream>
#include <string>
using namespace std;
int main() {
string w;
cin >> w;
int len = w.size();
for (int i = 'a'; i <= 'z'; i++) {
int count = 0;
for (int j = 0; j < len; j++) {
if (w[j] == i)
count++;
}
if (count % 2) {
cout << "No" << endl;
return 0;... | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,510,203 | 1,510,204 | u756388720 | cpp |
p04012 | #include <iostream>
using namespace std;
int f, c;
main() {
while (cin >> c)
f ^= 1 << (c - 97);
cout << (f ? "No" : "Yes") << endl;
} | #include <iostream>
using namespace std;
int f;
char c;
main() {
while (cin >> c)
f ^= 1 << (c - 97);
cout << (f ? "No" : "Yes") << endl;
} | [
"variable_declaration.type.change"
] | 1,510,207 | 1,510,208 | u088885630 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.