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 <iostream>
#include <map>
using namespace std;
int main() {
int n;
map<string, int> bag;
string str;
string labels[] = {"AC", "WA", "TLE", "RTE"};
cin >> n;
while (n--) {
cin >> str;
bag[str]++;
}
for (int i = 0; i < 4; i++) {
string key = labels[i];
cout << key << " x " <<... | #include <iostream>
#include <map>
using namespace std;
int main() {
int n;
map<string, int> bag;
string str;
string labels[] = {"AC", "WA", "TLE", "RE"};
cin >> n;
while (n--) {
cin >> str;
bag[str]++;
}
for (int i = 0; i < 4; i++) {
string key = labels[i];
cout << key << " x " << ... | [
"literal.string.change"
] | 321,438 | 321,439 | u414459122 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define INF 100000000
#define REP(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep(i, n) for (int(i) = 1; (i) <= (n); (i)++)
typedef pair<int, int> P;
typedef long long ll;
int main() {
int N;
cin >> N;
map<string, int> mp;
REP(i, N) {
string str;
cin >... | #include <bits/stdc++.h>
using namespace std;
#define INF 100000000
#define REP(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep(i, n) for (int(i) = 1; (i) <= (n); (i)++)
typedef pair<int, int> P;
typedef long long ll;
int main() {
int N;
cin >> N;
map<string, int> mp;
REP(i, N) {
string str;
cin >... | [
"literal.string.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 321,440 | 321,441 | u770968010 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define INF 100000000
#define REP(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep(i, n) for (int(i) = 1; (i) <= (n); (i)++)
typedef pair<int, int> P;
typedef long long ll;
int main() {
int N;
cin >> N;
map<string, int> mp;
REP(i, N) {
string str;
cin >... | #include <bits/stdc++.h>
using namespace std;
#define INF 100000000
#define REP(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep(i, n) for (int(i) = 1; (i) <= (n); (i)++)
typedef pair<int, int> P;
typedef long long ll;
int main() {
int N;
cin >> N;
map<string, int> mp;
REP(i, N) {
string str;
cin >... | [
"literal.string.change",
"io.output.change",
"variable_access.subscript.index.change"
] | 321,442 | 321,441 | u770968010 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
unsigned long long int t;
cin >> t;
unsigned long long int ac, tle, wa, re;
ac = tle = wa = re = 0;
string a;
while (t--) {
cin >> a;
if (a == "AC")
ac++;
if (a == "TLE")
tle++;
if (a == "WA")
wa++;
if (a == "RE")
... | #include <iostream>
using namespace std;
int main() {
unsigned long long int t;
cin >> t;
unsigned long long int ac, tle, wa, re;
ac = tle = wa = re = 0;
string a;
while (t--) {
cin >> a;
if (a == "AC")
ac++;
if (a == "TLE")
tle++;
if (a == "WA")
wa++;
if (a == "RE")
... | [
"io.output.change",
"literal.string.change",
"literal.string.case.change"
] | 321,447 | 321,448 | u140462364 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int i, n, ac = 0, wa = 0, tle = 0, re = 0;
char **arr;
cin >> n;
arr = new char *[n];
for (i = 0; i < n; i++) {
arr[i] = new char[4];
cin >> arr[i];
if (arr[i][0] == 'A')
ac++;
else if (arr[i][0] == 'W')
wa++;
else i... | #include <bits/stdc++.h>
using namespace std;
int main() {
int i, n, ac = 0, wa = 0, tle = 0, re = 0;
char **arr;
cin >> n;
arr = new char *[n];
for (i = 0; i < n; i++) {
arr[i] = new char[4];
cin >> arr[i];
if (arr[i][0] == 'A')
ac++;
else if (arr[i][0] == 'W')
wa++;
else i... | [
"literal.string.change",
"io.output.change"
] | 321,449 | 321,450 | u727721381 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int n;
cin >> n;
int ac = 0, tle = 0, re = 0, wa = 0;
while (n--) {
string s;
cin >> s;
if (s[0] == 'A')
ac++;
if (s[0] == 'T')
tle++;
if (s[0] == 'W')
wa++;
if (s[0] == 'R')
re+... | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int n;
cin >> n;
int ac = 0, tle = 0, re = 0, wa = 0;
while (n--) {
string s;
cin >> s;
if (s[0] == 'A')
ac++;
if (s[0] == 'T')
tle++;
if (s[0] == 'W')
wa++;
if (s[0] == 'R')
re+... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,455 | 321,456 | u596780566 | cpp |
p02613 | //--------------------------------------//
#include <bits/stdc++.h>
//-------------------------------------//
#define faster \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | //--------------------------------------//
#include <bits/stdc++.h>
//-------------------------------------//
#define faster \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 321,467 | 321,468 | u683513395 | cpp |
p02613 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll t;
cin >> t;
unordered_map<string, ll> mp;
for (ll i = 0; i < t; i++) {
string s;
cin >> s;
mp[s]++;
}
cout << "AC X " << mp["AC"] << endl;
cout << "WA X " << mp["WA"] << endl;
cout << "TLE X " << mp["TL... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll t;
cin >> t;
unordered_map<string, ll> mp;
for (ll i = 0; i < t; i++) {
string s;
cin >> s;
mp[s]++;
}
cout << "AC x " << mp["AC"] << endl;
cout << "WA x " << mp["WA"] << endl;
cout << "TLE x " << mp["TL... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,471 | 321,472 | u618338003 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll t;
cin >> t;
ll ac = 0, wa = 0, tle = 0, re = 0;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
ac++;
} else if (s == "WA") {
wa++;
} else if (s == "TLE") {
tle++;
} else if (s == "RE... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll t;
cin >> t;
ll ac = 0, wa = 0, tle = 0, re = 0;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
ac++;
} else if (s == "WA") {
wa++;
} else if (s == "TLE") {
tle++;
} else if (s == "RE... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,476 | 321,477 | u964048580 | cpp |
p02613 | #include <iostream>
#include <math.h>
#include <string.h>
using namespace std;
string a[4] = {"AC", "TLE", "WA", "RE"};
int main(int argc, char const *argv[]) {
int n;
string str;
int ans[4] = {0};
cin >> n;
for (int i = 0; i < n; i++) {
cin >> str;
for (int j = 0; j < 4; j++) {
if (str == a[j])... | #include <iostream>
#include <math.h>
#include <string.h>
using namespace std;
string a[4] = {"AC", "WA", "TLE", "RE"};
int main(int argc, char const *argv[]) {
int n;
string str;
int ans[4] = {0};
cin >> n;
for (int i = 0; i < n; i++) {
cin >> str;
for (int j = 0; j < 4; j++) {
if (str == a[j])... | [
"literal.string.change",
"io.output.change"
] | 321,480 | 321,481 | u800797117 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, a = 0, b = 0, c = 0, d = 0;
cin >> n;
string s;
for (int i = 0; i < n; i++) {
cin >> s;
if (s == "AC")
a++;
else if (s == "WA")
b++;
else if (s == "TLE")
c++;
else if (s == "RE")
d++;
}
cout << "AC ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, a = 0, b = 0, c = 0, d = 0;
cin >> n;
string s;
for (int i = 0; i < n; i++) {
cin >> s;
if (s == "AC")
a++;
else if (s == "WA")
b++;
else if (s == "TLE")
c++;
else if (s == "RE")
d++;
}
cout << "AC ... | [
"literal.string.change",
"io.output.change"
] | 321,482 | 321,483 | u146498567 | cpp |
p02613 | #include <algorithm>
#include <assert.h>
#include <cmath>
#include <cstdio>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <unordered_map>
#include <vector>
#defi... | #include <algorithm>
#include <assert.h>
#include <cmath>
#include <cstdio>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <unordered_map>
#include <vector>
#defi... | [
"literal.string.change",
"io.output.change"
] | 321,495 | 321,496 | u163525690 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int a = 0, b = 0, c = 0, d = 0;
string p = "AC", q = "WA", r = "TLE", s1 = "TLE";
while (n--) {
string s;
cin >> s;
if (s.compare(p) == 0)
a++;
else if (s.compare(q) == 0)
b++;
else if (s.compare(r) ==... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int a = 0, b = 0, c = 0, d = 0;
string p = "AC", q = "WA", r = "TLE", s1 = "RE";
while (n--) {
string s;
cin >> s;
if (s.compare(p) == 0)
a++;
else if (s.compare(q) == 0)
b++;
else if (s.compare(r) == ... | [
"literal.string.change",
"variable_declaration.value.change"
] | 321,499 | 321,500 | u800390133 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define ll long long int
#define ff first
#define ss second
#define pi pair<ll, ll>
int main() {
ll n;
cin >> n;
map<string, ll> mp;
string s;
for (int i = 0; i < n; i++) {
cin >> s;
mp[s]++;
}
cout << "AC X " << mp["AC"] << "\... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define ll long long int
#define ff first
#define ss second
#define pi pair<ll, ll>
int main() {
ll n;
cin >> n;
map<string, ll> mp;
string s;
for (int i = 0; i < n; i++) {
cin >> s;
mp[s]++;
}
cout << "AC x " << mp["AC"] << "\... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,515 | 321,516 | u909117373 | cpp |
p02613 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define ull unsigned long long int
#define ll long long int
#define pb push_back
#define pii pair<int, int>
#define F first
#define S second
#define vi vector<int>
#define vli vector<ll>
#define vii vector... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define ull unsigned long long int
#define ll long long int
#define pb push_back
#define pii pair<int, int>
#define F first
#define S second
#define vi vector<int>
#define vli vector<ll>
#define vii vector... | [
"literal.string.change",
"io.output.change"
] | 321,517 | 321,518 | u525027406 | cpp |
p02613 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define ull unsigned long long int
#define ll long long int
#define pb push_back
#define pii pair<int, int>
#define F first
#define S second
#define vi vector<int>
#define vli vector<ll>
#define vii vector... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define ull unsigned long long int
#define ll long long int
#define pb push_back
#define pii pair<int, int>
#define F first
#define S second
#define vi vector<int>
#define vli vector<ll>
#define vii vector... | [
"literal.string.change",
"io.output.change",
"expression.operation.binary.remove"
] | 321,519 | 321,518 | u525027406 | cpp |
p02613 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
const int MAX_N = int(1e6) + 10;
const long long int MOD = 1e9 + 7;
const long long int INF = 1e18;
typedef long long int ll;
typedef unsigned long long int llu;
inline ll ... |
#include <algorithm>
#include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
const int MAX_N = int(1e6) + 10;
const long long int MOD = 1e9 + 7;
const long long int INF = 1e18;
typedef long long int ll;
typedef unsigned long long int llu;
inline ll ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,520 | 321,521 | u899316634 | cpp |
p02613 | #include <iostream>
#include <map>
using namespace std;
int main() {
int frek[4] = {0};
int N;
cin >> N;
for (int i = 0; i < N; i++) {
string s;
cin >> s;
if (s == "AC")
++frek[0];
if (s == "WA")
++frek[1];
if (s == "TLE")
++frek[2];
if (s == "RTE")
++frek[3];
}... | #include <iostream>
#include <map>
using namespace std;
int main() {
int frek[4] = {0};
int N;
cin >> N;
for (int i = 0; i < N; i++) {
string s;
cin >> s;
if (s == "AC")
++frek[0];
if (s == "WA")
++frek[1];
if (s == "TLE")
++frek[2];
if (s == "RE")
++frek[3];
}
... | [
"literal.string.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 321,524 | 321,525 | u525379566 | cpp |
p02613 | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
int cntac = 0, cntwa = 0, cnttl = 0, cntre = 0;
for (int i = 0; i < N; i++) {
string s;
cin >> s;
if (s == "AC")
cntac++;
else if (s == "WA")
cntwa++;
else if (s == "TLE")
... | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int N;
cin >> N;
int cntac = 0, cntwa = 0, cnttl = 0, cntre = 0;
for (int i = 0; i < N; i++) {
string s;
cin >> s;
if (s == "AC")
cntac++;
else if (s == "WA")
cntwa++;
else if (s == "TLE")
... | [
"literal.string.change",
"io.output.change"
] | 321,526 | 321,527 | u503221936 | cpp |
p02613 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define all(x) (x).begin(), (x).end()
#define ub upper_bound
#define lb lower_bound
#define ins insert
#define int long long
#define endl '\n'
#define ff first
#define ss second
#define ull unsigned long l... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define all(x) (x).begin(), (x).end()
#define ub upper_bound
#define lb lower_bound
#define ins insert
#define int long long
#define endl '\n'
#define ff first
#define ss second
#define ull unsigned long l... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,534 | 321,535 | u565501379 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int t = 0;
cin >> t;
int arr[4] = {0, 0, 0, 0};
while (t--) {
string s;
cin >> s;
switch (s[0]) {
case 'A':
arr[0]++;
break;
case 'W':
arr[1]++;
break;
case 'T':
arr[2]++;
break;
case 'R':
... | #include <iostream>
using namespace std;
int main() {
int t = 0;
cin >> t;
int arr[4] = {0, 0, 0, 0};
while (t--) {
string s;
cin >> s;
switch (s[0]) {
case 'A':
arr[0]++;
break;
case 'W':
arr[1]++;
break;
case 'T':
arr[2]++;
break;
case 'R':
... | [
"literal.string.change",
"io.output.change"
] | 321,536 | 321,537 | u140220421 | cpp |
p02613 | #include <bits/stdc++.h>
#define REPI(x) for (int i = 0; i < x; i++)
#define REPJ(x) for (int j = 0; j < x; j++)
#define REPISE (s, e) for (int i = s, i < e; i++)
#define REPJSE (s, e) for (int j = s, j < e; j++)
using namespace std;
int main() {
int acnum, wanum, tlenum, renum, N;
string b;
acnum = 0;
wan... | #include <bits/stdc++.h>
#define REPI(x) for (int i = 0; i < x; i++)
#define REPJ(x) for (int j = 0; j < x; j++)
#define REPISE (s, e) for (int i = s, i < e; i++)
#define REPJSE (s, e) for (int j = s, j < e; j++)
using namespace std;
int main() {
int acnum, wanum, tlenum, renum, N;
string b;
acnum = 0;
wan... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 321,538 | 321,539 | u429526425 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll n;
cin >> n;
map<string, int> mp;
for (ll i = 0; i < n; i++) {
string x;
cin >> x;
mp[x]++;
cout << "AC"
<< " X " << mp["AC"] << endl;
cout << "WA"
<< " X " << mp["WA"] << endl;
cou... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll n;
cin >> n;
map<string, int> mp;
for (ll i = 0; i < n; i++) {
string x;
cin >> x;
mp[x]++;
}
cout << "AC"
<< " x " << mp["AC"] << endl;
cout << "WA"
<< " x " << mp["WA"] << endl;
cout << "T... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,540 | 321,541 | u618433411 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
long long n, test, p[4];
string s, st[4];
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
// cin>>test;
test = 1;
st[0] = "AC";
st[1] = "WA";
st[2] = "TLE";
st[3] = "RE";
while (test--) {
cin >> n;
for (int i = 1; i <= n; i++) {
cin >... | #include <bits/stdc++.h>
using namespace std;
long long n, test, p[4];
string s, st[4];
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
// cin>>test;
test = 1;
st[0] = "AC";
st[1] = "WA";
st[2] = "TLE";
st[3] = "RE";
while (test--) {
cin >> n;
for (int i = 1; i <= n; i++) {
cin >... | [
"literal.string.change",
"io.output.change"
] | 321,543 | 321,544 | u512805100 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(a) (long long)((a).size())
const double pi = 3.14159265358979323846;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
ll n;
cin >> n;
ll i, j;
v... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(a) (long long)((a).size())
const double pi = 3.14159265358979323846;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
ll n;
cin >> n;
ll i, j;
v... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,546 | 321,547 | u228402731 | 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, \
... | [
"literal.string.change",
"io.output.change"
] | 321,552 | 321,553 | u391366254 | cpp |
p02613 | using namespace std;
#include <bits/stdc++.h>
#define pb push_back
#define mk make_pair
#define vect vector<ll>
#define maap map<ll, ll>
#define MOD 1000000007
#define mit map::iterator
#define pii pair<ll, ll>
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define fast ... | using namespace std;
#include <bits/stdc++.h>
#define pb push_back
#define mk make_pair
#define vect vector<ll>
#define maap map<ll, ll>
#define MOD 1000000007
#define mit map::iterator
#define pii pair<ll, ll>
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define fast ... | [
"literal.string.change",
"io.output.change"
] | 321,559 | 321,560 | u379844185 | cpp |
p02613 | using namespace std;
#include <bits/stdc++.h>
#define pb push_back
#define mk make_pair
#define vect vector<ll>
#define maap map<ll, ll>
#define MOD 1000000007
#define mit map::iterator
#define pii pair<ll, ll>
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define fast ... | using namespace std;
#include <bits/stdc++.h>
#define pb push_back
#define mk make_pair
#define vect vector<ll>
#define maap map<ll, ll>
#define MOD 1000000007
#define mit map::iterator
#define pii pair<ll, ll>
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define fast ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,561 | 321,560 | u379844185 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
map<string, int> mp;
while (n--) {
string s;
cin >> s;
mp[s]++;
}
cout << "AC * " << mp["AC"] << endl;
cout << "WA * " << mp["WA"] << endl;
cout << "TLE * " << mp["TLE"] << endl;
cout << "RE * " << mp["RE"] << e... | #include <bits/stdc++.h>
using namespace std;
int main() {
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["WA"] << endl;
cout << "TLE x " << mp["TLE"] << endl;
cout << "RE x " << mp["RE"] << e... | [
"literal.string.change",
"io.output.change"
] | 321,566 | 321,567 | u564843244 | cpp |
p02613 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <iostream>
using namespace __gnu_pbds;
using namespace std;
// Declaring ordered_set
typedef tree<long long int, null_type, less<long long int>, rb_tree_tag,
tree_order_sta... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <iostream>
using namespace __gnu_pbds;
using namespace std;
// Declaring ordered_set
typedef tree<long long int, null_type, less<long long int>, rb_tree_tag,
tree_order_sta... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 321,568 | 321,569 | u422347032 | cpp |
p02613 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <iostream>
using namespace __gnu_pbds;
using namespace std;
// Declaring ordered_set
typedef tree<long long int, null_type, less<long long int>, rb_tree_tag,
tree_order_sta... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <iostream>
using namespace __gnu_pbds;
using namespace std;
// Declaring ordered_set
typedef tree<long long int, null_type, less<long long int>, rb_tree_tag,
tree_order_sta... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove",
"identifier.change"
] | 321,570 | 321,569 | u422347032 | cpp |
p02613 | #include <bits/stdc++.h>
#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, \
tree_order_statisti... | #include <bits/stdc++.h>
#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, \
tree_order_statisti... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,573 | 321,574 | u913893102 | cpp |
p02613 | using namespace std;
#include <bits/stdc++.h>
#define fdto(i, r, l) for (int i = r; i >= l; --i)
#define fto(i, l, r) for (int i = l; i <= r; ++i)
#define forit(it, type, var) \
for (type::iterator it = var.begin(); it != var.end(); it++)
#define ii pair<int, int>
#de... | using namespace std;
#include <bits/stdc++.h>
#define fdto(i, r, l) for (int i = r; i >= l; --i)
#define fto(i, l, r) for (int i = l; i <= r; ++i)
#define forit(it, type, var) \
for (type::iterator it = var.begin(); it != var.end(); it++)
#define ii pair<int, int>
#de... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,577 | 321,578 | u363020686 | 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;
string s;
while (n) {
cin >> s;
m[s]++;
n--;
}
cout << "AC X " << m["AC"] << endl;
cout << "WA X " << m["WA"] << endl;
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;
string s;
while (n) {
cin >> s;
m[s]++;
n--;
}
cout << "AC x " << m["AC"] << endl;
cout << "WA x " << m["WA"] << endl;
cout << "TLE ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,585 | 321,586 | u198738430 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int n;
int main() {
cin >> n;
string s;
int ans[4];
for (int i = 0; i < 4; i++)
ans[i] = 0;
for (int i = 0; i < n; i++) {
cin >> s;
if (s == "AC") {
ans[0]++;
} else if (s == "WA") {
ans[1]++;
} else if (s == "TLE") {
ans[2]... | #include <bits/stdc++.h>
using namespace std;
int n;
int main() {
cin >> n;
string s;
int ans[4];
for (int i = 0; i < 4; i++)
ans[i] = 0;
for (int i = 0; i < n; i++) {
cin >> s;
if (s == "AC") {
ans[0]++;
} else if (s == "WA") {
ans[1]++;
} else if (s == "TLE") {
ans[2]... | [
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change",
"literal.string.change"
] | 321,587 | 321,588 | u449303900 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define ini(a, i) memset(a, i, sizeof(a))
#define pb push_back
#define ll int64_t
#define inf LLONG_MAX
void solve() {
ll n, i;
cin >> n;
map<string, ll> f;
for (i = 0; i < n; i++) {
string str;
cin >> str;
f[str]++;
}
cout << ... | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define ini(a, i) memset(a, i, sizeof(a))
#define pb push_back
#define ll int64_t
#define inf LLONG_MAX
void solve() {
ll n, i;
cin >> n;
map<string, ll> f;
for (i = 0; i < n; i++) {
string str;
cin >> str;
f[str]++;
}
cout << ... | [
"literal.string.change",
"io.output.change"
] | 321,589 | 321,590 | u943964167 | cpp |
p02613 | #include <iostream>
#include <iterator>
#include <unordered_map>
using namespace std;
int main() {
int n;
cin >> n;
unordered_map<string, int> arr;
arr.insert(make_pair("AC", 0));
arr.insert(make_pair("WA", 0));
arr.insert(make_pair("TLE", 0));
arr.insert(make_pair("RE", 0));
string a;
for (int i = ... | #include <iostream>
#include <iterator>
#include <unordered_map>
using namespace std;
int main() {
int n;
cin >> n;
unordered_map<string, int> arr;
arr.insert(make_pair("AC", 0));
arr.insert(make_pair("WA", 0));
arr.insert(make_pair("TLE", 0));
arr.insert(make_pair("RE", 0));
string a;
for (int i = ... | [
"literal.string.change",
"io.output.change"
] | 321,593 | 321,594 | u711825899 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string result;
map<string, int> mp;
for (int i = 0; i < n; i++) {
cin >> result;
mp[result]++;
}
cout << "AC x " << mp["AC"] << endl;
cout << "WA x " << mp["WA"] << endl;
cout << "TLE x " << mp["TLE"] << endl;
co... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string result;
map<string, int> mp;
for (int i = 0; i < n; i++) {
cin >> result;
mp[result]++;
}
cout << "AC x " << mp["AC"] << endl;
cout << "WA x " << mp["WA"] << endl;
cout << "TLE x " << mp["TLE"] << endl;
co... | [
"literal.string.change",
"io.output.change",
"variable_access.subscript.index.change"
] | 321,597 | 321,598 | u685233906 | cpp |
p02613 | #include <bits/stdc++.h>
#define int long long int
using namespace std;
int32_t main() {
int n;
cin >> n;
string s;
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;
if (mp.find(s) != mp.end())
mp[s]++;
}
cout << "A... | #include <bits/stdc++.h>
#define int long long int
using namespace std;
int32_t main() {
int n;
cin >> n;
string s;
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;
if (mp.find(s) != mp.end())
mp[s]++;
}
cout << "A... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,601 | 321,602 | u541462549 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
string s1 = "AC", s2 = "WA", s3 = "TLE", s4 = "RE";
string s[n];
int i, c1 = 0, c2 = 0, c3 = 0, c4 = 0;
for (i = 0; i < n; i++) {
cin >> s[i];
if (s[i] == s1)
c1++;
else if (s[i] == s2)
c2++;
else if (s[i] ==... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
string s1 = "AC", s2 = "WA", s3 = "TLE", s4 = "RE";
string s[n];
int i, c1 = 0, c2 = 0, c3 = 0, c4 = 0;
for (i = 0; i < n; i++) {
cin >> s[i];
if (s[i] == s1)
c1++;
else if (s[i] == s2)
c2++;
else if (s[i] ==... | [
"literal.string.change",
"io.output.change"
] | 321,607 | 321,608 | u647010562 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
string s1 = "AC", s2 = "WA", s3 = "TLE", s4 = "RE";
string s[n];
int i, c1 = 0, c2 = 0, c3 = 0, c4 = 0;
for (i = 0; i < n; i++) {
cin >> s[i];
if (s[i] == s1)
c1++;
else if (s[i] == s2)
c2++;
else if (s[i] ==... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
string s1 = "AC", s2 = "WA", s3 = "TLE", s4 = "RE";
string s[n];
int i, c1 = 0, c2 = 0, c3 = 0, c4 = 0;
for (i = 0; i < n; i++) {
cin >> s[i];
if (s[i] == s1)
c1++;
else if (s[i] == s2)
c2++;
else if (s[i] ==... | [
"literal.string.change",
"io.output.change"
] | 321,609 | 321,608 | u647010562 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, i, j, ac, wa, tle, re;
scanf("%d", &n);
char s[10001];
int l = strlen(s);
ac = wa = tle = re = 0;
for (i = 0; i < n; i++) {
scanf("%s", s);
if (strcmp(s, "AC") == 0)
ac++;
else if (strcmp(s, "WA") == 0)
wa++;
els... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, i, j, ac, wa, tle, re;
scanf("%d", &n);
char s[10001];
int l = strlen(s);
ac = wa = tle = re = 0;
for (i = 0; i < n; i++) {
scanf("%s", s);
if (strcmp(s, "AC") == 0)
ac++;
else if (strcmp(s, "WA") == 0)
wa++;
els... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove"
] | 321,610 | 321,611 | u261302341 | cpp |
p02613 | #include <bits/stdc++.h>
#define int long long
using namespace std;
int32_t main() {
int n;
cin >> n;
string s;
map<string, int> m;
m["AC"] = 0;
m["WA"] = 0;
m["TLE"] = 0;
m["RE"] = 0;
while (n--) {
cin >> s;
m[s]++;
}
cout << "AC"
<< " x " << m["AC"] << endl;
cout << "WA"
... | #include <bits/stdc++.h>
#define int long long
using namespace std;
int32_t main() {
int n;
cin >> n;
string s;
map<string, int> m;
m["AC"] = 0;
m["WA"] = 0;
m["TLE"] = 0;
m["RE"] = 0;
while (n--) {
cin >> s;
m[s]++;
}
cout << "AC"
<< " x " << m["AC"] << endl;
cout << "WA"
... | [
"literal.string.change",
"io.output.change"
] | 321,612 | 321,613 | u013090630 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, c0 = 0, c1 = 0, c2 = 0, c3 = 0;
cin >> n;
string s;
while (n--) {
cin >> s;
if (s == "AC")
c0++;
else if (s == "WA")
c1++;
else if (s == "TLE")
c2++;
else
c3++;
}
cout << "AC X " << c0 << "\nWA X " ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, c0 = 0, c1 = 0, c2 = 0, c3 = 0;
cin >> n;
string s;
while (n--) {
cin >> s;
if (s == "AC")
c0++;
else if (s == "WA")
c1++;
else if (s == "TLE")
c2++;
else
c3++;
}
cout << "AC x " << c0 << "\nWA x " ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,619 | 321,620 | u307793792 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, i;
scanf("%d", &n);
// vector<string>v;
int ac = 0, wa = 0, tle = 0, re = 0;
for (i = 0; i < n; i++) {
string temp;
cin >> temp;
if (temp == "AC") {
ac++;
} else if (temp == "WA") {
wa++;
} else if (temp == "TLE... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, i;
scanf("%d", &n);
// vector<string>v;
int ac = 0, wa = 0, tle = 0, re = 0;
for (i = 0; i < n; i++) {
string temp;
cin >> temp;
if (temp == "AC") {
ac++;
} else if (temp == "WA") {
wa++;
} else if (temp == "TLE... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 321,623 | 321,624 | u783153555 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
void solve() {
int n;
string s;
map<string, int> mp;
for (int i = 0; i < n; i++) {
cin >> s;
mp[s]++;
}
cout << "AC x " << mp["AC"] << "\n";
cout << "WA x " << mp["WA"] << "\n";
cout << "TLE x " << mp["TLE"] << "\n";
cout << "RE x " << mp["RE"] <<... | #include <bits/stdc++.h>
using namespace std;
void solve() {
int n;
string s;
cin >> n;
map<string, int> mp;
for (int i = 0; i < n; i++) {
cin >> s;
mp[s]++;
}
cout << "AC x " << mp["AC"] << "\n";
cout << "WA x " << mp["WA"] << "\n";
cout << "TLE x " << mp["TLE"] << "\n";
cout << "RE x " <<... | [] | 321,625 | 321,626 | u458748702 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long int
#define fast \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long int
#define fast \
ios_base::sync_with_stdio(0); \
cin.tie(0); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,627 | 321,628 | u817346511 | 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;
// template <typename T, typename cmp=less<T>> using oset =tree<T, null_type,
// cmp, rb_... | /* ꧁༒☬महाकाल☬༒꧂ ꧁༒ঔमहाकालঔ༒꧂
ঔৣमहाकालᴳᵒᵈঔৣ
*/
#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;
// template <typename T, typename cmp=less<T>> using oset =tree<T, null_type,
// cmp, rb_... | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 321,633 | 321,634 | u364129544 | cpp |
p02613 | #include "bits/stdc++.h"
using namespace std;
#define LOCAL // sumbit source code
#define print_vec(v) \
for (auto row : v) { \
for (auto d : v) { ... | #include "bits/stdc++.h"
using namespace std;
#define LOCAL // sumbit source code
#define print_vec(v) \
for (auto row : v) { \
for (auto d : v) { ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,635 | 321,636 | u005039821 | cpp |
p02613 | #include <cctype>
#include <iomanip>
#include <iostream>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int n, t = 0, t2 = 0, t3 = 0, t4 = 0;
cin >> n;
while (n--) {
string s;
cin >> s;
if (s == "AC")
t++;
else if (s == "TLE")
t2++;
else i... | #include <cctype>
#include <iomanip>
#include <iostream>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int n, t = 0, t2 = 0, t3 = 0, t4 = 0;
cin >> n;
while (n--) {
string s;
cin >> s;
if (s == "AC")
t++;
else if (s == "TLE")
t2++;
else i... | [
"literal.string.change",
"io.output.change"
] | 321,637 | 321,638 | u884242878 | cpp |
p02613 | #include <bits/stdc++.h>
#include <complex.h>
#include <ext/pb_ds/assoc_container.hpp> //required
#include <ext/pb_ds/tree_policy.hpp>
#include <iostream>
#include <math.h>
#define ll long long int
using namespace std;
#define int ll
// fendwick tree
//#include <ext / pb_ds / assoc_container.hpp> //required
//#include ... | #include <bits/stdc++.h>
#include <complex.h>
#include <ext/pb_ds/assoc_container.hpp> //required
#include <ext/pb_ds/tree_policy.hpp>
#include <iostream>
#include <math.h>
#define ll long long int
using namespace std;
#define int ll
// fendwick tree
//#include <ext / pb_ds / assoc_container.hpp> //required
//#include ... | [
"literal.string.change",
"io.output.change"
] | 321,645 | 321,646 | u201965173 | cpp |
p02613 | #include <bits/stdc++.h>
#include <complex.h>
#include <ext/pb_ds/assoc_container.hpp> //required
#include <ext/pb_ds/tree_policy.hpp>
#include <iostream>
#include <math.h>
#define ll long long int
using namespace std;
#define int ll
// fendwick tree
//#include <ext / pb_ds / assoc_container.hpp> //required
//#include ... | #include <bits/stdc++.h>
#include <complex.h>
#include <ext/pb_ds/assoc_container.hpp> //required
#include <ext/pb_ds/tree_policy.hpp>
#include <iostream>
#include <math.h>
#define ll long long int
using namespace std;
#define int ll
// fendwick tree
//#include <ext / pb_ds / assoc_container.hpp> //required
//#include ... | [
"literal.string.change",
"io.output.change"
] | 321,647 | 321,646 | u201965173 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
// ios_base::sync_with_stdio(false);
// cin.tie(NULL);
int t = 1;
// cin>>t;
while (t--) {
string str1 = "WA", str2 = "AC", str3 = "TLE", str4 = "RE";
ll n;
cin >> n;
string str;
ll count1 = 0, count2 = 0, co... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
// ios_base::sync_with_stdio(false);
// cin.tie(NULL);
int t = 1;
// cin>>t;
while (t--) {
string str1 = "WA", str2 = "AC", str3 = "TLE", str4 = "RE";
ll n;
cin >> n;
string str;
ll count1 = 0, count2 = 0, co... | [
"identifier.change",
"io.output.change"
] | 321,648 | 321,649 | u931098924 | cpp |
p02613 | #include <bits/stdc++.h>
#include <string>
#include <vector>
using namespace std;
#define l long long
#define pb push_back
#define mem(a, n) memset(a, n, sizeof(a))
#define find(v, n) find(v.begin(), v.end(), n)
#define sort1(v) sort(v.begin(), v.end())
#define lb(v, n) lower_bound(v.begin(), v.end(), n) - v.begin()
#d... | #include <bits/stdc++.h>
#include <string>
#include <vector>
using namespace std;
#define l long long
#define pb push_back
#define mem(a, n) memset(a, n, sizeof(a))
#define find(v, n) find(v.begin(), v.end(), n)
#define sort1(v) sort(v.begin(), v.end())
#define lb(v, n) lower_bound(v.begin(), v.end(), n) - v.begin()
#d... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,652 | 321,653 | u269804852 | cpp |
p02613 | #include <stdio.h>
int main() {
int c[4] = {
0,
};
int t;
scanf("%d", &t);
while (t--) {
char s[100];
scanf("%s", s);
if (s[0] == 'A')
c[0]++;
if (s[1] == 'W')
c[1]++;
if (s[2] == 'T')
c[2]++;
if (s[3] == 'R')
c[3]++;
}
printf("AC x %d\n", c[0]);
pr... | #include <stdio.h>
int main() {
int c[4] = {
0,
};
int t;
scanf("%d", &t);
while (t--) {
char s[100];
scanf("%s", s);
if (s[0] == 'A')
c[0]++;
if (s[0] == 'W')
c[1]++;
if (s[0] == 'T')
c[2]++;
if (s[0] == 'R')
c[3]++;
}
printf("AC x %d\n", c[0]);
pr... | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 321,654 | 321,655 | u233632872 | cpp |
p02613 | #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;
#define AB_BHI_NI_DEGI \
ios_base::sync_with_stdio(false); \
cin.... | #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;
#define AB_BHI_NI_DEGI \
ios_base::sync_with_stdio(false); \
cin.... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 321,656 | 321,657 | u637142716 | cpp |
p02613 | #include <bits/stdc++.h>
#include <iostream>
#define ll long long
#define pb push_back
using namespace std;
/*ll ceilVal(ll a,ll b)
{
return (a / b) + ((a % b) != 0);
}
vector<ll> adj[1000000] ;
ll vis[1000000]={0} ;
void dfs(ll w)
{
vis[w] = 1;
for(ll u=0;u<adj[w].size();u++)
{
if(!vis[adj[w][u]])
... | #include <bits/stdc++.h>
#include <iostream>
#define ll long long
#define pb push_back
using namespace std;
/*ll ceilVal(ll a,ll b)
{
return (a / b) + ((a % b) != 0);
}
vector<ll> adj[1000000] ;
ll vis[1000000]={0} ;
void dfs(ll w)
{
vis[w] = 1;
for(ll u=0;u<adj[w].size();u++)
{
if(!vis[adj[w][u]])
... | [
"literal.string.change",
"io.output.change"
] | 321,668 | 321,669 | u199495810 | cpp |
p02613 | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <chrono>
#include <cmath>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stack>
#include <th... | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <chrono>
#include <cmath>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stack>
#include <th... | [
"variable_declaration.value.change"
] | 321,678 | 321,679 | u654974199 | cpp |
p02613 |
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
typedef long long ll;
typedef double db;
const ll mod = 10000... |
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
typedef long long ll;
typedef double db;
const ll mod = 10000... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,680 | 321,681 | u724767603 | cpp |
p02613 | /*
Jai Shree Krishna !!
Radhe Radhe !!
उद्यमेन हि सिद्ध्यन्ति कार्याणि न मनोरथैः। नहि सुप्तस्य सिंहस्य मुखे प्रविशन्ति
मृगाः।।
*/
#include <bits/stdc++.h>
using namespace std;
#define int long long
typedef long long ll;
#define loop(i, ... | /*
Jai Shree Krishna !!
Radhe Radhe !!
उद्यमेन हि सिद्ध्यन्ति कार्याणि न मनोरथैः। नहि सुप्तस्य सिंहस्य मुखे प्रविशन्ति
मृगाः।।
*/
#include <bits/stdc++.h>
using namespace std;
#define int long long
typedef long long ll;
#define loop(i, ... | [
"literal.string.change",
"io.output.change"
] | 321,684 | 321,685 | u985702351 | cpp |
p02613 | #include <bits/stdc++.h>
#define LETSGO \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define all(x) (x).begin(), (x).end()... | #include <bits/stdc++.h>
#define LETSGO \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define all(x) (x).begin(), (x).end()... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,686 | 321,687 | u215674898 | cpp |
p02613 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
typedef long long ll;
typedef short int sh;
const int inf = 0x3f3f3f3f;
const int MAX = 2e5 + 10;
const int mod = 1e9 + 7;
char judge[4][5] = {"AC"... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
typedef long long ll;
typedef short int sh;
const int inf = 0x3f3f3f3f;
const int MAX = 2e5 + 10;
const int mod = 1e9 + 7;
char judge[4][5] = {"AC"... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 321,690 | 321,691 | u280276822 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pi acos(-1)
int main() {
int c = 0, c1 = 0, c2 = 0, c3 = 0;
int t;
cin >> t;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
c++;
}
if (s == "WA") {
c1++;
}
if (s == "TLE") {
c2++;
}... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pi acos(-1)
int main() {
int c = 0, c1 = 0, c2 = 0, c3 = 0;
int t;
cin >> t;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
c++;
}
if (s == "WA") {
c1++;
}
if (s == "TLE") {
c2++;
}... | [
"identifier.change"
] | 321,696 | 321,695 | u446732668 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pi acos(-1)
int main() {
ll c = 0, c1 = 0, c2 = 0, c3 = 0;
ll t;
cin >> t;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
c++;
}
if (s == "WA") {
c1++;
}
if (s == "TLE") {
c2++;
}
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pi acos(-1)
int main() {
ll c = 0, c1 = 0, c2 = 0, c3 = 0;
ll t;
cin >> t;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
c++;
}
if (s == "WA") {
c1++;
}
if (s == "TLE") {
c2++;
}
... | [
"identifier.change"
] | 321,694 | 321,697 | u446732668 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pi acos(-1)
int main() {
int c = 0, c1 = 0, c2 = 0, c3 = 0;
int t;
cin >> t;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
c++;
}
if (s == "WA") {
c1++;
}
if (s == "TLE") {
c2++;
}... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pi acos(-1)
int main() {
ll c = 0, c1 = 0, c2 = 0, c3 = 0;
ll t;
cin >> t;
while (t--) {
string s;
cin >> s;
if (s == "AC") {
c++;
}
if (s == "WA") {
c1++;
}
if (s == "TLE") {
c2++;
}
... | [
"variable_declaration.type.change",
"identifier.change"
] | 321,696 | 321,697 | u446732668 | cpp |
p02613 | #include <iostream>
#include <vector>
using namespace std;
int main() {
int t, ac = 0, wa = 0, tle = 0, re = 0;
string st;
cin >> t;
vector<string> str;
for (int i = 0; i < t; i++) {
cin >> st;
str.push_back(st);
}
for (int i = 0; i < str.size(); i++) {
if (str[i] == "AC") {
ac++;
... | #include <iostream>
#include <vector>
using namespace std;
int main() {
int t, ac = 0, wa = 0, tle = 0, re = 0;
string st;
cin >> t;
vector<string> str;
for (int i = 0; i < t; i++) {
cin >> st;
str.push_back(st);
}
for (int i = 0; i < str.size(); i++) {
if (str[i] == "AC") {
ac++;
... | [
"literal.string.change",
"io.output.change"
] | 321,700 | 321,701 | u746417710 | cpp |
p02613 | #include <algorithm>
#include <iostream>
#define ll long long
using namespace std;
int main() {
ll n;
cin >> n;
ll count1 = 0, count2 = 0, count3 = 0, count4 = 0;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "AC") {
count1++;
} else if (s == "WA") {
count2++;
} else ... | #include <algorithm>
#include <iostream>
#define ll long long
using namespace std;
int main() {
ll n;
cin >> n;
ll count1 = 0, count2 = 0, count3 = 0, count4 = 0;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "AC") {
count1++;
} else if (s == "WA") {
count2++;
} else ... | [
"literal.string.change",
"io.output.change"
] | 321,702 | 321,703 | u294125829 | cpp |
p02613 | #include <algorithm>
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
#define all(obj) (obj).begin(), (obj).end()
using namespace std;
typedef long long ll;
long long GCD(long long x, long long y) { return y ? GCD(y, x % y) : x; }
int main() {
int N;
cin >> N;
map<string, int> mp;
mp["AC"... | #include <algorithm>
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
#define all(obj) (obj).begin(), (obj).end()
using namespace std;
typedef long long ll;
long long GCD(long long x, long long y) { return y ? GCD(y, x % y) : x; }
int main() {
int N;
cin >> N;
map<string, int> mp;
mp["AC"... | [
"literal.string.change",
"io.output.change"
] | 321,704 | 321,705 | u941353203 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int ac = 0;
int tle = 0;
int re = 0;
int wa = 0;
string p;
while (n--) {
cin >> p;
if (p == "AC") {
ac++;
} else if (p == "TLE") {
tle++;
} else if (p == "WA") {
wa++;
} else {
re++;
... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int ac = 0;
int tle = 0;
int re = 0;
int wa = 0;
string p;
while (n--) {
cin >> p;
if (p == "AC") {
ac++;
} else if (p == "TLE") {
tle++;
} else if (p == "WA") {
wa++;
} else {
re++;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,710 | 321,711 | u037221091 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
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 == "AC")
ac++;
if (s == "WA")
wa++;
if (s == "TLE")
tle++;
if (s == "RE")
r... | #include <bits/stdc++.h>
using namespace std;
int main() {
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 == "AC")
ac++;
if (s == "WA")
wa++;
if (s == "TLE")
tle++;
if (s == "RE")
r... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,712 | 321,713 | u497321983 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,724 | 321,725 | u206296517 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define FOR(i, a, n) for (int i = a; i < n; i++)
#define mp make_pair
#define RFOR(i, a, n) for (int i = n; i > a; i--)
#define pii pair<long long int, long long int>
#define ub upper_bound
#define lb lower_bound
#define MOD 1000000007
typedef long long... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define FOR(i, a, n) for (int i = a; i < n; i++)
#define mp make_pair
#define RFOR(i, a, n) for (int i = n; i > a; i--)
#define pii pair<long long int, long long int>
#define ub upper_bound
#define lb lower_bound
#define MOD 1000000007
typedef long long... | [
"literal.string.change",
"io.output.change"
] | 321,730 | 321,731 | u411604061 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int 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 " << m["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 " <... | [] | 321,732 | 321,733 | u677657107 | 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() {
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 ll = long long;
using P = pair<int, int>;
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 <<... | [] | 321,734 | 321,735 | u713178565 | 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() {
int n;
cin >> n;
string s;
map<string, int> cnt;
rep(i, n) {
string s;
cin >> s;
cnt[s]++;
for (string s : {"AC", "WA", "TLE", "RE"}) {
... | #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() {
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 <<... | [
"variable_declaration.remove"
] | 321,736 | 321,735 | u713178565 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define gap ' '
#define L(i) ((i) - (&i))
const ll inf = 1e9 + 7;
const int MAXN = 2 * 1e5 + 10;
int main() {
int n;
cin >> n;
int W = 0, A = 0, T = 0, R = 0;
for (int i = 0; i < n; ++i) {
string t;
cin >> t;... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define gap ' '
#define L(i) ((i) - (&i))
const ll inf = 1e9 + 7;
const int MAXN = 2 * 1e5 + 10;
int main() {
int n;
cin >> n;
int W = 0, A = 0, T = 0, R = 0;
for (int i = 0; i < n; ++i) {
string t;
cin >> t;... | [
"literal.string.change",
"io.output.change"
] | 321,737 | 321,738 | u577511087 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define gap ' '
#define L(i) ((i) - (&i))
const ll inf = 1e9 + 7;
const int MAXN = 2 * 1e5 + 10;
int main() {
int n;
cin >> n;
int W = 0, A = 0, T = 0, R = 0;
for (int i = 0; i < n; ++i) {
string t;
cin >> t;... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define gap ' '
#define L(i) ((i) - (&i))
const ll inf = 1e9 + 7;
const int MAXN = 2 * 1e5 + 10;
int main() {
int n;
cin >> n;
int W = 0, A = 0, T = 0, R = 0;
for (int i = 0; i < n; ++i) {
string t;
cin >> t;... | [
"literal.string.change",
"io.output.change"
] | 321,739 | 321,738 | u577511087 | cpp |
p02613 | /*
AUTHOR : Ankit Kumar
BRANCH : Information Technology
INSTITUTE : Birla Institute of Technology
*/
#include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(0); ... | /*
AUTHOR : Ankit Kumar
BRANCH : Information Technology
INSTITUTE : Birla Institute of Technology
*/
#include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(0); ... | [
"literal.string.change",
"io.output.change"
] | 321,740 | 321,741 | u225609557 | cpp |
p02613 | // SAIKH SERAJ FAHIM, CSE-19-HSTU, BANGLADESH.
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
int n, i, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
cin.ignore();
for (i = 0; i < n; i++) {
getline(cin, s);
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if ... | // SAIKH SERAJ FAHIM, CSE-19-HSTU, BANGLADESH.
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
int n, i, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
cin.ignore();
for (i = 1; i <= n; i++) {
getline(cin, s);
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if... | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change",
"io.... | 321,742 | 321,743 | u280079949 | cpp |
p02613 | // SAIKH SERAJ FAHIM, CSE-19-HSTU, BANGLADESH.
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
int n, i, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
cin.ignore();
for (i = 0; i < n; i++) {
getline(cin, s);
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if ... | // SAIKH SERAJ FAHIM, CSE-19-HSTU, BANGLADESH.
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
int n, i, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
cin.ignore();
for (i = 0; i < n; i++) {
getline(cin, s);
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,742 | 321,744 | u280079949 | cpp |
p02613 | /*
* Name : chaitanya
*
* Institute : ANITS,Visakhapatnam
* "Don't regret anything you do, because in the end it makes you who you
* are."
*
*/
#include <algorithm>
#include <bitset>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>... | /*
* Name : chaitanya
*
* Institute : ANITS,Visakhapatnam
* "Don't regret anything you do, because in the end it makes you who you
* are."
*
*/
#include <algorithm>
#include <bitset>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>... | [
"literal.string.change",
"io.output.change"
] | 321,745 | 321,746 | u022688266 | cpp |
p02613 | #include <algorithm>
#include <cassert>
#include <chrono>
#include <climits>
#include <cmath>
#include <ctime>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <... | #include <algorithm>
#include <cassert>
#include <chrono>
#include <climits>
#include <cmath>
#include <ctime>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,747 | 321,748 | u205473154 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
while (n--) {
string s;
cin >> s;
if (s == "AC") {
ac++;
} else if (s == "WA") {
wa++;
} else if (s == "tle") {
tle++;
} else {
re++;
}
}
printf("A... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, ac = 0, wa = 0, tle = 0, re = 0;
cin >> n;
while (n--) {
string s;
cin >> s;
if (s == "AC") {
ac++;
} else if (s == "WA") {
wa++;
} else if (s == "TLE") {
tle++;
} else {
re++;
}
}
printf("A... | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change"
] | 321,759 | 321,760 | u244637356 | cpp |
p02613 | #include <iostream>
#include <string>
using namespace std;
int main() {
int N;
cin >> N;
int res[4] = {};
string S;
for (int i = 0; i < N; i++) {
cin >> S;
if (S == "AC")
res[0]++;
if (S == "WA")
res[1]++;
if (S == "TLE")
res[2]++;
if (S == "LE")
res[3]++;
}
co... | #include <iostream>
#include <string>
using namespace std;
int main() {
int N;
cin >> N;
int res[4] = {};
string S;
for (int i = 0; i < N; i++) {
cin >> S;
if (S == "AC")
res[0]++;
if (S == "WA")
res[1]++;
if (S == "TLE")
res[2]++;
if (S == "RE")
res[3]++;
}
co... | [
"literal.string.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 321,769 | 321,770 | u317511726 | cpp |
p02613 | using namespace std;
#define ll long long
#include <bits/stdc++.h>
int main() {
ll n;
cin >> n;
ll wa = 0;
ll ac = 0;
ll tle = 0;
ll re = 0;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if (s == "TLE")
tle++;
... | using namespace std;
#define ll long long
#include <bits/stdc++.h>
int main() {
ll n;
cin >> n;
ll wa = 0;
ll ac = 0;
ll tle = 0;
ll re = 0;
for (ll i = 0; i < n; i++) {
string s;
cin >> s;
if (s == "AC")
ac++;
else if (s == "WA")
wa++;
else if (s == "TLE")
tle++;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,773 | 321,774 | u266161549 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
cin.ignore();
int a = 0, w = 0, t = 0, r = 0;
while (n--) {
string st;
getline(cin, st);
if (st == "AC")
a++;
// else if(t=="AC") a++;
else if (st == "WA")
w++;
else if (st == "TLE")
t++;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
while (cin >> n) {
cin.ignore();
int a = 0, w = 0, t = 0, r = 0;
while (n--) {
string st;
getline(cin, st);
if (st == "AC")
a++;
// else if(t=="AC") a++;
else if (st == "WA")
w++;
else i... | [
"literal.string.change",
"io.output.change"
] | 321,786 | 321,787 | u063199948 | cpp |
p02613 | #include <algorithm>
#include <fstream>
#include <iostream>
#include <math.h>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef long double ld;
int ceil(int a, int m) {
// division of a and m
if (a % m == 0) {
return a / m;
} else {
return a / m + 1... | #include <algorithm>
#include <fstream>
#include <iostream>
#include <math.h>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef long double ld;
int ceil(int a, int m) {
// division of a and m
if (a % m == 0) {
return a / m;
} else {
return a / m + 1... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,790 | 321,791 | u226435661 | cpp |
p02613 | #include <bits/stdc++.h>
#include <vector>
using namespace std;
int main() {
vector<string> result;
vector<string> S;
result.push_back("AC");
result.push_back("WA");
result.push_back("TLE");
result.push_back("RE");
int N;
int a = 0, b = 0, c = 0, d = 0;
cin >> N;
string word;
for (int i = 0; i < N... | #include <bits/stdc++.h>
#include <vector>
using namespace std;
int main() {
vector<string> result;
vector<string> S;
result.push_back("AC");
result.push_back("WA");
result.push_back("TLE");
result.push_back("RE");
int N;
int a = 0, b = 0, c = 0, d = 0;
cin >> N;
string word;
for (int i = 0; i < N... | [
"literal.string.change",
"io.output.change"
] | 321,792 | 321,793 | u224182685 | cpp |
p02613 | #include <iostream>
using namespace std;
int main() {
int n, i, a, b, c, d;
a = 0;
b = 0;
c = 0;
d = 0;
cin >> n;
string s[n];
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] =... | #include <iostream>
using namespace std;
int main() {
int n, i, a, b, c, d;
a = 0;
b = 0;
c = 0;
d = 0;
cin >> n;
string s[n];
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] =... | [
"literal.string.change",
"io.output.change"
] | 321,812 | 321,813 | u104116382 | cpp |
p02613 | #include <bits/stdc++.h>
#define int long long
#define pp pair<int, int>
#define ss second
#define ff first
using namespace std;
signed main() {
int t, a = 0, b = 0, c = 0, d = 0;
string s;
// string s1="x";
cin >> t;
for (int i = 0; i < t; i++) {
cin >> s;
if (s == "AC")
a++;
if (s == "TLE... | #include <bits/stdc++.h>
#define int long long
#define pp pair<int, int>
#define ss second
#define ff first
using namespace std;
signed main() {
int t, a = 0, b = 0, c = 0, d = 0;
string s;
// string s1="x";
cin >> t;
for (int i = 0; i < t; i++) {
cin >> s;
if (s == "AC")
a++;
if (s == "TLE... | [] | 321,814 | 321,815 | u395356190 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
int c = 0, c1 = 0, c2 = 0, c3 = 0;
string s[100000];
cin >> t;
for (int i = 0; i < t; ++i) {
cin >> s[i];
if (s[i] == "AC")
c++;
if (s[i] == "WA")
c1++;
if (s[i] == "TLE")
c2++;
if (s[i] == "RE")
c3+... | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
int c = 0, c1 = 0, c2 = 0, c3 = 0;
string s[100000];
cin >> t;
for (int i = 0; i < t; ++i) {
cin >> s[i];
if (s[i] == "AC")
c++;
if (s[i] == "WA")
c1++;
if (s[i] == "TLE")
c2++;
if (s[i] == "RE")
c3+... | [
"literal.string.change",
"io.output.change"
] | 321,816 | 321,817 | u666248605 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
int n, ac = 0, wa = 0, re = 0, tle = 0;
cin >> n;
string str[n];
for (int i = 0; i < n; i++) {
cin >> str[i];
}
for (int i = 0; i < n; i++) {
if (str[i] == "AC")
ac++;
else if (str[i] == "TLE")
tle++;
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
int n, ac = 0, wa = 0, re = 0, tle = 0;
cin >> n;
string str[n];
for (int i = 0; i < n; i++) {
cin >> str[i];
}
for (int i = 0; i < n; i++) {
if (str[i] == "AC")
ac++;
else if (str[i] == "TLE")
tle++;
... | [] | 321,823 | 321,824 | u642451500 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define i1 int128_t
#define vi vector<long long>
#define st set<long long>
#define uset unordered_set<long long>
#define si set<long long>::iterator
#define pb push_back
#define mp make_pair
#define f(i, a, b) for (long long i = a; i < b; i++)
#define ... | #include <bits/stdc++.h>
// #include<boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
using namespace std;
#define ll long long
#define i1 int128_t
#define vi vector<long long>
#define st set<long long>
#define uset unordered_set<long long>
#define si set<long long>::iterator
#define pb push_... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,825 | 321,826 | u453775553 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll n;
cin >> n;
string a[n];
for (ll i = 0; i < n; i++) {
cin >> a[i];
}
string c;
ll ans[4] = {0};
for (ll i = 0; i < n; i++) {
c = a[i];
if (c == "AC")... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll n;
cin >> n;
string a[n];
for (ll i = 0; i < n; i++) {
cin >> a[i];
}
string c;
ll ans[4] = {0};
for (ll i = 0; i < n; i++) {
c = a[i];
if (c == "AC")... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,827 | 321,828 | u671909786 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
main() {
int n, ac, wa, lte, re;
cin >> n;
string S;
ac = 0;
wa = 0;
lte = 0;
re = 0;
for (int i = 0; i < n; i++) {
cin >> S;
if (S == "AC") {
ac++;
continue;
}
if (S == "WA") {
wa++;
continue;
}
if (S == "LTE"... | #include <bits/stdc++.h>
using namespace std;
main() {
int n, ac, wa, lte, re;
cin >> n;
string S;
ac = 0;
wa = 0;
lte = 0;
re = 0;
for (int i = 0; i < n; i++) {
cin >> S;
if (S == "AC") {
ac++;
continue;
}
if (S == "WA") {
wa++;
continue;
}
if (S == "TLE"... | [
"literal.string.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 321,829 | 321,830 | u155501015 | cpp |
p02613 | // Tue Jun 30 14:06:52 IST 2020
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define forn(ii, a, b) for (int ii = (int)a; ii < (int)b; ii++)
#define debug(x) cerr << #x << " " << x << " -- \n"
#define I__O ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NUL... | // Tue Jun 30 14:06:52 IST 2020
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define forn(ii, a, b) for (int ii = (int)a; ii < (int)b; ii++)
#define debug(x) cerr << #x << " " << x << " -- \n"
#define I__O ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NUL... | [
"variable_declaration.type.change",
"literal.string.change",
"io.output.change"
] | 321,832 | 321,833 | u943589074 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, ac_count = 0, wa_count = 0, tle_count = 0, re_count = 0;
string j;
cin >> N;
while (cin >> j) {
if (equal(j.begin(), j.end(), "AC") == 0) {
ac_count++;
} else if (equal(j.begin(), j.end(), "WA") == 0) {
wa_count++;
} els... | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, ac_count = 0, wa_count = 0, tle_count = 0, re_count = 0;
string j;
cin >> N;
while (cin >> j) {
if (equal(j.begin(), j.end(), "AC") == true) {
ac_count++;
} else if (equal(j.begin(), j.end(), "WA") == true) {
wa_count++;
... | [
"control_flow.branch.if.condition.change"
] | 321,834 | 321,835 | u861427432 | cpp |
p02613 | #include <bits/stdc++.h>
// #include<boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
using namespace std;
#define ll long long
#define i1 int128_t
#define vi vector<long long>
#define st set<long long>
#define uset unordered_set<long long>
#define si set<long long>::iterator
#define pb push_... | #include <bits/stdc++.h>
// #include<boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
using namespace std;
#define ll long long
#define i1 int128_t
#define vi vector<long long>
#define st set<long long>
#define uset unordered_set<long long>
#define si set<long long>::iterator
#define pb push_... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 321,842 | 321,843 | u423825299 | cpp |
p02613 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <limits>
#include <list>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); ++i)
int main() {
int n;
cin >> n;
vector<string> s(n);
rep(i, n) cin >> s[i];
... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <limits>
#include <list>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); ++i)
int main() {
int n;
cin >> n;
vector<string> s(n);
rep(i, n) cin >> s[i];
... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 321,844 | 321,845 | u531066573 | cpp |
p02613 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
int n;
cin >> n;
vector<string> S(n);
string test[4] = {"AC", "WA", "TLE", "RE"};
vector<int> count(4);
for (string &e : S)
cin >> e;
for (int j = 0; j < n; j++) {
for (int i = 0; i < 4; i++) {
if (test[i] ==... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
int n;
cin >> n;
vector<string> S(n);
string test[4] = {"AC", "WA", "TLE", "RE"};
vector<int> count(4);
for (string &e : S)
cin >> e;
for (int j = 0; j < n; j++) {
for (int i = 0; i < 4; i++) {
if (test[i] ==... | [
"literal.string.change",
"io.output.change"
] | 321,846 | 321,847 | u919919068 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.