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 | using namespace std;
#include <iostream>
int main() {
int n;
cin >> n;
int ac = 0, wa = 0, tle = 0, re = 0;
while (n--) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if ("TLE" == s)
tle;
else
re++;
}
cout << "AC x " << ac << endl;
... | using namespace std;
#include <iostream>
int main() {
int n;
cin >> n;
int ac = 0, wa = 0, tle = 0, re = 0;
while (n--) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if ("TLE" == s)
tle++;
else
re++;
}
cout << "AC x " << ac << endl;... | [] | 321,850 | 321,851 | u409868781 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define FASTIO \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0)
int main() {
... | #include <bits/stdc++.h>
using namespace std;
#define FASTIO \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0)
int main() {
... | [
"literal.string.change",
"io.output.change"
] | 321,854 | 321,855 | u897706310 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define int l... | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define int l... | [
"variable_declaration.type.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,866 | 321,867 | u546244032 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
int t;
cin >> t;
unordered_map<string, int> m;
while (t--) {
string s;
cin >> s;
m[s]++;
}
cout << "AC * " << m["AC"] << endl;
cout << "WA * " << m["WA"] << endl;
cout << "TLE * " << m["TLE"] << endl;
cout... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
int t;
cin >> t;
unordered_map<string, int> m;
while (t--) {
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... | [
"literal.string.change",
"io.output.change"
] | 321,883 | 321,884 | u647688800 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fo(i, n) for (ll i = 0; i < n; i++)
#define rfo(i, n) for (ll i = n; i >= 0; i--)
#define fori(it, x) \
for (__typeof((x).begin()) it = (x).begin(); it != (x).end(); it++)
#define... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fo(i, n) for (ll i = 0; i < n; i++)
#define rfo(i, n) for (ll i = n; i >= 0; i--)
#define fori(it, x) \
for (__typeof((x).begin()) it = (x).begin(); it != (x).end(); it++)
#define... | [
"literal.string.change",
"io.output.change"
] | 321,891 | 321,892 | u361670826 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ff first
#define ss second
#define int ll
#define pb push_back
#define setbits(x) __builtin_popcountll(x)
#define endl "\n"
typedef long long ll;
void solve() {
int n;
cin >> n;
map<string, int> mp;
for (int i = 0; i < n; i++) {
string str;
cin >> s... | #include <bits/stdc++.h>
using namespace std;
#define ff first
#define ss second
#define int ll
#define pb push_back
#define setbits(x) __builtin_popcountll(x)
#define endl "\n"
typedef long long ll;
void solve() {
int n;
cin >> n;
map<string, int> mp;
for (int i = 0; i < n; i++) {
string str;
cin >> s... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,897 | 321,898 | u724392439 | cpp |
p02613 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
#define REP(i, n) for (ll i = 0; i < (ll)n; i++)
#define RREP(i, n) for (ll i = (ll)(n - 1); i >= 0; i--)
#define ALL(vector) vector.begin(), vector.end()
int main() {
cin.... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
#define REP(i, n) for (ll i = 0; i < (ll)n; i++)
#define RREP(i, n) for (ll i = (ll)(n - 1); i >= 0; i--)
#define ALL(vector) vector.begin(), vector.end()
int main() {
cin.... | [
"assignment.variable.change",
"identifier.change"
] | 321,901 | 321,902 | u499578155 | cpp |
p02613 | #include <iostream>
#include <string>
using namespace std;
int main() {
int n;
cin >> n;
int count_AC = 0, count_WA = 0, count_TLE = 0, count_RE = 0;
while (n--) {
string s;
cin >> s;
if (s == "AC")
count_AC++;
else if (s == "WA")
count_WA++;
else if (s == "TLE")
count_TL... | #include <iostream>
#include <string>
using namespace std;
int main() {
int n;
cin >> n;
int count_AC = 0, count_WA = 0, count_TLE = 0, count_RE = 0;
while (n--) {
string s;
cin >> s;
if (s == "AC")
count_AC++;
else if (s == "WA")
count_WA++;
else if (s == "TLE")
count_TL... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,906 | 321,907 | u243629547 | cpp |
p02613 | // B - Judge Status Summary
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int n;
cin >> n;
string s;
int ac = 0, wa = 0, tle = 0, re = 0;
rep(i, n) {
cin >> s;
if (s[0] == 'A')
ac++;
else if (s[0] == 'W')
wa++;
else if (... | // B - Judge Status Summary
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int n;
cin >> n;
string s;
int ac = 0, wa = 0, tle = 0, re = 0;
rep(i, n) {
cin >> s;
if (s[0] == 'A')
ac++;
else if (s[0] == 'W')
wa++;
else if (... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,913 | 321,914 | u017212285 | cpp |
p02613 | // B - Judge Status Summary
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int n;
cin >> n;
string s;
int ac = 0, wa = 0, tle = 0, re = 0;
rep(i, n) {
cin >> s;
if (s[0] == 'A')
ac++;
else if (s[0] == 'W')
wa++;
else if (... | // B - Judge Status Summary
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int n;
cin >> n;
string s;
int ac = 0, wa = 0, tle = 0, re = 0;
rep(i, n) {
cin >> s;
if (s[0] == 'A')
ac++;
else if (s[0] == 'W')
wa++;
else if (... | [
"literal.string.change",
"io.output.change"
] | 321,915 | 321,914 | u017212285 | cpp |
p02613 | #include <iostream>
#include <string>
#include <vector>
int main(void) {
int N;
std::cin >> N;
std::vector<std::string> strList;
std::string str;
for (int i = 0; i < N; i++) {
std::cin >> str;
strList.push_back(str);
}
int counta[4] = {0, 0, 0, 0};
for (int i = 0; i < N; i++) {
if (strLi... | #include <iostream>
#include <string>
#include <vector>
int main(void) {
int N;
std::cin >> N;
std::vector<std::string> strList;
std::string str;
for (int i = 0; i < N; i++) {
std::cin >> str;
strList.push_back(str);
}
int counta[4] = {0, 0, 0, 0};
for (int i = 0; i < N; i++) {
if (strLi... | [
"literal.string.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.change"
] | 321,920 | 321,921 | u970307143 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
int ac = 0, wa = 0, tle = 0, re = 0;
while (t--) {
string s;
cin >> s;
if (s[0] == 'A')
ac++;
if (s[0] == 'W')
wa++;
if (s[0] == 'T')
tle++;
if (s[0] == 'R')
re++;
}
cout << "AC X " <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
int ac = 0, wa = 0, tle = 0, re = 0;
while (t--) {
string s;
cin >> s;
if (s[0] == 'A')
ac++;
if (s[0] == 'W')
wa++;
if (s[0] == 'T')
tle++;
if (s[0] == 'R')
re++;
}
cout << "AC x " <<... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,926 | 321,927 | u815053012 | 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;
string r;
cin >> N;
for (int i = 1; i <= N; i++) {
cin >> r;
if (r == "AC")
ac++;
else if (r == "WA")
wa++;
else if (r == "TLE")
tle++;
else if (r ==... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, ac, wa, tle, re;
ac = 0;
wa = 0;
tle = 0;
re = 0;
string r;
cin >> N;
for (int i = 1; i <= N; i++) {
cin >> r;
if (r == "AC")
ac++;
else if (r == "WA")
wa++;
else if (r == "TLE")
tle++;
else if (r ==... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,940 | 321,941 | u374428457 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n;
cin >> n;
string s;
// vector<string>vt;
long AC = 0, TLE = 0, WA = 0, RE = 0;
while (n--) {
cin >> s;
if (s == "AC")
AC++;
else if (s == "TLE")
TLE++;
else if (s == "WA")
WA++;
else
RE++;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n;
cin >> n;
string s;
// vector<string>vt;
int AC = 0, TLE = 0, WA = 0, RE = 0;
while (n--) {
cin >> s;
if (s == "AC")
AC++;
else if (s == "TLE")
TLE++;
else if (s == "WA")
WA++;
else
RE++;
... | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"io.output.change"
] | 321,950 | 321,951 | u592624615 | cpp |
p02613 | //#define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
char ss[5];
cin >> n;
for (int i = 0; i < n; i++) {
cin >> ss;
if (st... | //#define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
char ss[5];
cin >> n;
for (int i = 0; i < n; i++) {
cin >> ss;
if (st... | [
"literal.string.change",
"io.output.change"
] | 321,954 | 321,955 | u094619686 | cpp |
p02613 | #include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
int n, sum[5] = {0};
string str;
scanf("%d", &n);
for (int i = 0; i < n; i++) {
cin >> str;
if (str == "AC") {
sum[0]++;
} else if (str == "WA") {
sum[1]++;
} else if (str == "TLE") {
su... | #include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
int n, sum[5] = {0};
string str;
scanf("%d", &n);
for (int i = 0; i < n; i++) {
cin >> str;
if (str == "AC") {
sum[0]++;
} else if (str == "WA") {
sum[1]++;
} else if (str == "TLE") {
su... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 321,971 | 321,972 | u696356788 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int N;
int c[4] = {};
cin >> N;
string i;
while (1) {
cin >> i;
if (i == "AC")
c[0]++;
else if (i == "WA")
c[1]++;
else if (i == "TLE")
c[2]++;
else if (i == "RE")
c[3]++;
N--;
if (N == 0)
br... | #include <iostream>
using namespace std;
int main() {
int N;
int c[4] = {};
cin >> N;
string i;
while (1) {
cin >> i;
if (i == "AC")
c[0]++;
else if (i == "WA")
c[1]++;
else if (i == "TLE")
c[2]++;
else if (i == "RE")
c[3]++;
N--;
if (N == 0)
br... | [
"literal.string.change",
"io.output.change"
] | 321,975 | 321,976 | u697416834 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string str;
unordered_map<string, int> result{
{"AC", 0},
{"WA", 0},
{"TLE", 0},
{"LE", 0},
};
for (int i = 0; i < n; i++) {
cin >> str;
result.at(str)++;
}
cout << "AC x " << result.at("AC") << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string str;
unordered_map<string, int> result{
{"AC", 0},
{"WA", 0},
{"TLE", 0},
{"RE", 0},
};
for (int i = 0; i < n; i++) {
cin >> str;
result.at(str)++;
}
cout << "AC x " << result.at("AC") << ... | [
"literal.string.change",
"io.output.change"
] | 321,981 | 321,982 | u101364139 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int n, a = 0, b = 0, c = 0, d = 0, i;
cin >> n;
string s[100000];
for (i = 0; i < n; i++)
cin >> s[i];
for (i = 0; i < n; i++) {
if (s[i] == "AC")
a++;
else if (s[i] == "WA")
b++;
else if (s[i] == "TLE")
c++... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int n, a = 0, b = 0, c = 0, d = 0, i;
cin >> n;
string s[100000];
for (i = 0; i < n; i++)
cin >> s[i];
for (i = 0; i < n; i++) {
if (s[i] == "AC")
a++;
else if (s[i] == "WA")
b++;
else if (s[i] == "TLE")
c++... | [
"literal.string.change",
"io.output.change"
] | 321,983 | 321,984 | u139441186 | cpp |
p02613 | #include <iostream>
#include <string>
using namespace std;
int main() {
int n;
int f = 0, g = 0, h = 0, i = 0;
string kase[10 ^ 5];
cin >> n;
for (int i = 0; i < n; i++) {
cin >> kase[i];
}
for (int u = 0; u < n; u++) {
if (kase[u] == "AC") {
f = f + 1;
} else if (kase[u] == "WA") {
... | #include <iostream>
#include <string>
using namespace std;
int main() {
int n;
int f = 0, g = 0, h = 0, i = 0;
string kase[100000];
cin >> n;
for (int i = 0; i < n; i++) {
cin >> kase[i];
}
for (int u = 0; u < n; u++) {
if (kase[u] == "AC") {
f = f + 1;
} else if (kase[u] == "WA") {
... | [
"literal.number.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 321,985 | 321,986 | u811184186 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int i, j;
int ac = 0;
int tle = 0;
int wa = 0;
int re = 0;
cin >> i;
string d[i];
for (j = 0; j < i; j++) {
cin >> d[j];
}
for (int k = 0; k < i; k++) {
if (d[k] == "AC") {
ac++;
} else if (d[k] == "WA") {
wa++;... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int i, j;
int ac = 0;
int tle = 0;
int wa = 0;
int re = 0;
cin >> i;
string d[i];
for (j = 0; j < i; j++) {
cin >> d[j];
}
for (int k = 0; k < i; k++) {
if (d[k] == "AC") {
ac++;
} else if (d[k] == "WA") {
wa++... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 322,002 | 322,001 | u969962623 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
int C0, C1, C2, C3;
C0 = C1 = C2 = C3 = 0;
cin >> N;
vector<string> S(N);
for (int i = 0; i < N; i++) {
cin >> S.at(i);
}
for (int j = 0; j < N; j++) {
if (S.at(j) == "AC") {
C0 = C0 + 1;
} else if (S.at(j) == "WA")... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
int C0, C1, C2, C3;
C0 = C1 = C2 = C3 = 0;
cin >> N;
vector<string> S(N);
for (int i = 0; i < N; i++) {
cin >> S.at(i);
}
for (int j = 0; j < N; j++) {
if (S.at(j) == "AC") {
C0 = C0 + 1;
} else if (S.at(j) == "WA")... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 322,005 | 322,006 | u625974869 | cpp |
p02613 | // Created by sahim on 7/3/2020.
#include "bits/stdc++.h"
using namespace std;
#define ll unsigned long long
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | // Created by sahim on 7/3/2020.
#include "bits/stdc++.h"
using namespace std;
#define ll unsigned long long
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | [
"literal.string.change",
"io.output.change"
] | 322,007 | 322,008 | u454940171 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
int a = 0, w = 0, t = 0, r = 0;
for (int i = 0; i < x; i++) {
string n;
cin >> n;
if (n == "AC")
a++;
else if (n == "WA")
w++;
else if (n == "TLE")
t++;
else if (n == "RE")
r++;
}
co... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
int a = 0, w = 0, t = 0, r = 0;
for (int i = 0; i < x; i++) {
string n;
cin >> n;
if (n == "AC")
a++;
else if (n == "WA")
w++;
else if (n == "TLE")
t++;
else if (n == "RE")
r++;
}
co... | [
"literal.string.change",
"io.output.change"
] | 322,009 | 322,010 | u052800459 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int N = 0;
int AC = 0;
int WA = 0;
int TLE = 0;
int RE = 0;
cin >> N;
string S[N];
for (int i = 0; i < N; i++) {
cin >> S[i];
}
for (int i = 0; i < N; i++) {
if (S[i].compare("AC") == 0) {
AC++;
} else if (S[i].compare("WA"... | #include <iostream>
using namespace std;
int main() {
int N = 0;
int AC = 0;
int WA = 0;
int TLE = 0;
int RE = 0;
cin >> N;
string S[N];
for (int i = 0; i < N; i++) {
cin >> S[i];
}
for (int i = 0; i < N; i++) {
if (S[i].compare("AC") == 0) {
AC++;
} else if (S[i].compare("WA"... | [
"literal.string.change",
"io.output.change"
] | 322,011 | 322,012 | u561623248 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define MOD 1000000007
#define pb push_back
#define mp make_pair
#define preeti \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define MOD 1000000007
#define pb push_back
#define mp make_pair
#define preeti \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,020 | 322,021 | u577754853 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int c0 = 0, c1 = 0, c2 = 0, c3 = 0;
for (int i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "AC")
c0++;
else if (s == "WA")
c1++;
else if (s == "TLE")
c2++;
else if (s == "RE")
c3++;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int c0 = 0, c1 = 0, c2 = 0, c3 = 0;
for (int i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "AC")
c0++;
else if (s == "WA")
c1++;
else if (s == "TLE")
c2++;
else if (s == "RE")
c3++;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,032 | 322,033 | u094470192 | cpp |
p02613 | #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | [
"literal.string.change",
"io.output.change"
] | 322,034 | 322,035 | u228312426 | cpp |
p02613 | #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,036 | 322,035 | u228312426 | cpp |
p02613 | #include <bits/stdc++.h>
#define ll long long int
#define vec vector<ll>
#define pb push_back
#define vecit vector<ll>::iterator
#define vecp vector<pair<ll, ll>>
#define vecpit vector<pair<ll, ll>>::iterator
#define mapp map<ll, ll>
#define mapit map<ll, ll>::iterator
#define mod 1000000007
#define db double
using nam... | #include <bits/stdc++.h>
#define ll long long int
#define vec vector<ll>
#define pb push_back
#define vecit vector<ll>::iterator
#define vecp vector<pair<ll, ll>>
#define vecpit vector<pair<ll, ll>>::iterator
#define mapp map<ll, ll>
#define mapit map<ll, ll>::iterator
#define mod 1000000007
#define db double
using nam... | [
"literal.string.change",
"io.output.change"
] | 322,037 | 322,038 | u524252607 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n, ac = 0, re = 0, tle = 0, wa = 0;
string s;
cin >> n;
while (n--) {
cin >> s;
if (s == "AC") {
ac++;
} else if (s == "WA") {
wa++;
} else if (s == "TLE") {
tle++;
} else {
re++;
}
}
cout <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n, ac = 0, re = 0, tle = 0, wa = 0;
string s;
cin >> n;
while (n--) {
cin >> s;
if (s == "AC") {
ac++;
} else if (s == "WA") {
wa++;
} else if (s == "TLE") {
tle++;
} else {
re++;
}
}
cout <<... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,041 | 322,042 | u387034247 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, ac = 0, re = 0, tle = 0, wa = 0;
string s;
cin >> n;
while (n--) {
cin >> s;
if (s == "AC") {
ac++;
} else if (s == "WA") {
wa++;
} else if (s == "TLE") {
tle++;
} else {
re++;
}
}
cout << "AC"
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n, ac = 0, re = 0, tle = 0, wa = 0;
string s;
cin >> n;
while (n--) {
cin >> s;
if (s == "AC") {
ac++;
} else if (s == "WA") {
wa++;
} else if (s == "TLE") {
tle++;
} else {
re++;
}
}
cout <<... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,043 | 322,042 | u387034247 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int a, b, c, d;
a = b = c = d = 0;
for (int i = 0; i < n; ++i) {
string s;
cin >> s;
if (s == "AC")
a++;
if (s == "WA")
b++;
if (s == "RE")
c++;
if (s == "TLE")
d++;
}
cout << "AC... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int a, b, c, d;
a = b = c = d = 0;
for (int i = 0; i < n; ++i) {
string s;
cin >> s;
if (s == "AC")
a++;
if (s == "WA")
b++;
if (s == "RE")
c++;
if (s == "TLE")
d++;
}
cout << "AC... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,046 | 322,047 | u848361297 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define max(a, b) (a < b ? b : a)
#define min(a, b) ((a > b) ? b : a)
#define mod 1e9 + 7
#define FOR(a, c) for (int(a) = 0; (a) < (c); (a)++)
#define FORL(a, b, c) for (int(a) = (b); (a) <= (c); (a)++)
#define FORR(a, b, c) for (int(a) = (b); (a) >= (c); (a)--)
#define INF... | #include <bits/stdc++.h>
using namespace std;
#define max(a, b) (a < b ? b : a)
#define min(a, b) ((a > b) ? b : a)
#define mod 1e9 + 7
#define FOR(a, c) for (int(a) = 0; (a) < (c); (a)++)
#define FORL(a, b, c) for (int(a) = (b); (a) <= (c); (a)++)
#define FORR(a, b, c) for (int(a) = (b); (a) >= (c); (a)--)
#define INF... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,048 | 322,049 | u163178440 | cpp |
p02613 | #include <bits/stdc++.h>
#include <iostream>
#include <string>
using namespace std;
int main() {
int n;
cin >> n;
int ac = 0, tle = 0, wa = 0, re = 0;
while (n--) {
string s;
cin >> s;
if (s[0] == 'A')
ac++;
if (s[0] == 'T')
tle++;
if (s[0] == 'R')
re++;
if (s[0] == 'W... | #include <bits/stdc++.h>
#include <iostream>
#include <string>
using namespace std;
int main() {
int n;
cin >> n;
int ac = 0, tle = 0, wa = 0, re = 0;
while (n--) {
string s;
cin >> s;
if (s[0] == 'A')
ac++;
if (s[0] == 'T')
tle++;
if (s[0] == 'R')
re++;
if (s[0] == 'W... | [
"literal.string.change",
"io.output.change"
] | 322,050 | 322,051 | u420869745 | cpp |
p02613 | #include <bits/stdc++.h>
#define arep(a, i, n) for (int i = (a); i < (n); i++)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define cinf(x, n) \
for (int i = 0; i < (n); i++) \
cin >> x[i];
#define coutf(... | #include <bits/stdc++.h>
#define arep(a, i, n) for (int i = (a); i < (n); i++)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define cinf(x, n) \
for (int i = 0; i < (n); i++) \
cin >> x[i];
#define coutf(... | [
"literal.string.change",
"io.output.change"
] | 322,063 | 322,064 | u067797863 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string ans, input;
int arr[4] = {0, 0, 0, 0};
while (n--) {
cin >> input;
if (input == "AC")
arr[0] += 1;
else if (input == "WA")
arr[1] += 1;
else if (input == "TLE")
arr[2] += 1;
else
ar... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string input;
int arr[4] = {0, 0, 0, 0};
while (n--) {
cin >> input;
if (input == "AC")
arr[0] += 1;
else if (input == "WA")
arr[1] += 1;
else if (input == "TLE")
arr[2] += 1;
else
arr[3]... | [
"variable_declaration.remove",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,065 | 322,066 | u551389692 | cpp |
p02613 | #pragma GCC optimize("O2")
#include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(), (x).end()
#define YES() printf("YES\n")
#define NO() printf("NO\n")
#define Yes() printf("Yes\n")
#define No() printf("No\n")
#define ll long long
#define vll vector<ll>
#define vi vector<int>
#define pi pair<int, int>
... | #pragma GCC optimize("O2")
#include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(), (x).end()
#define YES() printf("YES\n")
#define NO() printf("NO\n")
#define Yes() printf("Yes\n")
#define No() printf("No\n")
#define ll long long
#define vll vector<ll>
#define vi vector<int>
#define pi pair<int, int>
... | [
"variable_declaration.remove",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,069 | 322,070 | u368502656 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int n, s1 = 0, s2 = 0, s3 = 0, s4 = 0;
string s;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> s;
if (s == "AC") {
s1++;
}
if (s == "WA") {
s2++;
}
if (s == "TLE") {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int n, s1 = 0, s2 = 0, s3 = 0, s4 = 0;
string s;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> s;
if (s == "AC") {
s1++;
}
if (s == "WA") {
s2++;
}
if (s == "TLE") {
... | [
"literal.string.change",
"io.output.change"
] | 322,073 | 322,074 | u562321612 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
map<string, ll> mp;
mp["AC"] = 0;
mp["WA"] = 0;
mp["TLE"] = 0;
mp["RE"] = 0;
ll n;
cin >> n;
while (n--) {
string s;
cin >> s;
mp[s]++;
}
cout << "AC X " << mp["AC"] << endl;
cout << "WA X " << mp["WA"] ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
map<string, ll> mp;
mp["AC"] = 0;
mp["WA"] = 0;
mp["TLE"] = 0;
mp["RE"] = 0;
ll n;
cin >> n;
while (n--) {
string s;
cin >> s;
mp[s]++;
}
cout << "AC x " << mp["AC"] << endl;
cout << "WA x " << mp["WA"] ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,087 | 322,088 | u750123431 | cpp |
p02613 | using namespace std;
#include <bits/stdc++.h>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define maxn 500005
#define inf int(21e8)
#define mod int(1e9 + 7)
#define db double
#define ll long long
#define si stack<int>
#define qi queue<int>
#define vi vector<int>
#define pi pair<int, int... | using namespace std;
#include <bits/stdc++.h>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define maxn 500005
#define inf int(21e8)
#define mod int(1e9 + 7)
#define db double
#define ll long long
#define si stack<int>
#define qi queue<int>
#define vi vector<int>
#define pi pair<int, int... | [
"literal.string.change",
"io.output.change"
] | 322,089 | 322,090 | u327670967 | cpp |
p02613 | /***** author : C0d1ngPhenomena *****/
#include <bits/stdc++.h>
#define endl "\n"
#define ll long long int
#define TestCases \
int T; \
cin >> T; ... | /***** author : C0d1ngPhenomena *****/
#include <bits/stdc++.h>
#define endl "\n"
#define ll long long int
#define TestCases \
int T; \
cin >> T; ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,094 | 322,095 | u264629567 | cpp |
p02613 | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <utility>
#include <vector>
typedef long long ll;
int main() {
int n;
std::cin >> n;
std::map<std::string, ll> m = {
{"AC", 0},
{"WA", 0},
{"TEL", 0},
{"RE", 0},
};
std::string judge[4] = {"AC", "WA", ... | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <utility>
#include <vector>
typedef long long ll;
int main() {
int n;
std::cin >> n;
std::map<std::string, ll> m = {
{"AC", 0},
{"WA", 0},
{"TLE", 0},
{"RE", 0},
};
std::string judge[4] = {"AC", "WA",... | [
"literal.string.change",
"expression.operation.binary.change"
] | 322,105 | 322,104 | u478372289 | cpp |
p02613 | #include <bits/stdc++.h>
#define LOCAL
using namespace std;
template <typename A, typename B>
ostream &operator<<(ostream &out, const pair<A, B> &a) {
out << "(" << a.first << "," << a.second << ")";
return out;
}
template <typename T, size_t N>
ostream &operator<<(ostream &out, const array<T, N> &a) {
out << "["... | #include <bits/stdc++.h>
#define LOCAL
using namespace std;
template <typename A, typename B>
ostream &operator<<(ostream &out, const pair<A, B> &a) {
out << "(" << a.first << "," << a.second << ")";
return out;
}
template <typename T, size_t N>
ostream &operator<<(ostream &out, const array<T, N> &a) {
out << "["... | [
"literal.string.change",
"io.output.change"
] | 322,108 | 322,109 | u818349438 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int N;
int main() {
cin >> N;
int a = 0, b = 0, c = 0, d = 0;
vector<string> S(100000);
for (int i = 0; i < N; i++)
cin >> S.at(i);
for (int i = 0; i < N; i++) {
if (S.at(i) == "AC")
a++;
else if (S.at(i) == "WA")
b++;
else if (S.at(i... | #include <bits/stdc++.h>
using namespace std;
int N;
int main() {
cin >> N;
int a = 0, b = 0, c = 0, d = 0;
vector<string> S(100000);
for (int i = 0; i < N; i++)
cin >> S.at(i);
for (int i = 0; i < N; i++) {
if (S.at(i) == "AC")
a++;
else if (S.at(i) == "WA")
b++;
else if (S.at(i... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,119 | 322,120 | u963380669 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int n;
int c = 0, d = 0, e = 0, f = 0;
cin >> n;
string s;
while (n--) {
cin >> s;
if (s[0] == 'A' && s[1] == 'C') {
c++;
} else if (s[0] == 'W' && s[1] == 'A') {
d++;
} else if (s[0] == 'T' && s[1] == 'L' && s[2... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int n;
int c = 0, d = 0, e = 0, f = 0;
cin >> n;
string s;
while (n--) {
cin >> s;
if (s[0] == 'A' && s[1] == 'C') {
c++;
} else if (s[0] == 'W' && s[1] == 'A') {
d++;
} else if (s[0] == 'T' && s[1] == 'L' && s[2... | [
"literal.string.change",
"io.output.change"
] | 322,123 | 322,124 | u569290996 | cpp |
p02613 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define f(i, n) for (int i = 0; i < n; i++)
#define fo(i, k, n) for (int i = k; i < n; i++)
#define forr(i, a, b) for (int i = a; i <= b; i++)
#define rf(i, n) for (int i = n; i >= 0; i--)
typedef unsigned long long ull;
typedef pair<int, int> pr;
... |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define f(i, n) for (int i = 0; i < n; i++)
#define fo(i, k, n) for (int i = k; i < n; i++)
#define forr(i, a, b) for (int i = a; i <= b; i++)
#define rf(i, n) for (int i = n; i >= 0; i--)
typedef unsigned long long ull;
typedef pair<int, int> pr;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,127 | 322,128 | u008860348 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define hell 1000000007
#define PI acos(-1.0)
#define S second
#define F first
#define lli long long int
#define li long int
#define ld long double
#define all(v) (v).begin(), (v).end()
#define rall(v) (v).rbegin(), (v).rend()
#define run(j, n) for (auto ii = j; ii != n; ... | #include <bits/stdc++.h>
using namespace std;
#define hell 1000000007
#define PI acos(-1.0)
#define S second
#define F first
#define lli long long int
#define li long int
#define ld long double
#define all(v) (v).begin(), (v).end()
#define rall(v) (v).rbegin(), (v).rend()
#define run(j, n) for (auto ii = j; ii != n; ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,129 | 322,130 | u194669339 | cpp |
p02613 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
string a[n];
for (int i = 0; i < n; i++) {
cin >> a[i];
if (a[i] == "AC")
ac++;
if (a[i] == "WA")
wa++;
if (a[i] == "TLE")
tle++;
if (a[i] == "RE")
... | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
string a[n];
for (int i = 0; i < n; i++) {
cin >> a[i];
if (a[i] == "AC")
ac++;
if (a[i] == "WA")
wa++;
if (a[i] == "TLE")
tle++;
if (a[i] == "RE")
... | [
"literal.string.change",
"io.output.change"
] | 322,131 | 322,132 | u266934330 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, a, b, c, d;
string r;
cin >> n;
a = b = c = d = 0;
while (n--) {
cin >> r;
if (r == "AC")
a++;
else if (r == "WA")
b++;
else if (r == "TLE")
c++;
else
d++;
}
cout << "AC x " << a << endl;
cout... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, a, b, c, d;
string r;
cin >> n;
a = b = c = d = 0;
while (n--) {
cin >> r;
if (r == "AC")
a++;
else if (r == "WA")
b++;
else if (r == "TLE")
c++;
else
d++;
}
cout << "AC x " << a << endl;
cout... | [
"io.output.change"
] | 322,135 | 322,136 | u007789844 | cpp |
p02613 | #include <bits/stdc++.h>
#define ll long long
#define dd double
#define scl(n) scanf("%lld", &n)
#define scd(n) scanf("%lf", &n)
#define ptl(n) printf("%lld", n)
#define ptd(n) printf("%lf", n)
#define nline printf("\n")
#define vld vector<ll>
#define vbd vector<bool>
#define eb emplace_back
#define FOR(i, n) for (ll ... | #include <bits/stdc++.h>
#define ll long long
#define dd double
#define scl(n) scanf("%lld", &n)
#define scd(n) scanf("%lf", &n)
#define ptl(n) printf("%lld", n)
#define ptd(n) printf("%lf", n)
#define nline printf("\n")
#define vld vector<ll>
#define vbd vector<bool>
#define eb emplace_back
#define FOR(i, n) for (ll ... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 322,141 | 322,142 | u542396737 | cpp |
p02613 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll n, t = 0, a = 0, w = 0, r = 0;
cin >> n;
string ar[n];
for (int i = 0; i < n; i++) {
cin >> ar[i];
if (ar[i] == "AC") {
a++;
} else if (ar[i] == "TLE") {
t++;
} else if (ar[i] == "WA") {
w++;
... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll n, t = 0, a = 0, w = 0, r = 0;
cin >> n;
string ar[n];
for (int i = 0; i < n; i++) {
cin >> ar[i];
if (ar[i] == "AC") {
a++;
} else if (ar[i] == "TLE") {
t++;
} else if (ar[i] == "WA") {
w++;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,143 | 322,144 | u702900370 | cpp |
p02613 | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int N;
scanf("%d", &N);
vector<string> S(N);
for (int i = 0; i < N; i++) {
cin >> S.at(i);
}
int ac = 0;
int wa = 0;
int tle = 0;
int ... | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int N;
scanf("%d", &N);
vector<string> S(N);
for (int i = 0; i < N; i++) {
cin >> S.at(i);
}
int ac = 0;
int wa = 0;
int tle = 0;
int ... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 322,145 | 322,146 | u816378291 | cpp |
p02613 | #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() {
long n;
cin >> n;
long ac = 0, wa = 0, tle = 0, re = 0;
for (long i = 0; i < n; i++) {
string sbuff;
cin >> sbuff;
if (sbuff == "AC") {
... | #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() {
long n;
cin >> n;
long ac = 0, wa = 0, tle = 0, re = 0;
for (long i = 0; i < n; i++) {
string sbuff;
cin >> sbuff;
if (sbuff == "AC") {
... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 322,149 | 322,150 | u534732555 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAXN = 300 + 5;
bool a[MAXN][MAXN];
int main() {
int n;
string s;
int a[4] = {0};
cin >> n;
while (n--) {
cin >> s;
if ("AC" == s)
a[0]++;
else if ("WA" == s)
a[1]++;
else if ("TLE" == s)
a[2]++... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAXN = 300 + 5;
bool a[MAXN][MAXN];
int main() {
int n;
string s;
int a[4] = {0};
cin >> n;
while (n--) {
cin >> s;
if ("AC" == s)
a[0]++;
else if ("WA" == s)
a[1]++;
else if ("TLE" == s)
a[2]++... | [
"literal.string.change",
"io.output.change"
] | 322,158 | 322,159 | u962095967 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
void solution() {
ll n;
cin >> n;
string s;
ll ac = 0, wa = 0, tle = 0, re = 0;
for (ll i = 0; i < n; ++i) {
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if (s == "TLE")
tle++;
else
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
void solution() {
ll n;
cin >> n;
string s;
ll ac = 0, wa = 0, tle = 0, re = 0;
for (ll i = 0; i < n; ++i) {
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if (s == "TLE")
tle++;
else
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,162 | 322,163 | u212354910 | cpp |
p02613 | #include <bits/stdc++.h>
#include <stdint.h>
#define mod 1000000007
#define ull unsigned ll
#define ll long long int
#define ld long double
#define pb push_back
#define mp make_pair
#define pi 3.1415926535897932
#define nui 100
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0... | #include <bits/stdc++.h>
#include <stdint.h>
#define mod 1000000007
#define ull unsigned ll
#define ll long long int
#define ld long double
#define pb push_back
#define mp make_pair
#define pi 3.1415926535897932
#define nui 100
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,165 | 322,166 | u841245309 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vec;
#define PI 3.14159265359
int main() {
int n;
cin >> n;
string mo[n];
int sum[] = {0, 0, 0, 0};
for (int i = 0; i < n; ++i) {
cin >> mo[i];
}
for (int i = 0; i < n; ++i) {
if (mo[i] == "AC") {
sum[0]... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vec;
#define PI 3.14159265359
int main() {
int n;
cin >> n;
string mo[n];
int sum[] = {0, 0, 0, 0};
for (int i = 0; i < n; ++i) {
cin >> mo[i];
}
for (int i = 0; i < n; ++i) {
if (mo[i] == "AC") {
sum[0]... | [
"literal.string.change",
"control_flow.branch.if.condition.change",
"call.arguments.change",
"io.output.change"
] | 322,169 | 322,168 | u061588208 | cpp |
p02613 | /**Bismillahir Rahmanir Rahim.**/
/*
Md.Fagun Molla
18ICTCSE006
BSMRSTU(SHIICT)
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
using ll = long long;
using db = double;
///**************... | /**Bismillahir Rahmanir Rahim.**/
/*
Md.Fagun Molla
18ICTCSE006
BSMRSTU(SHIICT)
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
using ll = long long;
using db = double;
///**************... | [
"literal.string.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 322,174 | 322,175 | u199299168 | cpp |
p02613 | #include <bits/stdc++.h>
typedef long long ll;
typedef long double ld;
using namespace std;
// Binary exponent
ll Bin_pow(ll a, ll b) {
ll res = 1;
while (b > 0) {
if (b & 1) {
res = res * a;
}
a = a * a;
b >>= 1;
}
return res;
}
// GCD
ll gcd(ll a, ll b) {
if (b == 0)
return a;
... | #include <bits/stdc++.h>
typedef long long ll;
typedef long double ld;
using namespace std;
// Binary exponent
ll Bin_pow(ll a, ll b) {
ll res = 1;
while (b > 0) {
if (b & 1) {
res = res * a;
}
a = a * a;
b >>= 1;
}
return res;
}
// GCD
ll gcd(ll a, ll b) {
if (b == 0)
return a;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,180 | 322,181 | u555958854 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int T;
int ac, re, wa, tle;
cin >> T;
ac = re = tle = wa = 0;
string status;
while (cin >> status) {
if (status == "AC")
ac++;
if (status == "TLE")
tle++;
if (status == "WA")
wa++;
if (status == "RE")
re++;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int T;
int ac, re, wa, tle;
cin >> T;
ac = re = tle = wa = 0;
string status;
while (cin >> status) {
if (status == "AC")
ac++;
if (status == "TLE")
tle++;
if (status == "WA")
wa++;
if (status == "RE")
re++;
... | [
"literal.string.change",
"io.output.change"
] | 322,184 | 322,185 | u115867677 | cpp |
p02613 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define fbo find_by_order
#define ook order_of_key
typedef long long ll;
typedef pair<ll... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define fbo find_by_order
#define ook order_of_key
typedef long long ll;
typedef pair<ll... | [
"literal.string.change",
"io.output.change",
"variable_access.subscript.index.change"
] | 322,192 | 322,193 | u955723966 | cpp |
p02613 | /* --------------------
| LOSER |
| ~NOOBOSS~ |
--------------------
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define inl(x) scanf("%lld", &x)
#define in(x) scanf("%d", ... | /* --------------------
| LOSER |
| ~NOOBOSS~ |
--------------------
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define inl(x) scanf("%lld", &x)
#define in(x) scanf("%d", ... | [
"literal.string.change",
"io.output.change"
] | 322,194 | 322,195 | u614233094 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, a, b, c, d;
a = 0;
b = 0;
c = 0;
d = 0;
cin >> N;
string C;
for (int i = 0; i < N; i++) {
cin >> C;
if (C == "AC") {
a++;
}
if (C == "WA") {
b++;
}
if (C == "TLE") {
c++;
}
if (C == "RE")... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, a, b, c, d;
a = 0;
b = 0;
c = 0;
d = 0;
cin >> N;
string C;
for (int i = 0; i < N; i++) {
cin >> C;
if (C == "AC") {
a++;
}
if (C == "WA") {
b++;
}
if (C == "TLE") {
c++;
}
if (C == "RE")... | [
"literal.string.change",
"io.output.change"
] | 322,200 | 322,201 | u109964009 | cpp |
p02613 | #include <bits/stdc++.h>
#define ll long long
#define nl "\n"
#define pi acos(-1)
#define fast ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL)
#define pcase printf("Case %d:\n", ca)
int ca = 1;
using namespace std;
int main() {
int n;
cin >> n;
cin.ignore();
int ac = 0, wa = 0, tle = 0, re = 0;
... | #include <bits/stdc++.h>
#define ll long long
#define nl "\n"
#define pi acos(-1)
#define fast ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL)
#define pcase printf("Case %d:\n", ca)
int ca = 1;
using namespace std;
int main() {
int n;
cin >> n;
cin.ignore();
int ac = 0, wa = 0, tle = 0, re = 0;
... | [
"literal.string.change",
"io.output.change"
] | 322,202 | 322,203 | u914351159 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int N;
string str;
int cnt[4] = {0};
cin >> N;
for (int i = 0; i < N; i++) {
cin >> str;
if (str == "AC") {
cnt[0]++;
} else if (str == "WA") {
cnt[1]++;
} else if (str == "TLE") {
cnt[2]++;
} else if (str == "RE") {... | #include <iostream>
using namespace std;
int main() {
int N;
string str;
int cnt[4] = {0};
cin >> N;
for (int i = 0; i < N; i++) {
cin >> str;
if (str == "AC") {
cnt[0]++;
} else if (str == "WA") {
cnt[1]++;
} else if (str == "TLE") {
cnt[2]++;
} else if (str == "RE") {... | [
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 322,204 | 322,205 | u083516595 | cpp |
p02613 | //#include<bits/stdc++.h>
#include <iostream>
#include <string>
#define ll long long int
using namespace std;
int main() {
ll T, i, j, c, d, p, q, n, a, b, m;
string s1, s2, s3, s4;
cin >> T;
a = b = c = d = 0;
while (T--) {
cin >> s1;
if (s1 == "AC")
a++;
else if (s1 == "WA")
b++;
... | //#include<bits/stdc++.h>
#include <iostream>
#include <string>
#define ll long long int
using namespace std;
int main() {
ll T, i, j, c, d, p, q, n, a, b, m;
string s1, s2, s3, s4;
cin >> T;
a = b = c = d = 0;
while (T--) {
cin >> s1;
if (s1 == "AC")
a++;
else if (s1 == "WA")
b++;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,206 | 322,207 | u219752558 | cpp |
p02613 | //#include<bits/stdc++.h>
#include <iostream>
#include <string>
#define ll long long int
using namespace std;
int main() {
ll T, i, j, c, d, p, q, n, a, b, m;
string s1, s2, s3, s4;
cin >> T;
a = b = c = d = 0;
while (T--) {
cin >> s1;
if (s1 == "AC")
a++;
else if (s1 == "WA")
b++;
... | //#include<bits/stdc++.h>
#include <iostream>
#include <string>
#define ll long long int
using namespace std;
int main() {
ll T, i, j, c, d, p, q, n, a, b, m;
string s1, s2, s3, s4;
cin >> T;
a = b = c = d = 0;
while (T--) {
cin >> s1;
if (s1 == "AC")
a++;
else if (s1 == "WA")
b++;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,208 | 322,207 | u219752558 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
int ac = 0, tle = 0, wa = 0, re = 0;
string s[t];
for (int i = 0; i < t; i++) {
cin >> s[i];
}
for (int i = 0; i < t; i++) {
if (s[i] == "AC") {
ac++;
} else if (s[i] == "WA") {
wa++;
} else if (s[i] =... | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
int ac = 0, tle = 0, wa = 0, re = 0;
string s[t];
for (int i = 0; i < t; i++) {
cin >> s[i];
}
for (int i = 0; i < t; i++) {
if (s[i] == "AC") {
ac++;
} else if (s[i] == "WA") {
wa++;
} else if (s[i] =... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,209 | 322,210 | u106309438 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
// Optimisations
#pragma GCC target("avx2")
#pragma GCC optimization("unroll-loops")
#pragma GCC optimize("O2")
// shortcuts for functions
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define all(v) v.begin(), v.end()
#define prec(n) fixed <<... | #include <bits/stdc++.h>
using namespace std;
// Optimisations
#pragma GCC target("avx2")
#pragma GCC optimization("unroll-loops")
#pragma GCC optimize("O2")
// shortcuts for functions
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define all(v) v.begin(), v.end()
#define prec(n) fixed <<... | [
"literal.string.change",
"io.output.change"
] | 322,211 | 322,212 | u397944802 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
string s;
for (int i = 1; i <= n; i++) {
cin >> s;
if (s[0] == 'A')
ac++;
if (s[0] == 'W')
wa++;
if (s[0] == 'T')
tle++;
if (s[0] == 'R')
re++;
}
cout << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
string s;
for (int i = 1; i <= n; i++) {
cin >> s;
if (s[0] == 'A')
ac++;
if (s[0] == 'W')
wa++;
if (s[0] == 'T')
tle++;
if (s[0] == 'R')
re++;
}
cout << ... | [
"literal.string.change",
"io.output.change"
] | 322,213 | 322,214 | u762171108 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int a = 0, w = 0, t = 0, r = 0;
for (int i = 0; i < N; i++) {
string S;
cin >> S;
if (S == "AC")
a++;
else if (S == "WA")
w++;
else if (S == "TLE")
t++;
else if (S == "RE")
r++;
}
cout... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int a = 0, w = 0, t = 0, r = 0;
for (int i = 0; i < N; i++) {
string S;
cin >> S;
if (S == "AC")
a++;
else if (S == "WA")
w++;
else if (S == "TLE")
t++;
else if (S == "RE")
r++;
}
cout... | [
"literal.string.change",
"io.output.change"
] | 322,215 | 322,216 | u148248921 | cpp |
p02613 | #include <bits/stdc++.h>
#define ll long long int
#define pb push_back
#define mp make_pair
#define endl "\n"
using namespace std;
int main() {
ll n, ac = 0, tle = 0, wa = 0, re = 0;
cin >> n;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa... | #include <bits/stdc++.h>
#define ll long long int
#define pb push_back
#define mp make_pair
#define endl "\n"
using namespace std;
int main() {
ll n, ac = 0, tle = 0, wa = 0, re = 0;
cin >> n;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 322,217 | 322,218 | u298838593 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
#define rep2(i, n) for (int i = 0; i <= n; i++)
#define repr(i, a, n) for (int i = a; i < n; i++)
#define all(a) a.begin(), a.end()
#define P pair<long long, ... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
#define rep2(i, n) for (int i = 0; i <= n; i++)
#define repr(i, a, n) for (int i = a; i < n; i++)
#define all(a) a.begin(), a.end()
#define P pair<long long, ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,219 | 322,220 | u042156965 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
string words[4] = {"AC", "WA", "TLE", "RTE"};
int main() {
int n;
cin >> n;
vector<int> v(4);
for (int i = 0; i < n; i++) {
string s;
cin >> s;
for (int id = 0; id < 4; id++) {
if (words[id] != s)
continue;
v[id]++;
}
}
for... | #include <bits/stdc++.h>
using namespace std;
string words[4] = {"AC", "WA", "TLE", "RE"};
int main() {
int n;
cin >> n;
vector<int> v(4);
for (int i = 0; i < n; i++) {
string s;
cin >> s;
for (int id = 0; id < 4; id++) {
if (words[id] != s)
continue;
v[id]++;
}
}
for ... | [
"literal.string.change"
] | 322,225 | 322,226 | u058183675 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a;
int b = 0;
int c = 0;
int d = 0;
int e = 0;
cin >> a;
for (int i = 0; i < a; i++) {
string f;
cin >> f;
if (f == "AC") {
b += 1;
}
if (f == "WA") {
c += 1;
}
if (f == "TLE") {
d += 1;
}
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a;
int b = 0;
int c = 0;
int d = 0;
int e = 0;
cin >> a;
for (int i = 0; i < a; i++) {
string f;
cin >> f;
if (f == "AC") {
b += 1;
}
if (f == "WA") {
c += 1;
}
if (f == "TLE") {
d += 1;
}
... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 322,230 | 322,231 | u238883338 | cpp |
p02613 | #include <iostream>
#include <sstream>
using namespace std;
#include <algorithm>
#include <bits/stdc++.h>
#include <iterator>
#include <utility>
#define go return 0
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep(j, m) for (int j = 0; j < m; ++j)
#define REP(i, n) for (int i = 1; i <= n; ++i)
#define all(v) (... | #include <iostream>
#include <sstream>
using namespace std;
#include <algorithm>
#include <bits/stdc++.h>
#include <iterator>
#include <utility>
#define go return 0
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep(j, m) for (int j = 0; j < m; ++j)
#define REP(i, n) for (int i = 1; i <= n; ++i)
#define all(v) (... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,232 | 322,233 | u587447760 | cpp |
p02613 | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
const double pi = acos(-1.0);
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int max(int a, int b) {
if (a > b) {
return a;
}
return b;
}
int min(int a, int b) {
if (a < b) {
return a;
}
return b;
}
int main(void) {
long int n;... | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
const double pi = acos(-1.0);
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int max(int a, int b) {
if (a > b) {
return a;
}
return b;
}
int min(int a, int b) {
if (a < b) {
return a;
}
return b;
}
int main(void) {
long int n;... | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change"
] | 322,240 | 322,241 | u831628341 | cpp |
p02613 | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
const double pi = acos(-1.0);
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int max(int a, int b) {
if (a > b) {
return a;
}
return b;
}
int min(int a, int b) {
if (a < b) {
return a;
}
return b;
}
int main(void) {
long int n;... | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
const double pi = acos(-1.0);
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int max(int a, int b) {
if (a > b) {
return a;
}
return b;
}
int min(int a, int b) {
if (a < b) {
return a;
}
return b;
}
int main(void) {
long int n;... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"identifier.replace.add",
"literal.replace.remove",
"io.output.change"
] | 322,242 | 322,241 | u831628341 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int n;
cin >> n;
string p;
vector<string> v;
for (int i = 0; i < n; i++) {
cin >> p;
v.push_back(p);
}
string s = "AC";
cout << s << " ";
cout << "X"
<< " ";
cout << count(v.begin(), v.end(), s) << "\... | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int n;
cin >> n;
string p;
vector<string> v;
for (int i = 0; i < n; i++) {
cin >> p;
v.push_back(p);
}
string s = "AC";
cout << s << " ";
cout << "x"
<< " ";
cout << count(v.begin(), v.end(), s) << "\... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,247 | 322,248 | u518227802 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (li i = 0; i < n; i++)
#define li long long int
#define ll long long int
#define pb push_back
#define all(v) sort(v.begin(), v.end())
const int N = 40043;
const ll mod = 1e9 + 7;
#define FAST_IO ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (li i = 0; i < n; i++)
#define li long long int
#define ll long long int
#define pb push_back
#define all(v) sort(v.begin(), v.end())
const int N = 40043;
const ll mod = 1e9 + 7;
#define FAST_IO ... | [
"literal.string.change",
"io.output.change"
] | 322,249 | 322,250 | u243643875 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (li i = 0; i < n; i++)
#define li long long int
#define ll long long int
#define pb push_back
#define all(v) sort(v.begin(), v.end())
const int N = 40043;
const ll mod = 1e9 + 7;
#define FAST_IO ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (li i = 0; i < n; i++)
#define li long long int
#define ll long long int
#define pb push_back
#define all(v) sort(v.begin(), v.end())
const int N = 40043;
const ll mod = 1e9 + 7;
#define FAST_IO ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,251 | 322,250 | u243643875 | cpp |
p02613 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define ll long long
#define ld long double
#define fo(i, v, e) for (v = i; v < e; v++)
#define rfo(i, v, e) for (v = i; v > e; v--)
#define pb(x) push_back(x)
#define ... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define ll long long
#define ld long double
#define fo(i, v, e) for (v = i; v < e; v++)
#define rfo(i, v, e) for (v = i; v > e; v--)
#define pb(x) push_back(x)
#define ... | [
"literal.string.change",
"io.output.change"
] | 322,254 | 322,255 | u359475714 | cpp |
p02613 | #include <iostream>
#include <string>
#define ll long long int
#define ld long double
#define pi acos(-1)
#define pb push_back
using namespace std;
int main() {
ll i, j, k, a, b, c, n, t, m, p, q, d, e, f, x, y, g, z, h;
ld aa, bb, cc, dd, ee, ff, kk, gg;
// vector<ll > v,s,vv;
// vector<string> vs;
// ... | #include <iostream>
#include <string>
#define ll long long int
#define ld long double
#define pi acos(-1)
#define pb push_back
using namespace std;
int main() {
ll i, j, k, a, b, c, n, t, m, p, q, d, e, f, x, y, g, z, h;
ld aa, bb, cc, dd, ee, ff, kk, gg;
// vector<ll > v,s,vv;
// vector<string> vs;
// ... | [
"io.output.change",
"literal.string.change"
] | 322,260 | 322,261 | u563289170 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int t, coun = 0, coun2 = 0, coun3 = 0, coun4 = 0;
string s;
cin >> t;
while (t--) {
cin >> s;
if (s[0] == 'A') {
coun++;
}
if (s[0] == 'W') {
coun2++;
}
if (s[0] == 'R') {
coun3++;
}
if (s[0] == 'T') {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int t, coun = 0, coun2 = 0, coun3 = 0, coun4 = 0;
string s;
cin >> t;
while (t--) {
cin >> s;
if (s[0] == 'A') {
coun++;
}
if (s[0] == 'W') {
coun2++;
}
if (s[0] == 'R') {
coun3++;
}
if (s[0] == 'T') {
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,262 | 322,263 | u938392612 | cpp |
p02613 | #include <algorithm>
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int N;
cin >> N;
vector<string> S(N);
for (int i = 0; i < N; i++) {
cin >> S.at(i);
}
int a = 0;
int b = 0;
int c = 0;
int d = 0;
for (int i = 0; i < N; i++) {
if (S.at(i) == "AC") {
a... | #include <algorithm>
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int N;
cin >> N;
vector<string> S(N);
for (int i = 0; i < N; i++) {
cin >> S.at(i);
}
int a = 0;
int b = 0;
int c = 0;
int d = 0;
for (int i = 0; i < N; i++) {
if (S.at(i) == "AC") {
a... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,264 | 322,265 | u507349898 | cpp |
p02613 | #include <iostream>
#include <string>
using namespace std;
typedef long long ll;
int main() {
ll n;
cin >> n;
string b[4];
b[0] = "AC";
b[1] = "WA";
b[2] = "TLE";
b[3] = "RE";
ll c[4];
fill(c, c + 4, 0);
string a;
for (ll i = 0; i < n; i++) {
cin >> a;
if (a == "AC") {
c[0]++;
}
... | #include <iostream>
#include <string>
using namespace std;
typedef long long ll;
int main() {
ll n;
cin >> n;
string b[4];
b[0] = "AC";
b[1] = "WA";
b[2] = "TLE";
b[3] = "RE";
ll c[4];
fill(c, c + 4, 0);
string a;
for (ll i = 0; i < n; i++) {
cin >> a;
if (a == "AC") {
c[0]++;
}
... | [
"literal.string.change",
"io.output.change"
] | 322,272 | 322,273 | u991136459 | cpp |
p02613 | /*
* @Author: kabbo
* @Date: 2020-06-24 08:40:07
* @Last Modified by: kabbo
* @Last Modified time: 2020-06-24 08:49:58
*/
#include <bits/stdc++.h>
using namespace std;
#define pii pair<long long, long long>
#define endl '\n'
#define ull unsigned long long
#define ll long long
const int mod = 1e9 + 7;
using u64... | /*
* @Author: kabbo
* @Date: 2020-06-24 08:40:07
* @Last Modified by: kabbo
* @Last Modified time: 2020-06-24 08:49:58
*/
#include <bits/stdc++.h>
using namespace std;
#define pii pair<long long, long long>
#define endl '\n'
#define ull unsigned long long
#define ll long long
const int mod = 1e9 + 7;
using u64... | [
"literal.string.change",
"io.output.change"
] | 322,276 | 322,277 | u392331162 | cpp |
p02613 | // In the name of Allah :)
#include <bits/stdc++.h>
using namespace std;
#define wis(x) "[" << #x << " : " << x << "] " <<
typedef long long ll;
const int MAXN = 2e5 + 10, MOD = 1e9 + 7, INF = 1e9 + 5;
map<string, int> cnt;
int main() {
ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
int n;
string str;
cin... | // In the name of Allah :)
#include <bits/stdc++.h>
using namespace std;
#define wis(x) "[" << #x << " : " << x << "] " <<
typedef long long ll;
const int MAXN = 2e5 + 10, MOD = 1e9 + 7, INF = 1e9 + 5;
map<string, int> cnt;
int main() {
ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
int n;
string str;
cin... | [
"io.output.change",
"literal.string.change"
] | 322,284 | 322,285 | u375827135 | cpp |
p02613 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cstdio>
#include <deque>
#include <ext/pb_ds/assoc_container.hpp>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdlib.h>
#include <string.h>
#inclu... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cstdio>
#include <deque>
#include <ext/pb_ds/assoc_container.hpp>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdlib.h>
#include <string.h>
#inclu... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,288 | 322,289 | u943072121 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define int long long
int32_t main() {
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[0] == 'A') {
a++;
}
if (s[0] == 'W') {
b++;
}
if (s[0] == 'T') {
c++;
}
... | #include <bits/stdc++.h>
using namespace std;
#define int long long
int32_t main() {
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[0] == 'A') {
a++;
}
if (s[0] == 'W') {
b++;
}
if (s[0] == 'T') {
c++;
}
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,302 | 322,303 | u460727588 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
int n, a = 0, w = 0, t = 0, r = 0;
cin >> n;
while (n--) {
cin >> s;
if (s == "AC") {
a++;
} else if (s == "WA") {
w++;
} else if (s == "TLE") {
t++;
} else {
r++;
}
cout << "AC "
<<... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
int n, a = 0, w = 0, t = 0, r = 0;
cin >> n;
while (n--) {
cin >> s;
if (s == "AC") {
a++;
} else if (s == "WA") {
w++;
} else if (s == "TLE") {
t++;
} else {
r++;
}
}
cout << "AC "
<<... | [] | 322,304 | 322,305 | u209187415 | cpp |
p02613 | // Md. Shajibul Islam..
// East West University, CSE Department'19
#include <bits/stdc++.h>
using namespace std;
#define FAST \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | // Md. Shajibul Islam..
// East West University, CSE Department'19
#include <bits/stdc++.h>
using namespace std;
#define FAST \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | [
"literal.string.change",
"io.output.change"
] | 322,306 | 322,307 | u270259192 | cpp |
p02613 | #include <iostream>
using namespace std;
typedef long long int ll;
int main() {
int t, c1 = 0, c2 = 0, c3 = 0, c4 = 0;
string s;
cin >> t;
while (t--) {
cin >> s;
if (s == "AC")
c1++;
else if (s == "WA")
c2++;
else if (s == "TLE")
c3++;
else if (s == "RE")
c4++;
}
... | #include <iostream>
using namespace std;
typedef long long int ll;
int main() {
int t, c1 = 0, c2 = 0, c3 = 0, c4 = 0;
string s;
cin >> t;
while (t--) {
cin >> s;
if (s == "AC")
c1++;
else if (s == "WA")
c2++;
else if (s == "TLE")
c3++;
else if (s == "RE")
c4++;
}
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,312 | 322,313 | u069472419 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define endl "\n"
#define MOD 1000000007
#define fast_io \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
int32_t main() {
fast_io;
/... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define endl "\n"
#define MOD 1000000007
#define fast_io \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
int32_t main() {
fast_io;
/... | [
"literal.string.change",
"io.output.change"
] | 322,314 | 322,315 | u593427890 | cpp |
p02613 | #include <bits/stdc++.h>
#define endl "\n"
#define ll long long int
#define mod 1000000007
#define inf 1000000000000000001;
using namespace std;
int main() {
// #ifndef ONLINE_JUDGE
// // for getting input from input.txt
// freopen("input.txt", "r", stdin);
// // for writing output to output.txt
// freop... | #include <bits/stdc++.h>
#define endl "\n"
#define ll long long int
#define mod 1000000007
#define inf 1000000000000000001;
using namespace std;
int main() {
// #ifndef ONLINE_JUDGE
// // for getting input from input.txt
// freopen("input.txt", "r", stdin);
// // for writing output to output.txt
// freop... | [
"literal.string.change",
"io.output.change"
] | 322,319 | 322,320 | u219987462 | cpp |
p02613 | #include <bits/stdc++.h>
#define ll long long
#define io ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
#define fi first
#define se second
using namespace std;
int main() {
// freopen("test.inp","r",stdin);
// freopen("BAILAM.OUT","w",stdout);
io;
int n, a = 0, t = 0, w = 0, r = 0;
cin >> n;
while ... | #include <bits/stdc++.h>
#define ll long long
#define io ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
#define fi first
#define se second
using namespace std;
int main() {
// freopen("test.inp","r",stdin);
// freopen("BAILAM.OUT","w",stdout);
io;
int n, a = 0, t = 0, w = 0, r = 0;
cin >> n;
while ... | [
"literal.string.change",
"io.output.change"
] | 322,321 | 322,322 | u411113777 | cpp |
p02613 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
unordered_map<string, int> mp;
mp["AC"] = 0;
mp["WA"] = 0;
mp["TLE"] = 0;
mp["RE"] = 0;
string a;
for (int i = 1; i <= n; i++) {
cin >> a;
mp[a]++;
}
cout << "AC"
<< " X " << mp["AC"] <<... |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
unordered_map<string, int> mp;
mp["AC"] = 0;
mp["WA"] = 0;
mp["TLE"] = 0;
mp["RE"] = 0;
string a;
for (int i = 1; i <= n; i++) {
cin >> a;
mp[a]++;
}
cout << "AC"
<< " x " << mp["AC"] <... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,323 | 322,324 | u789254686 | cpp |
p02613 | #include <algorithm>
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define ll long long;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
long n;
cin >> n;
string s;
int a = 0;
int w = 0;
int t = 0;
int r = 0;
for (long i = 0; i < n; i++) {
cin >> s;
... | #include <algorithm>
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define ll long long;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
long n;
cin >> n;
string s;
int a = 0;
int w = 0;
int t = 0;
int r = 0;
for (long i = 0; i < n; i++) {
cin >> s;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 322,338 | 322,339 | u850652970 | cpp |
p02613 | #include <algorithm>
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define ll long long;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
long n;
cin >> n;
string s;
int a = 0;
int w = 0;
int t = 0;
int r = 0;
for (long i = 0; i < n; i++) {
cin >> s;
... | #include <algorithm>
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define ll long long;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
long n;
cin >> n;
string s;
int a = 0;
int w = 0;
int t = 0;
int r = 0;
for (long i = 0; i < n; i++) {
cin >> s;
... | [
"literal.string.change",
"io.output.change"
] | 322,340 | 322,339 | u850652970 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.