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 |
|---|---|---|---|---|---|---|---|
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<string> s(n);
map<string, int> mp;
mp["AC"] = 0;
mp["WA"] = 0;
mp["TLE"] = 0;
mp["RE"] = 0;
for (int i = 0; i < n; i++) {
cin >> s[i];
mp[s[i]]++;
}
cout << "AC x " << mp["AC"] << endl;
cout << "wA x " <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<string> s(n);
map<string, int> mp;
mp["AC"] = 0;
mp["WA"] = 0;
mp["TLE"] = 0;
mp["RE"] = 0;
for (int i = 0; i < n; i++) {
cin >> s[i];
mp[s[i]]++;
}
cout << "AC x " << mp["AC"] << endl;
cout << "WA x " <<... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 320,781 | 320,782 | u592961584 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int ac = 0, wa = 0, tle = 0, re = 0;
int n;
cin >> n;
while (n) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if (s == "TLE")
tle++;
else
re++;
n--;
}
cout << "AC * " <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int ac = 0, wa = 0, tle = 0, re = 0;
int n;
cin >> n;
while (n) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if (s == "TLE")
tle++;
else
re++;
n--;
}
cout << "AC x " <<... | [
"literal.string.change",
"io.output.change"
] | 320,783 | 320,784 | u853218833 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int ac = 0, wa = 0, tle = 0, re = 0;
int n;
cin >> n;
while (n) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if (s == "TLE")
tle++;
else
re++;
n--;
}
cout << "AC X " <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int ac = 0, wa = 0, tle = 0, re = 0;
int n;
cin >> n;
while (n) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if (s == "TLE")
tle++;
else
re++;
n--;
}
cout << "AC x " <<... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 320,785 | 320,784 | u853218833 | cpp |
p02613 | #include <bits/stdc++.h>
#define pb push_back
#define fi first
#define se second
#define ins insert
#define sz(x) (long long)x.size()
typedef long long ll;
typedef long double ld;
const int N = 100005;
const ld pi = 3.141592653;
const ll MOD = 1000000007;
using namespace std;
int dx[9] = {1, -1, 0, 0, 1, 1, -1, -1, 0... | #include <bits/stdc++.h>
#define pb push_back
#define fi first
#define se second
#define ins insert
#define sz(x) (long long)x.size()
typedef long long ll;
typedef long double ld;
const int N = 100005;
const ld pi = 3.141592653;
const ll MOD = 1000000007;
using namespace std;
int dx[9] = {1, -1, 0, 0, 1, 1, -1, -1, 0... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 320,790 | 320,791 | u429355436 | cpp |
p02613 | #include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using P = pair<int, int>;
#include <algorithm>
#include <map>
#include <math.h>
#include <queue>
int main() {
int n;
cin >> n;
int ac(0), wa(0), tle(0), re(0);
rep(i, n) {
string... | #include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using P = pair<int, int>;
#include <algorithm>
#include <map>
#include <math.h>
#include <queue>
int main() {
int n;
cin >> n;
int ac(0), wa(0), tle(0), re(0);
rep(i, n) {
string... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 320,794 | 320,795 | u872982453 | cpp |
p02613 | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (int)(n); i++)
#define int long long
#define ll long long
using namespace std;
signed main() {
int n;
cin >> n;
string s[100001];
int a = 0, b = 0, c = 0, d = 0;
rep(i, n) {
cin >> s[i];
if (s[i] == "AC")
a++;
if (s[i] == "WA")
... | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (int)(n); i++)
#define int long long
#define ll long long
using namespace std;
signed main() {
int n;
cin >> n;
string s[100001];
int a = 0, b = 0, c = 0, d = 0;
rep(i, n) {
cin >> s[i];
if (s[i] == "AC")
a++;
if (s[i] == "WA")
... | [] | 320,796 | 320,797 | u086930089 | cpp |
p02613 | // Generated at 2020-07-31 22:53:03 UTC+8
// Created by Alphagocc
#include <bits/stdc++.h>
#ifdef USE_PBDS
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/priority_queue.hpp>
#endif
using namespace std;
#define FI __inline__ __attribute__((always_inline))
#define TN typename
#define TP template
class IO {
... | // Generated at 2020-07-31 22:54:46 UTC+8
// Created by Alphagocc
#include <bits/stdc++.h>
#ifdef USE_PBDS
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/priority_queue.hpp>
#endif
using namespace std;
#define FI __inline__ __attribute__((always_inline))
#define TN typename
#define TP template
class IO {
... | [
"literal.string.change",
"call.arguments.change",
"variable_access.subscript.index.change"
] | 320,798 | 320,799 | u908432409 | cpp |
p02613 | #include <bits/stdc++.h>
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0); ... | #include <bits/stdc++.h>
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0); ... | [
"literal.string.change"
] | 320,802 | 320,804 | u383280295 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int t;
cin >> t;
int AC = 0;
int WA = 0;
int TLE = 0;
int RE = 0;
for (int i = 0; i < t; i++) {
string n;
cin >> n;
if (n == "AC") {
AC += 1;
} else if (n == "WA") {
WA += 1;
} else if (n == "TLE") {
TLE += 1;... | #include <iostream>
using namespace std;
int main() {
int t;
cin >> t;
int AC = 0;
int WA = 0;
int TLE = 0;
int RE = 0;
for (int i = 0; i < t; i++) {
string n;
cin >> n;
if (n == "AC") {
AC += 1;
} else if (n == "WA") {
WA += 1;
} else if (n == "TLE") {
TLE += 1;... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 320,805 | 320,806 | u480151432 | cpp |
p02613 | #include <bits/stdc++.h>
#include <cmath>
using namespace std;
typedef long long int ll;
#define in insert
#define rep(i, n) for (ll i = 0; i < n; i++)
#define pb push_back
#define N 200001
int main() {
ll t;
cin >> t;
map<string, ll> m;
m["WA"]++;
m["TLE"]++;
m["AC"]++;
m["RE"]++;
while (t--) {
st... | #include <bits/stdc++.h>
#include <cmath>
using namespace std;
typedef long long int ll;
#define in insert
#define rep(i, n) for (ll i = 0; i < n; i++)
#define pb push_back
#define N 200001
int main() {
ll t;
cin >> t;
map<string, ll> m;
m["WA"]++;
m["TLE"]++;
m["AC"]++;
m["RE"]++;
while (t--) {
st... | [
"literal.string.change",
"io.output.change"
] | 320,810 | 320,811 | u026774865 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
string a;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> a;
if (a == "AC")
ac++;
if (a == "WA")
wa++;
if (a == "TLE")
tle++;
if (a == "RE")
re++;
}
cout << "AC x"... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
string a;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> a;
if (a == "AC")
ac++;
if (a == "WA")
wa++;
if (a == "TLE")
tle++;
if (a == "RE")
re++;
}
cout << "AC x ... | [
"literal.string.change",
"io.output.change"
] | 320,816 | 320,817 | u730885294 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
unordered_map<string, int> m;
for (int i = 0; i < n; ++i) {
string s;
cin >> s;
m[s]++;
}
cout << "AC x " << m["AC"] << endl;
cout << "WA x" << m["WA"] << endl;
cout << "TLE x" << m["TLE"] << endl;
cout << "RE x... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
unordered_map<string, int> m;
for (int i = 0; i < n; ++i) {
string s;
cin >> s;
m[s]++;
}
cout << "AC x " << m["AC"] << endl;
cout << "WA x " << m["WA"] << endl;
cout << "TLE x " << m["TLE"] << endl;
cout << "RE... | [
"literal.string.change",
"io.output.change"
] | 320,818 | 320,819 | u072793891 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
long long t, ac, we, re, tle;
string s;
int main() {
cin >> t;
while (t--) {
cin >> s;
if (s == "AC") {
ac++;
}
if (s == "WE") {
we++;
}
if (s == "RE") {
re++;
}
if (s == "TLE") {
tle++;
}
}
cout << "AC x "... | #include <bits/stdc++.h>
using namespace std;
long long t, ac, we, re, tle;
string s;
int main() {
cin >> t;
while (t--) {
cin >> s;
if (s == "AC") {
ac++;
}
if (s == "WA") {
we++;
}
if (s == "RE") {
re++;
}
if (s == "TLE") {
tle++;
}
}
cout << "AC x "... | [
"literal.string.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 320,826 | 320,827 | u778914982 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int N;
cin >> N;
int AC = 0, WA = 0, RE = 0, TLE = 0;
string s;
for (int i = 0; i < N; i++) {
cin >> s;
if (s.compare("AC") == 0) {
AC++;
} else if (s.compare("WA") == 0) {
WA++;
} else if (s.compare("RE") == 0) {
RE++;
... | #include <iostream>
using namespace std;
int main() {
int N;
cin >> N;
int AC = 0, WA = 0, RE = 0, TLE = 0;
string s;
for (int i = 0; i < N; i++) {
cin >> s;
if (s.compare("AC") == 0) {
AC++;
} else if (s.compare("WA") == 0) {
WA++;
} else if (s.compare("RE") == 0) {
RE++;
... | [
"io.output.change"
] | 320,828 | 320,829 | u679535605 | cpp |
p02613 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n - 1; i >= 0; i--)
#define MAX(a, b) a = a > b ? a : b
#define MIN(a, b) a = a < b ? a : b
#define REP(i, x, n) for (int i = x; i < n; i++)
#define REPR(i, x, n) for (int i = n - 1; i >= x; i--)
#define pb push_back
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n - 1; i >= 0; i--)
#define MAX(a, b) a = a > b ? a : b
#define MIN(a, b) a = a < b ? a : b
#define REP(i, x, n) for (int i = x; i < n; i++)
#define REPR(i, x, n) for (int i = n - 1; i >= x; i--)
#define pb push_back
... | [
"literal.string.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 320,833 | 320,834 | u961753201 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll mod = 1000000007;
#define pll pair<ll, ll>
#define pii pair<int32_t, int32_t>
#define loop(i, n) for (int64_t i = 0; i < n; i++)
#define loop1(i, a, b) for (int64_t i = a; i <= b; i++)
#define rloop(i, n) for (int64_t i = n - 1; i >= 0; i--)
#define... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll mod = 1000000007;
#define pll pair<ll, ll>
#define pii pair<int32_t, int32_t>
#define loop(i, n) for (int64_t i = 0; i < n; i++)
#define loop1(i, a, b) for (int64_t i = a; i <= b; i++)
#define rloop(i, n) for (int64_t i = n - 1; i >= 0; i--)
#define... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 320,854 | 320,855 | u120572887 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define sz(x) (int)(x).size()
#define all(x) (x).begin(), (x).end()
const int INF = 1e4;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int n;
cin >> n;
int c1 = 0, c2 = 0, c3 = 0, c4 = 0;
while ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define sz(x) (int)(x).size()
#define all(x) (x).begin(), (x).end()
const int INF = 1e4;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int n;
cin >> n;
int c1 = 0, c2 = 0, c3 = 0, c4 = 0;
while ... | [
"literal.string.change",
"literal.string.case.change",
"variable_declaration.value.change"
] | 320,856 | 320,857 | u195278459 | cpp |
p02613 | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll n;
cin >> n;
map<string, ll> mp;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
mp[s]++;
}
cout << "AC"
<< " "
<< "X"
<< " " << mp["AC"] << "\n";
cout << "WA"
<< " "
<< ... | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll n;
cin >> n;
map<string, ll> mp;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
mp[s]++;
}
cout << "AC"
<< " "
<< "x"
<< " " << mp["AC"] << "\n";
cout << "WA"
<< " "
<< ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 320,858 | 320,859 | u625775746 | cpp |
p02613 | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll n;
cin >> n;
map<string, ll> mp;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
mp[s]++;
}
cout << "AC"
<< " "
<< "*"
<< " " << mp["AC"] << "\n";
cout << "WA"
<< " "
<< ... | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll n;
cin >> n;
map<string, ll> mp;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
mp[s]++;
}
cout << "AC"
<< " "
<< "x"
<< " " << mp["AC"] << "\n";
cout << "WA"
<< " "
<< ... | [
"literal.string.change",
"io.output.change"
] | 320,860 | 320,859 | u625775746 | cpp |
p02613 | #include <bits/stdc++.h>
#define rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define SZ(x) ((int)(x).size())
typedef long long ll;
typedef unsigned long long ull;
typedef unsigned int uint;
struct Vector {
double x, y;
};
template <class T> inline bool chmin(T &a, T b) {... | #include <bits/stdc++.h>
#define rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define SZ(x) ((int)(x).size())
typedef long long ll;
typedef unsigned long long ull;
typedef unsigned int uint;
struct Vector {
double x, y;
};
template <class T> inline bool chmin(T &a, T b) {... | [
"literal.string.change",
"expression.operation.binary.change"
] | 320,861 | 320,862 | u315343268 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int C0, C1, C2, C3;
C0 = 0;
C1 = 0;
C2 = 0;
C3 = 0;
vector<string> answer(N);
for (int i = 0; i < N; i++) {
cin >> answer.at(i);
}
for (int i = 0; i < N; i++) {
if (answer.at(i) == "AC") {
C0++;
} else ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int C0, C1, C2, C3;
C0 = 0;
C1 = 0;
C2 = 0;
C3 = 0;
vector<string> answer(N);
for (int i = 0; i < N; i++) {
cin >> answer.at(i);
}
for (int i = 0; i < N; i++) {
if (answer.at(i) == "AC") {
C0++;
} else ... | [
"literal.string.change",
"io.output.change"
] | 320,863 | 320,864 | u532927149 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
long int N;
cin >> N;
long int ac = 0, wa = 0, tle = 0, re = 0;
for (long int i = 0; i < N; i++) {
string input;
cin >> input;
if (input == "AC") {
ac++;
}
if (input == "WA") {
wa++;
}
if (input == "TLE") {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long int N;
cin >> N;
long int ac = 0, wa = 0, tle = 0, re = 0;
for (long int i = 0; i < N; i++) {
string input;
cin >> input;
if (input == "AC") {
ac++;
}
if (input == "WA") {
wa++;
}
if (input == "TLE") {
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 320,865 | 320,866 | u005274362 | cpp |
p02613 | // om namah shivaaay//
#include <bits/stdc++.h>
#define input \
int t; \
cin >> t; \
while (t--)
#define Om_nama... | // om namah shivaaay//
#include <bits/stdc++.h>
#define input \
int t; \
cin >> t; \
while (t--)
#define Om_nama... | [
"literal.string.change",
"io.output.change"
] | 320,870 | 320,871 | u935662866 | cpp |
p02613 | // om namah shivaaay//
#include <bits/stdc++.h>
#define input \
int t; \
cin >> t; \
while (t--)
#define Om_nama... | // om namah shivaaay//
#include <bits/stdc++.h>
#define input \
int t; \
cin >> t; \
while (t--)
#define Om_nama... | [
"literal.string.change",
"io.output.change"
] | 320,872 | 320,871 | u935662866 | cpp |
p02613 | // om namah shivaaay//
#include <bits/stdc++.h>
#define input \
int t; \
cin >> t; \
while (t--)
#define Om_nama... | // om namah shivaaay//
#include <bits/stdc++.h>
#define input \
int t; \
cin >> t; \
while (t--)
#define Om_nama... | [
"literal.string.change",
"io.output.change"
] | 320,873 | 320,871 | u935662866 | cpp |
p02613 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> arr(4);
while (n--) {
string s;
cin >> s;
if (s == "AC")
arr[0]++;
else if (s == "WA")
arr[1]++;
else if (s == "TLE")
arr[2]++;
else if (s == "CE")
arr[3]+... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> arr(4);
while (n--) {
string s;
cin >> s;
if (s == "AC")
arr[0]++;
else if (s == "WA")
arr[1]++;
else if (s == "TLE")
arr[2]++;
else if (s == "RE")
arr[3]+... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 320,874 | 320,875 | u704524932 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int N;
int c1 = 0;
int c2 = 0;
int c3 = 0;
int c4 = 0;
string s;
cin >> N;
for (int i = 0; i <= N; ++i) {
cin >> s;
if (s == "AC")
c1++;
if (s == "WA")
c2++;
if (s == "TLE")
c3++;
if (s == "RE")
c4++;
}
... | #include <iostream>
using namespace std;
int main() {
int N;
int c1 = 0;
int c2 = 0;
int c3 = 0;
int c4 = 0;
string s;
cin >> N;
for (int i = 0; i < N; ++i) {
cin >> s;
if (s == "AC")
c1++;
if (s == "WA")
c2++;
if (s == "TLE")
c3++;
if (s == "RE")
c4++;
}
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 320,891 | 320,892 | u073854619 | cpp |
p02613 | #include <stdio.h>
#include <string.h>
int main() {
int N;
char tmp;
scanf("%d%c", &N, &tmp);
int ac = 0, wa = 0, tle = 0, re = 0;
char *s;
for (int i = 0; i < N; i++) {
fgets(s, 5, stdin);
if (!strcmp(s, "AC\n"))
ac++;
if (!strcmp(s, "WA\n"))
wa++;
if (!strcmp(s, "TLE\n"))
... | #include <stdio.h>
#include <string.h>
int main() {
int N;
char tmp;
scanf("%d%c", &N, &tmp);
int ac = 0, wa = 0, tle = 0, re = 0;
char s[5];
for (int i = 0; i < N; i++) {
fgets(s, 5, stdin);
if (!strcmp(s, "AC\n"))
ac++;
if (!strcmp(s, "WA\n"))
wa++;
if (!strcmp(s, "TLE\n"))
... | [] | 320,895 | 320,896 | u080427863 | cpp |
p02613 | #include <bits/stdc++.h>
#define endl '\n'
#define int long long
using namespace std;
int32_t main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
int AC = 0;
int WA = 0;
int TLE = 0;
int RE = 0;
for (int i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "... | #include <bits/stdc++.h>
#define endl '\n'
#define int long long
using namespace std;
int32_t main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
int AC = 0;
int WA = 0;
int TLE = 0;
int RE = 0;
for (int i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "... | [
"literal.string.change",
"io.output.change"
] | 320,897 | 320,898 | u339500203 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
map<string, int> m;
m["AC"] = 0;
m["WA"] = 0;
m["TLE"] = 0;
m["RE"] = 0;
while (n--) {
string s;
cin >> s;
m[s]++;
}
cout << "AC * " << m["AC"] << "\n";
cout << "WA * " << m["WA"] << "\n";
cout << "TLE * " <... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
map<string, int> m;
m["AC"] = 0;
m["WA"] = 0;
m["TLE"] = 0;
m["RE"] = 0;
while (n--) {
string s;
cin >> s;
m[s]++;
}
cout << "AC x " << m["AC"] << "\n";
cout << "WA x " << m["WA"] << "\n";
cout << "TLE x " <... | [
"literal.string.change",
"io.output.change"
] | 320,899 | 320,900 | u716663570 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int ac = 0, tle = 0, wa = 0, re = 0;
int main() {
int t;
cin >> t;
string s;
for (int i = 0; i < t; i++) {
cin >> s;
if (s[0] == 'A' && s[1] == 'C') {
ac++;
}
if (s[0] == 'W' && s[1] == 'A') {
wa++;
}
if (s[0] == 'T' && s[1] == 'L... | #include <bits/stdc++.h>
using namespace std;
int ac = 0, tle = 0, wa = 0, re = 0;
int main() {
int t;
cin >> t;
string s;
for (int i = 0; i < t; i++) {
cin >> s;
if (s[0] == 'A' && s[1] == 'C') {
ac++;
}
if (s[0] == 'W' && s[1] == 'A') {
wa++;
}
if (s[0] == 'T' && s[1] == 'L... | [
"literal.string.change",
"io.output.change"
] | 320,901 | 320,902 | u607003364 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
int ac = 0;
int wa = 0;
int tle = 0;
int re = 0;
int count;
cin >> count;
for (int i = 0; i < count; i++) {
cin >> str;
if (str == "AC")
ac++;
else if (str == "WA")
wa++;
else if (str == "TLE")
tl... | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
int ac = 0;
int wa = 0;
int tle = 0;
int re = 0;
int count;
cin >> count;
for (int i = 0; i < count; i++) {
cin >> str;
if (str == "AC")
ac++;
else if (str == "WA")
wa++;
else if (str == "TLE")
tl... | [
"literal.string.change",
"io.output.change",
"literal.string.case.change"
] | 320,910 | 320,911 | u716085544 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
string S[N];
for (int i = 0; i < N; i++) {
cin >> S[i];
}
int C[2][2] = {{0, 0}, {0, 0}};
for (int i = 0; i < N; i++) {
if (S[i] == "AC") {
C[0][0]++;
} else if (S[i] == "WA") {
C[0][1]++;
} else if ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
string S[N];
for (int i = 0; i < N; i++) {
cin >> S[i];
}
int C[2][2] = {{0, 0}, {0, 0}};
for (int i = 0; i < N; i++) {
if (S[i] == "AC") {
C[0][0]++;
} else if (S[i] == "WA") {
C[0][1]++;
} else if ... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 321,048 | 321,049 | u152811626 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) begin(v), end(v)
using ll = long long;
int main() {
int n;
cin >> n;
map<string, int> mp;
rep(i, n) {
string s;
cin >> s;
mp[s]++;
}
for (string s : {"AC", "WA", "TLE", "RE"}) {
cout... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) begin(v), end(v)
using ll = long long;
int main() {
int n;
cin >> n;
map<string, int> mp;
rep(i, n) {
string s;
cin >> s;
mp[s]++;
}
for (string s : {"AC", "WA", "TLE", "RE"}) {
cout... | [
"literal.string.change",
"io.output.change"
] | 321,060 | 321,061 | u587622858 | cpp |
p02613 | #include <bits/stdc++.h>
#define sf scanf
#define pf printf
#define pb push_back
#define sz 200005
#define inf 0x3f3f3f3f
#define MOD 1000000007
#define READ freopen("in.txt", "r", stdin);
#define WRITE freopen("out.txt", "w", stdout);
#define optimize \
... | #include <bits/stdc++.h>
#define sf scanf
#define pf printf
#define pb push_back
#define sz 200005
#define inf 0x3f3f3f3f
#define MOD 1000000007
#define READ freopen("in.txt", "r", stdin);
#define WRITE freopen("out.txt", "w", stdout);
#define optimize \
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,073 | 321,074 | u531579021 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int C[4] = {0, 0, 0, 0};
for (int i = 0; i < N; i++) {
string S;
cin >> S;
if (S == "AC")
C[0]++;
else if (S == "WA")
C[1]++;
else if (S == "TLE")
C[2]++;
else
C[3]++;
}
cout << "AC x ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int C[4] = {0, 0, 0, 0};
for (int i = 0; i < N; i++) {
string S;
cin >> S;
if (S == "AC")
C[0]++;
else if (S == "WA")
C[1]++;
else if (S == "TLE")
C[2]++;
else
C[3]++;
}
cout << "AC x ... | [
"literal.string.change",
"io.output.change"
] | 321,079 | 321,080 | u113287534 | cpp |
p02613 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <string.h>
using namespace std;
#define pb push_back
#define all(v) v.begin(), v.end()
#define rep(i, n, v) for (i = n; i < v; i++)
#define per(i, n, v) for (i = n; i > v; i--)
#define ff first
#define ss seco... |
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <string.h>
using namespace std;
#define pb push_back
#define all(v) v.begin(), v.end()
#define rep(i, n, v) for (i = n; i < v; i++)
#define per(i, n, v) for (i = n; i > v; i--)
#define ff first
#define ss seco... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,084 | 321,085 | u124789795 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int N;
cin >> N;
vector<string> vec(N, "");
for (int i = 0; i < N; i++) {
cin >> vec[i];
}
int AC = 0, WA = 0, TLE = 0, RE = 0;
for (int i = 0; i < N; i++) {
if (vec[i] == "AC") {
AC++;
} else if (vec[i] == "WA") {
... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int N;
cin >> N;
vector<string> vec(N, "");
for (int i = 0; i < N; i++) {
cin >> vec[i];
}
int AC = 0, WA = 0, TLE = 0, RE = 0;
for (int i = 0; i < N; i++) {
if (vec[i] == "AC") {
AC++;
} else if (vec[i] == "WA") {
... | [
"literal.string.change",
"io.output.change"
] | 321,088 | 321,089 | u905600181 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int tt;
int a, w, t, r;
cin >> tt;
a = w = t = r = 0;
while (tt--) {
string c;
cin >> c;
if (c == "AC") {
a++;
} else if (c == "WA") {
w++;
} else if (c == "TLE") {
t++;
} else {
r++;
}
}
printf... | #include <bits/stdc++.h>
using namespace std;
int main() {
int tt;
int a, w, t, r;
cin >> tt;
a = w = t = r = 0;
while (tt--) {
string c;
cin >> c;
if (c == "AC") {
a++;
} else if (c == "WA") {
w++;
} else if (c == "TLE") {
t++;
} else {
r++;
}
}
printf... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 321,090 | 321,091 | u239009219 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
map<string, int> cnt;
while (t--) {
string s;
cnt[s]++;
}
string x[] = {"AC", "WA", "TLE", "RE"};
for (int i = 0; i < 4; i++) {
cout << x[i] << " x " << cnt[x[i]] << "\n";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
map<string, int> cnt;
while (t--) {
string s;
cin >> s;
cnt[s]++;
}
string x[] = {"AC", "WA", "TLE", "RE"};
for (int i = 0; i < 4; i++) {
cout << x[i] << " x " << cnt[x[i]] << "\n";
}
}
| [] | 321,096 | 321,097 | u294397492 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int test;
string s;
int count_ac = 0, count_wa = 0, count_tle = 0, count_re = 0;
cin >> test;
while (test--) {
cin >> s;
if (s == "AC") {
count_ac++;
} else if (s == "WA") {
count_wa++;
} else if (s == "TLE") {
cou... | #include <bits/stdc++.h>
using namespace std;
int main() {
int test;
string s;
int count_ac = 0, count_wa = 0, count_tle = 0, count_re = 0;
cin >> test;
while (test--) {
cin >> s;
if (s == "AC") {
count_ac++;
} else if (s == "WA") {
count_wa++;
} else if (s == "TLE") {
cou... | [
"literal.string.change",
"io.output.change"
] | 321,100 | 321,101 | u544633028 | cpp |
p02613 | #include <cstring>
#include <iostream>
int c0, c1, c2, c3;
int main() {
int n;
scanf("%d", &n);
char s[10];
for (int i = 0; i < n; ++i) {
scanf("%s", s);
if (strcmp(s, "AC"))
c0++;
else if (strcmp(s, "WA"))
c1++;
else if (strcmp(s, "TLE"))
c2++;
else if (strcmp(s, "RE"))
... | #include <cstring>
#include <iostream>
int c0, c1, c2, c3;
int main() {
int n;
scanf("%d", &n);
char s[10];
for (int i = 0; i < n; ++i) {
scanf("%s", s);
if (!strcmp(s, "AC"))
c0++;
else if (!strcmp(s, "WA"))
c1++;
else if (!strcmp(s, "TLE"))
c2++;
else if (!strcmp(s, "RE... | [
"expression.operation.unary.add",
"control_flow.branch.if.condition.change"
] | 321,102 | 321,103 | u131028569 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int t;
int c1 = 0, c2 = 0, c3 = 0, c4 = 0;
cin >> t;
while (t > 0) {
string s;
cin >> s;
if (s == "AC")
c1++;
else if (s == "WA")
c2++;
else if (s == "TLE")
c3++;
else if (s == "RE")
c4++;
t--;
}
cout <... | #include <iostream>
using namespace std;
int main() {
int t;
int c1 = 0, c2 = 0, c3 = 0, c4 = 0;
cin >> t;
while (t > 0) {
string s;
cin >> s;
if (s == "AC")
c1++;
else if (s == "WA")
c2++;
else if (s == "TLE")
c3++;
else if (s == "RE")
c4++;
t--;
}
cout <... | [
"literal.string.change",
"io.output.change"
] | 321,111 | 321,112 | u456637521 | cpp |
p02613 |
#include <algorithm>
#include <iostream>
#include <list>
#include <queue>
#include <stack>
#include <vector>
using namespace std;
#define fast_cin() \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... |
#include <algorithm>
#include <iostream>
#include <list>
#include <queue>
#include <stack>
#include <vector>
using namespace std;
#define fast_cin() \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,113 | 321,114 | u465737666 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<long long> vii;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<long long> vii;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,115 | 321,116 | u556698951 | cpp |
p02613 | #include <cstdio>
using namespace std;
int main(void) {
int n, i, j, a, b, c, d;
char s[1000000];
scanf("%d", &n);
a = 0;
b = 0;
c = 0;
d = 0;
for (i = 0; i < n; i++) {
scanf("%s", s);
if (s[0] == 'A') {
a += 1;
} else if (s[0] == 'W') {
b += 1;
} else if (s[0] == 'T') {
... | #include <cstdio>
using namespace std;
int main(void) {
int n, i, j, a, b, c, d;
char s[1000000];
scanf("%d", &n);
a = 0;
b = 0;
c = 0;
d = 0;
for (i = 0; i < n; i++) {
scanf("%s", s);
if (s[0] == 'A') {
a += 1;
} else if (s[0] == 'W') {
b += 1;
} else if (s[0] == 'T') {
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 321,117 | 321,118 | u587057066 | cpp |
p02613 | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int N;
string s;
cin >> N;
int AC = 0;
int WA = 0;
int TLE = 0;
int RE = 0;
for (int i = 0; i < N; i++) {
cin >> s;
if (s == "AC")
AC++;
if (s == "WA")
WA++;
if (s == "TLE")
TLE++;
if (... | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int N;
string s;
cin >> N;
int AC = 0;
int WA = 0;
int TLE = 0;
int RE = 0;
for (int i = 0; i < N; i++) {
cin >> s;
if (s == "AC")
AC++;
if (s == "WA")
WA++;
if (s == "TLE")
TLE++;
if (... | [
"literal.string.change",
"io.output.change"
] | 321,127 | 321,128 | u363599349 | cpp |
p02613 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
int N;
cin >> N;
vector<string> vec(N);
vector<int> count = {0, 0, 0, 0};
vector<string> dic = {"AC", "WA", "TLE", "RE"};
rep(i, N) {
string s;
cin >> s;
rep(i, 4) {
if (dic.at(... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
int N;
cin >> N;
vector<string> vec(N);
vector<int> count = {0, 0, 0, 0};
vector<string> dic = {"AC", "WA", "TLE", "RE"};
rep(i, N) {
string s;
cin >> s;
rep(i, 4) {
if (dic.at(... | [
"literal.string.change",
"io.output.change"
] | 321,147 | 321,148 | u457326935 | cpp |
p02613 | #include <bits/stdc++.h>
#define endl '\n'
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
unordered_map<char, int> mapa;
while (n--) {
string s;
cin >> s;
++mapa[s[0]];
}
cout << "AC x " << mapa['A'] << endl;
cout << "WA... | #include <bits/stdc++.h>
#define endl '\n'
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
unordered_map<char, int> mapa;
while (n--) {
string s;
cin >> s;
++mapa[s[0]];
}
cout << "AC x " << mapa['A'] << endl;
cout << "WA... | [
"literal.string.change",
"io.output.change"
] | 321,151 | 321,152 | u807426262 | cpp |
p02613 | #include <cstdio>
#include <cstring>
using namespace std;
int main() {
int n;
scanf("%d", &n);
char str[5];
int map[4] = {0, 0, 0, 0};
while (n--) {
scanf("%s", str);
if (!strcmp(str, "AC")) {
map[0]++;
} else if (!strcmp(str, "WA")) {
map[1]++;
} else if (!strcmp(str, "TLE")) {
... | #include <cstdio>
#include <cstring>
using namespace std;
int main() {
int n;
scanf("%d", &n);
char str[5];
int map[4] = {0, 0, 0, 0};
while (n--) {
scanf("%s", str);
if (!strcmp(str, "AC")) {
map[0]++;
} else if (!strcmp(str, "WA")) {
map[1]++;
} else if (!strcmp(str, "TLE")) {
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 321,153 | 321,154 | u856042045 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
string s;
cin >> n;
int ca = 0, cw = 0, ct = 0, cr = 0;
while (n--) {
cin >> s;
if (s == "AC")
ca++;
if (s == "WA")
cw++;
if (s == "TLE")
ct++;
if (s == "RE")
cr++;
}
cout << "AC x " << ca << "\... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
string s;
cin >> n;
int ca = 0, cw = 0, ct = 0, cr = 0;
while (n--) {
cin >> s;
if (s == "AC")
ca++;
if (s == "WA")
cw++;
if (s == "TLE")
ct++;
if (s == "RE")
cr++;
}
cout << "AC x " << ca << "\... | [
"literal.string.change",
"io.output.change"
] | 321,166 | 321,167 | u714724617 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int n, c = 0, c1 = 0, c2 = 0, c3 = 0;
string str;
cin >> n;
for (int i = 1; i <= n; i++) {
getline(cin, str);
if (str == "AC")
c++;
else if (str == "WA")
c1++;
else if (str == "TLE")
c2++;
else if (str == "RE")
c3+... | #include <iostream>
using namespace std;
int main() {
int n, c = 0, c1 = 0, c2 = 0, c3 = 0;
string str;
cin >> n;
cin.ignore();
for (int i = 1; i <= n; i++) {
getline(cin, str);
if (str == "AC")
c++;
else if (str == "WA")
c1++;
else if (str == "TLE")
c2++;
else if (str ==... | [
"call.add"
] | 321,179 | 321,180 | u077637142 | cpp |
p02613 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int arr[4];
int main() {
int n;
cin >> n;
string s;
for (int i = 0; i < n; i++) {
cin >> s;
if (s[0] == 'A')
arr[0]++;
else if (s[0] == 'W')
arr[1]++;
else if (s[0] == ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int arr[4];
int main() {
int n;
cin >> n;
string s;
for (int i = 0; i < n; i++) {
cin >> s;
if (s[0] == 'A')
arr[0]++;
else if (s[0] == 'W')
arr[1]++;
else if (s[0] == ... | [
"literal.string.change",
"io.output.change"
] | 321,182 | 321,183 | u202268921 | cpp |
p02613 | /*
________
|\ ____\ _____ _ ___ ___
\ \ \___|_ ___ _|_ _|__ _ _ ___| |_ _ / _ V _ \
\ \_____ V _ \/ __; |/ _ \ | | / __; | | | | | |_| | |_| |
\|____|\ \ _/| | | | |_| |_| \__ \ | |_| | | _ | _ |
____\_\ \_||_|_| |\___/\__,_|___/_|\__, |0|_| |_|_| |_|
|... | /*
________
|\ ____\ _____ _ ___ ___
\ \ \___|_ ___ _|_ _|__ _ _ ___| |_ _ / _ V _ \
\ \_____ V _ \/ __; |/ _ \ | | / __; | | | | | |_| | |_| |
\|____|\ \ _/| | | | |_| |_| \__ \ | |_| | | _ | _ |
____\_\ \_||_|_| |\___/\__,_|___/_|\__, |0|_| |_|_| |_|
|... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,186 | 321,187 | u081594056 | cpp |
p02613 | #include <bits/stdc++.h>
#include <vector>
#define maxx 1000000
#define ll long long
#define boostUP \
ios::sync_with_stdio(false); \
cin.tie(0); ... | #include <bits/stdc++.h>
#include <vector>
#define maxx 1000000
#define ll long long
#define boostUP \
ios::sync_with_stdio(false); \
cin.tie(0); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,188 | 321,189 | u832708957 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
string s;
int cAC = 0;
int cRE = 0;
int cTLE = 0;
int cWA = 0;
while (t--) {
cin >> s;
if (s.compare("AC") == 0) {
cAC++;
continue;
}
if (s.compare("TLE") == 0) {
cAC++;
continue;
}
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
string s;
int cAC = 0;
int cRE = 0;
int cTLE = 0;
int cWA = 0;
while (t--) {
cin >> s;
if (s.compare("AC") == 0) {
cAC++;
continue;
}
if (s.compare("TLE") == 0) {
cTLE++;
continue;
}
... | [
"identifier.change"
] | 321,190 | 321,191 | u670224533 | cpp |
p02613 | #include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int main() {
int t;
cin >> t;
vector<string> vec;
for (int i = 0; i < t; i++) {
string x;
cin >> x;
vec.push_back(x);
}
string a = "AC ", b = "TLE ", d = "WA ", e = "RE ";
int a1 = 0, b1 = 0, d1 = 0, e1 = 0;
for ... | #include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int main() {
int t;
cin >> t;
vector<string> vec;
for (int i = 0; i < t; i++) {
string x;
cin >> x;
vec.push_back(x);
}
string a = "AC", b = "TLE", d = "WA", e = "RE";
int a1 = 0, b1 = 0, d1 = 0, e1 = 0;
for (int... | [
"literal.string.change",
"variable_declaration.value.change"
] | 321,192 | 321,193 | u739203777 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
#define mod 1000000007
#define all(x) (x).begin(), (x).end()
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
ll t;
cin >> t;
ll a = 0, w = 0, tl = 0, re = 0;
vector<string> str(t);
for (string &s : str) {
cin >> ... | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
#define mod 1000000007
#define all(x) (x).begin(), (x).end()
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
ll t;
cin >> t;
ll a = 0, w = 0, tl = 0, re = 0;
vector<string> str(t);
for (string &s : str) {
cin >> ... | [
"io.output.change",
"literal.string.change",
"literal.string.case.change"
] | 321,194 | 321,195 | u992375043 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
#define mod 1000000007
#define all(x) (x).begin(), (x).end()
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int t;
cin >> t;
int a = 0, w = 0, tl = 0, re = 0;
vector<string> str(t);
for (string &s : str) {
cin >... | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
#define mod 1000000007
#define all(x) (x).begin(), (x).end()
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
ll t;
cin >> t;
ll a = 0, w = 0, tl = 0, re = 0;
vector<string> str(t);
for (string &s : str) {
cin >> ... | [
"variable_declaration.type.change",
"io.output.change",
"literal.string.change",
"literal.string.case.change"
] | 321,196 | 321,195 | u992375043 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int arr[] = {0, 0, 0, 0};
int n;
cin >> n;
for (int i = 0; i < n; i++) {
string str;
getline(cin, str);
if (str.compare("AC") == 0) {
arr[0] = arr[0] + 1;
}
if (str.compare("WA") == 0) {
arr[1] = arr[1] + 1;
}
i... | #include <bits/stdc++.h>
using namespace std;
int main() {
int arr[] = {0, 0, 0, 0};
int n;
cin >> n;
for (int i = 0; i <= n; i++) {
string str;
getline(cin, str);
if (str.compare("AC") == 0) {
arr[0] = arr[0] + 1;
}
if (str.compare("WA") == 0) {
arr[1] = arr[1] + 1;
}
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 321,197 | 321,198 | u155732166 | cpp |
p02613 | #include <iostream>
#include <unordered_map>
using namespace std;
int main() {
unordered_map<string, int> um;
int n;
cin >> n;
string s;
for (int i = 0; i < n; i++) {
cin >> s;
um[s]++;
}
cout << "AC"
<< " x " << um["AC"] << endl;
cout << "WA"
<< " x " << um["WA"] << endl;
cout <... | #include <iostream>
#include <unordered_map>
using namespace std;
int main() {
unordered_map<string, int> um;
int n;
cin >> n;
string s;
for (int i = 0; i < n; i++) {
cin >> s;
um[s]++;
}
cout << "AC"
<< " x " << um["AC"] << endl;
cout << "WA"
<< " x " << um["WA"] << endl;
cout <... | [
"literal.string.change",
"io.output.change"
] | 321,199 | 321,200 | u472462617 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set \
tree<int, null_type, less<int>, rb_tree_tag, \
... | #include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set \
tree<int, null_type, less<int>, rb_tree_tag, \
... | [
"identifier.change",
"io.output.change"
] | 321,219 | 321,220 | u654999036 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
string s;
vector<int> c(4, 0);
for (int i = 0; i < N; ++i) {
cin >> s;
if (s == "AC")
++c[0];
else if (s == "WA")
++c[1];
else if (s == "TLE")
++c[2];
else if (s == "Re")
++c[3];
}
cout... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
string s;
vector<int> c(4, 0);
for (int i = 0; i < N; ++i) {
cin >> s;
if (s == "AC")
++c[0];
else if (s == "WA")
++c[1];
else if (s == "TLE")
++c[2];
else if (s == "RE")
++c[3];
}
cout... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 321,236 | 321,237 | u830745382 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, ac, wa, tle, re;
ac = 0;
wa = 0;
tle = 0;
re = 0;
cin >> N;
vector<string> score(N);
for (int i = 0; i < N; i++) {
cin >> score.at(i);
if (score.at(i) == "AC")
ac++;
else if (score.at(i) == "WA")
wa++;
else i... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, ac, wa, tle, re;
ac = 0;
wa = 0;
tle = 0;
re = 0;
cin >> N;
vector<string> score(N);
for (int i = 0; i < N; i++) {
cin >> score.at(i);
if (score.at(i) == "AC")
ac++;
else if (score.at(i) == "WA")
wa++;
else i... | [
"literal.string.change",
"io.output.change"
] | 321,244 | 321,245 | u616958747 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, c1 = 0, c2 = 0, c3 = 0, c4 = 0;
string s, t;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> s;
t = s;
if (t == "AC") {
c1++;
} else if (t == "WA") {
c2++;
} else if (t == "TLE") {
c3++;
} else {
c4... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, c1 = 0, c2 = 0, c3 = 0, c4 = 0;
string s, t;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> s;
t = s;
if (t == "AC") {
c1++;
} else if (t == "WA") {
c2++;
} else if (t == "TLE") {
c3++;
} else {
c4... | [
"literal.string.change",
"io.output.change"
] | 321,246 | 321,247 | u714796740 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
string str[100001];
int cnt1 = 0, cnt2 = 0, cnt3 = 0, cnt4 = 0;
cin >> N;
for (int i = 0; i < N; i++) {
cin >> str[i];
if (str[i] == "AC") {
cnt1++;
} else if (str[i] == "WA") {
cnt2++;
} else if (str[i] ==... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
string str[100001];
int cnt1 = 0, cnt2 = 0, cnt3 = 0, cnt4 = 0;
cin >> N;
for (int i = 0; i < N; i++) {
cin >> str[i];
if (str[i] == "AC") {
cnt1++;
} else if (str[i] == "WA") {
cnt2++;
} else if (str[i] ==... | [] | 321,250 | 321,251 | u858520692 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int N = 2e5 + 10, mod = 1e9 + 7;
void solve() {
int n;
cin >> n;
map<string, int> mp;
while (n--) {
string s;
cin >> s;
++mp[s];
}
cout << "AC x" << mp["AC"] << endl;
cout << "WA x" << mp[... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int N = 2e5 + 10, mod = 1e9 + 7;
void solve() {
int n;
cin >> n;
map<string, int> mp;
while (n--) {
string s;
cin >> s;
++mp[s];
}
cout << "AC x " << mp["AC"] << endl;
cout << "WA x " << m... | [
"literal.string.change",
"io.output.change"
] | 321,256 | 321,257 | u919209605 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int N;
int count[4];
cin >> N;
string judge;
for (int i = 0; i < N; i++) {
string t;
cin >> t;
judge += t[0];
}
for (int i = 0; i < 4; i++) {
count[i] = 0;
}
for (int i = 0; i < N; i++) {
if (judge[i] == 'A')
c... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int N;
int count[4];
cin >> N;
string judge;
for (int i = 0; i < N; i++) {
string t;
cin >> t;
judge += t[0];
}
for (int i = 0; i < 4; i++) {
count[i] = 0;
}
for (int i = 0; i < N; i++) {
if (judge[i] == 'A')
c... | [
"literal.string.change",
"io.output.change"
] | 321,264 | 321,265 | u944300923 | cpp |
p02613 | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main() {
int n;
cin >> n;
map<string, int> m;
for (int i = 0; i < n; i++) {
string s;
cin >> s;
m[s]++;
}
cout << "AC x " << m["AC"] << "\n";
cout << "AC x " << m["WA"] << "\n";
cout << "AC x " << m["TLE"] << "\n";
co... | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main() {
int n;
cin >> n;
map<string, int> m;
for (int i = 0; i < n; i++) {
string s;
cin >> s;
m[s]++;
}
cout << "AC x " << m["AC"] << "\n";
cout << "WA x " << m["WA"] << "\n";
cout << "TLE x " << m["TLE"] << "\n";
c... | [
"literal.string.change",
"io.output.change"
] | 321,266 | 321,267 | u163562872 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int n, arr[26];
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cin >> n;
for (int i = 0; i < n; i++) {
string s;
cin >> s;
arr[s[0] - 'A']++;
}
cout << "AC x " << arr['A' - 'A'] << " \n";
cout << "WA x " << arr['W' - 'A'] << " \n";
... | #include <bits/stdc++.h>
using namespace std;
int n, arr[26];
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cin >> n;
for (int i = 0; i < n; i++) {
string s;
cin >> s;
arr[s[0] - 'A']++;
}
cout << "AC x " << arr['A' - 'A'] << " \n";
cout << "WA x " << arr['W' - 'A'] << " \n";
... | [
"literal.string.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 321,268 | 321,269 | u589285457 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int a;
cin >> a;
string s[a];
for (int i = 0; i < a; i++) {
cin >> s[i];
}
int AC = 0, WA = 0, TLE = 0, RE = 0;
for (int i = 0; i < a; i++) {
if (s[i] == "AC")
AC++;
else if (s[i] == "WA")
WA++;
else if (s[i] == "TLE")
... | #include <iostream>
using namespace std;
int main() {
int a;
cin >> a;
string s[a];
for (int i = 0; i < a; i++) {
cin >> s[i];
}
int AC = 0, WA = 0, TLE = 0, RE = 0;
for (int i = 0; i < a; i++) {
if (s[i] == "AC")
AC++;
else if (s[i] == "WA")
WA++;
else if (s[i] == "TLE")
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,278 | 321,279 | u086497217 | cpp |
p02613 | #include <bits/stdc++.h>
#define F first
#define S second
#define ll long long
#define pb push_back
using namespace std;
map<string, int> mp;
int n;
string s;
int main() {
cin >> n;
for (int i = 0; i < n; i++) {
cin >> s;
mp[s]++;
}
cout << "AC x " << mp["AC"] << endl;
cout << "WA x " << mp["WA"] ... | #include <bits/stdc++.h>
#define F first
#define S second
#define ll long long
#define pb push_back
using namespace std;
map<string, int> mp;
int n;
string s;
int main() {
cin >> n;
for (int i = 0; i < n; i++) {
cin >> s;
mp[s]++;
}
cout << "AC x " << mp["AC"] << endl;
cout << "WA x " << mp["WA"] ... | [
"literal.string.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 321,280 | 321,281 | u012004082 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
map<string, int> judge;
judge["AC"] = 0;
judge["WA"] = 0;
judge["TLE"] = 0;
judge["RE"] == 0;
int N;
cin >> N;
for (int i = 0; i < N; i++) {
string tmp;
cin >> tmp;
if (tmp == "AC") {
judge["AC"]++;
} else if (tmp == "... | #include <bits/stdc++.h>
using namespace std;
int main() {
map<string, int> judge;
judge["AC"] = 0;
judge["WA"] = 0;
judge["TLE"] = 0;
judge["RE"] == 0;
int N;
cin >> N;
for (int i = 0; i < N; i++) {
string tmp;
cin >> tmp;
if (tmp == "AC") {
judge["AC"]++;
} else if (tmp == "... | [] | 321,284 | 321,285 | u580700239 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int i;
map<string, int> cnt;
string S;
for (i = 0; i < N; i++) {
cin >> S;
cnt[S]++;
}
for (string s : {"AC", "WA", "TLE", "RE"}) {
cout << s << " × " << cnt[s] << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int i;
map<string, int> cnt;
string S;
for (i = 0; i < N; i++) {
cin >> S;
cnt[S]++;
}
for (string s : {"AC", "WA", "TLE", "RE"}) {
cout << s << " x " << cnt[s] << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 321,290 | 321,291 | u060880881 | cpp |
p02613 | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define MOD 1000000007
#define MAX 1000000007
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define ub upper_bound
#define lb lower_bound
#define zoom ... | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define MOD 1000000007
#define MAX 1000000007
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define ub upper_bound
#define lb lower_bound
#define zoom ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,294 | 321,295 | u172458874 | cpp |
p02613 | #include <bits/stdc++.h>
#include <string>
//#include <boost/multiprecision/cpp_int.hpp>
#define FAST \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define llu long long
#define fp cout << fixed << se... | #include <bits/stdc++.h>
#include <string>
//#include <boost/multiprecision/cpp_int.hpp>
#define FAST \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define llu long long
#define fp cout << fixed << se... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,308 | 321,309 | u466993972 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define pfi(a) printf("%d", a);
#define pfl(a) printf("%lld", a);
#define pfin(a) printf("%d\n", a);
#define pfln(a) printf("%lld\n", a);
#define sfi(a) scanf("%d", &a);
#define sfl(a) scanf("%lld", &a);
#define pb push_back
#define F first
#define S second
#define vi vecto... | #include <bits/stdc++.h>
using namespace std;
#define pfi(a) printf("%d", a);
#define pfl(a) printf("%lld", a);
#define pfin(a) printf("%d\n", a);
#define pfln(a) printf("%lld\n", a);
#define sfi(a) scanf("%d", &a);
#define sfl(a) scanf("%lld", &a);
#define pb push_back
#define F first
#define S second
#define vi vecto... | [
"literal.string.change",
"io.output.change"
] | 321,315 | 321,316 | u498385701 | cpp |
p02613 | #include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp> // Common file
//#include <ext/pb_ds/tree_policy.hpp>
#define int long long
#define pb push_back
#define ff first
#define ss second
#define ii insert
#define ld long double
#define ppb pop_back
#define nuenxfiu ... | #include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp> // Common file
//#include <ext/pb_ds/tree_policy.hpp>
#define int long long
#define pb push_back
#define ff first
#define ss second
#define ii insert
#define ld long double
#define ppb pop_back
#define nuenxfiu ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,317 | 321,318 | u469425390 | cpp |
p02613 | #include <iostream>
int main(void) {
int n;
std::cin >> n;
int r[4] = {0};
std::string a[n];
for (int i = 0; i < n; i++) {
std::cin >> a[i];
if (a[i] == "AC") {
r[0]++;
} else if (a[i] == "WA") {
r[1]++;
} else if (a[i] == "TLE") {
r[2]++;
} else {
r[3]++;
}
... | #include <iostream>
int main(void) {
int n;
std::cin >> n;
int r[4] = {};
std::string a[n];
for (int i = 0; i < n; i++) {
std::cin >> a[i];
if (a[i] == "AC") {
r[0]++;
} else if (a[i] == "WA") {
r[1]++;
} else if (a[i] == "TLE") {
r[2]++;
} else {
r[3]++;
}
}... | [
"identifier.change",
"expression.operation.binary.change"
] | 321,323 | 321,324 | u384804826 | cpp |
p02613 | #include <iostream>
int main(void) {
int n;
std::cin >> n;
int r[4];
std::string a[n];
for (int i = 0; i < n; i++) {
std::cin >> a[i];
if (a[i] == "AC") {
r[0]++;
} else if (a[i] == "WA") {
r[1]++;
} else if (a[i] == "TLE") {
r[2]++;
} else {
r[3]++;
}
}
st... | #include <iostream>
int main(void) {
int n;
std::cin >> n;
int r[4] = {};
std::string a[n];
for (int i = 0; i < n; i++) {
std::cin >> a[i];
if (a[i] == "AC") {
r[0]++;
} else if (a[i] == "WA") {
r[1]++;
} else if (a[i] == "TLE") {
r[2]++;
} else {
r[3]++;
}
}... | [
"variable_declaration.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 321,325 | 321,324 | u384804826 | cpp |
p02613 | #include <iostream>
int main(void) {
int n;
std::cin >> n;
int r[4];
std::string a[n];
for (int i = 0; i < n; i++) {
std::cin >> a[i];
if (a[i] == "AC") {
r[0]++;
} else if (a[i] == "WA") {
r[1]++;
} else if (a[i] == "TLE") {
r[2]++;
} else {
r[3]++;
}
}
st... | #include <iostream>
int main(void) {
int n;
std::cin >> n;
int r[4] = {};
std::string a[n];
for (int i = 0; i < n; i++) {
std::cin >> a[i];
if (a[i] == "AC") {
r[0]++;
} else if (a[i] == "WA") {
r[1]++;
} else if (a[i] == "TLE") {
r[2]++;
} else {
r[3]++;
}
}... | [
"variable_declaration.value.change"
] | 321,326 | 321,324 | u384804826 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int n, ac, wa, tle, re;
ac = 0;
wa = tle = re = 0;
cin >> n;
cin.ignore(256, '\n');
for (int i = 0; i < n; i++) {
string s;
getline(cin, s);
if (s == "AC")
ac++;
if (s == "WA")
wa++;
if (s =... | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int n, ac, wa, tle, re;
ac = 0;
wa = tle = re = 0;
cin >> n;
cin.ignore(256, '\n');
for (int i = 0; i < n; i++) {
string s;
getline(cin, s);
if (s == "AC")
ac++;
if (s == "WA")
wa++;
if (s =... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,343 | 321,344 | u718013610 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
using UL = unsigned int;
using ULL = unsigned long long;
using LL = long long;
#define rep(i, n) for (UL i = 0; i < (n); i++)
int main() {
UL N;
cin >> N;
UL ans[4] = {};
string vd[4] = {"AC", "WA", "TLE", "RE"};
rep(i, N) {
string S;
cin >> S;
rep(j,... | #include <bits/stdc++.h>
using namespace std;
using UL = unsigned int;
using ULL = unsigned long long;
using LL = long long;
#define rep(i, n) for (UL i = 0; i < (n); i++)
int main() {
UL N;
cin >> N;
UL ans[4] = {};
string vd[4] = {"AC", "WA", "TLE", "RE"};
rep(i, N) {
string S;
cin >> S;
rep(j,... | [] | 321,351 | 321,352 | u331948661 | cpp |
p02613 | #include <iostream>
#include <map>
#define ll long long
using namespace std;
const int N = 2e5 + 10;
map<string, int> m;
void io() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
}
int main(int argc, char const *argv[]) {
io();
int n;
cin >> n;
string temp;
for (int i = 0; i < n; i++... | #include <iostream>
#include <map>
#define ll long long
using namespace std;
const int N = 2e5 + 10;
map<string, int> m;
void io() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
}
int main(int argc, char const *argv[]) {
io();
int n;
cin >> n;
string temp;
for (int i = 0; i < n; i++... | [
"literal.string.change",
"io.output.change"
] | 321,353 | 321,354 | u639462943 | cpp |
p02613 | #include <bits/stdc++.h>
#define rep(i, n) for (long long i = 0; i < (n); i++)
using namespace std;
int main() {
long N;
cin >> N;
long long AC = 0, WA = 0, TLE = 0, RE = 0;
rep(i, N) {
string a;
cin >> a;
if (a == "AC")
AC++;
if (a == "WA")
WA++;
if (a == "TLE")
TLE++;
... | #include <bits/stdc++.h>
#define rep(i, n) for (long long i = 0; i < (n); i++)
using namespace std;
int main() {
long N;
cin >> N;
long long AC = 0, WA = 0, TLE = 0, RE = 0;
rep(i, N) {
string a;
cin >> a;
if (a == "AC")
AC++;
if (a == "WA")
WA++;
if (a == "TLE")
TLE++;
... | [
"literal.string.change",
"io.output.change"
] | 321,355 | 321,356 | u150171150 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long t;
cin >> t;
long long ac = 0, tle = 0, re = 0, wa = 0;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
ac++;
}
if (s == "TLE") {
tle++;
}
if (s == "re") {
re++;
}
if (s == "WA") {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long t;
cin >> t;
long long ac = 0, tle = 0, re = 0, wa = 0;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
ac++;
}
if (s == "TLE") {
tle++;
}
if (s == "RE") {
re++;
}
if (s == "WA") {
... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 321,362 | 321,363 | u670791171 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
int ac = 0, tle = 0, re = 0, wa = 0;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
ac++;
}
if (s == "TLE") {
tle++;
}
if (s == "re") {
re++;
}
if (s == "WA") {
wa++;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long t;
cin >> t;
long long ac = 0, tle = 0, re = 0, wa = 0;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
ac++;
}
if (s == "TLE") {
tle++;
}
if (s == "RE") {
re++;
}
if (s == "WA") {
... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 321,364 | 321,363 | u670791171 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int ac = 0, wa = 0, tle = 0, re = 0;
while (n-- != 0) {
string s;
cin >> s;
if (s[0] == 'A') {
ac++;
} else if (s[0] == 'W') {
wa++;
} else if (s[0] == 'T') {
tle++;
} else {
re++;
}
... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int ac = 0, wa = 0, tle = 0, re = 0;
while (n-- != 0) {
string s;
cin >> s;
if (s[0] == 'A') {
ac++;
} else if (s[0] == 'W') {
wa++;
} else if (s[0] == 'T') {
tle++;
} else {
re++;
}
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,365 | 321,366 | u533325077 | cpp |
p02613 | #include <bits/stdc++.h>
#include <string>
using namespace std;
int ac = 0, wa = 0, tle = 0, re = 0;
void sol() {
string n;
cin >> n;
if ((n == "AC")) {
ac++;
}
if (n == "WA") {
wa++;
}
if (n == "TLE") {
tle++;
}
if (n == " RE") {
re++;
}
}
int main() {
int t;
cin >> t;
while... | #include <bits/stdc++.h>
#include <string>
using namespace std;
int ac = 0, wa = 0, tle = 0, re = 0;
void sol() {
string n;
cin >> n;
if ((n == "AC")) {
ac++;
}
if (n == "WA") {
wa++;
}
if (n == "TLE") {
tle++;
}
if (n == "RE") {
re++;
}
}
int main() {
int t;
cin >> t;
while ... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 321,378 | 321,379 | u548638001 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<long long> vl;
#define all(x) x.begin(), x.end()
#define pb push_back
#define forn(i, n) for (int i = 0; i < (int)(n); ++i)
#define ford(i, n) for (int i = 1; i <= (int)(n); ++i)
#define ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<long long> vl;
#define all(x) x.begin(), x.end()
#define pb push_back
#define forn(i, n) for (int i = 0; i < (int)(n); ++i)
#define ford(i, n) for (int i = 1; i <= (int)(n); ++i)
#define ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,380 | 321,381 | u913901546 | cpp |
p02613 | //*****Jai Mata di*****//
#include <bits/stdc++.h>
using namespace std;
#define Nitroboost \
ios_base::sync_with_stdio(0); \
cin.tie(NULL); \
co... | //*****Jai Mata di*****//
#include <bits/stdc++.h>
using namespace std;
#define Nitroboost \
ios_base::sync_with_stdio(0); \
cin.tie(NULL); \
co... | [
"literal.string.change",
"io.output.change"
] | 321,384 | 321,385 | u441141775 | cpp |
p02613 | #include <bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
#define ll long long int
#define ar array
#define ld long double
#define bigint int64_t
#define vll vector<ll>
#define pll ar<ll, 2>
#define vpll vector<pll>
#define pb push_back
#define MOD 1000000007
#defi... | #include <bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
#define ll long long int
#define ar array
#define ld long double
#define bigint int64_t
#define vll vector<ll>
#define pll ar<ll, 2>
#define vpll vector<pll>
#define pb push_back
#define MOD 1000000007
#defi... | [
"identifier.change",
"io.output.change"
] | 321,393 | 321,394 | u228469449 | cpp |
p02613 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i <= n; i++)
#define REP(i, n) for (int i = 0; i <= n; i++)
#define ll long long
using namespace std;
int keta(int n) {
int res;
for (int i = 0; i < 100; i++) {
n = n / 10;
if (n == 0) {
res = i + 1;
break;
}
}
return res;
}
i... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i <= n; i++)
#define REP(i, n) for (int i = 0; i <= n; i++)
#define ll long long
using namespace std;
int keta(int n) {
int res;
for (int i = 0; i < 100; i++) {
n = n / 10;
if (n == 0) {
res = i + 1;
break;
}
}
return res;
}
i... | [
"io.output.change"
] | 321,395 | 321,396 | u481657940 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
string a[N + 1];
for (int i = 1; i <= N; i++) {
cin >> a[i];
}
int h = 0, k = 0, g = 0, b = 0;
for (int i = 1; i <= N; i++) {
if (a[i] == "AC")
h++;
if (a[i] == "WA")
k++;
if (a[i] == "TLE")
g++;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
string a[N + 1];
for (int i = 1; i <= N; i++) {
cin >> a[i];
}
int h = 0, k = 0, g = 0, b = 0;
for (int i = 1; i <= N; i++) {
if (a[i] == "AC")
h++;
if (a[i] == "WA")
k++;
if (a[i] == "TLE")
g++;
... | [
"literal.string.change",
"io.output.change"
] | 321,397 | 321,398 | u292485227 | cpp |
p02613 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using P = pair<int, int>;
using ll = long long;
int main() {
int n;
cin >> n;
map<string, int> cnt;
rep(i, n) {
string s;
cin >> s;
cnt[s]++;
}
for (string s : {"AC", "WA", "TLE", "RE"}) {
cout <<... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using P = pair<int, int>;
using ll = long long;
int main() {
int n;
cin >> n;
map<string, int> cnt;
rep(i, n) {
string s;
cin >> s;
cnt[s]++;
}
for (string s : {"AC", "WA", "TLE", "RE"}) {
cout <<... | [
"literal.string.change",
"io.output.change"
] | 321,404 | 321,405 | u259578308 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define lli l... | #include <bits/stdc++.h>
using namespace std;
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define lli l... | [] | 321,414 | 321,415 | u557191717 | cpp |
p02613 | #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;
void doProblem173B() {
int N;
cin >> N;
string a[100010]... | #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;
void doProblem173B() {
int N;
cin >> N;
string a[100010... | [
"literal.string.change",
"io.output.change"
] | 321,420 | 321,421 | u073786689 | cpp |
p02613 | // According to all known laws of aviation, there is no way that a bee should be
// able to fly.
// Its wings are too small to get its fat little body off the ground. The bee,
// of course, flies anyway. Because bees don't care what humans think is
// impossible.
#include <bits/stdc++.h>
#define FAST_IO ... | // According to all known laws of aviation, there is no way that a bee should be
// able to fly.
// Its wings are too small to get its fat little body off the ground. The bee,
// of course, flies anyway. Because bees don't care what humans think is
// impossible.
#include <bits/stdc++.h>
#define FAST_IO ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,430 | 321,431 | u981065082 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int t = 1;
// cin>>t;
while (t--) {
int n;
cin >> n;
string s;
int a = 0, b = 0, c = 0, d = 0;
for (int i = 0; i < n; i++) {
cin >> s;
if (s == "AC")
a++;
else if (s == "TLE")
b... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int t = 1;
// cin>>t;
while (t--) {
int n;
cin >> n;
string s;
int a = 0, b = 0, c = 0, d = 0;
for (int i = 0; i < n; i++) {
cin >> s;
if (s == "AC")
a++;
else if (s == "TLE")
b... | [
"identifier.change",
"io.output.change"
] | 321,432 | 321,433 | u476305001 | cpp |
p02613 | #include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
int N;
cin >> N;
string a[100010], s[4] = {"AC", "WA", "TEL", "RE"};
int count[4] = {0};
for (int i = 0; i < N; i++) {
cin >> a[i];
if (a[i] == "AC") {
count[0]++;
} else if (a[i] == "WA") {
coun... | #include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
int N;
cin >> N;
string a[100010], s[4] = {"AC", "WA", "TLE", "RE"};
int count[4] = {0};
for (int i = 0; i < N; i++) {
cin >> a[i];
if (a[i] == "AC") {
count[0]++;
} else if (a[i] == "WA") {
coun... | [
"literal.string.change"
] | 321,436 | 321,437 | u451176423 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.