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 |
|---|---|---|---|---|---|---|---|
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int sum;
if (a == b == c)
sum = 1;
else if (a == b || b == c || c == a)
sum = 2;
else
sum = 3;
cout << sum << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int sum;
if (a == b && b == c)
sum = 1;
else if (a == b || b == c || c == a)
sum = 2;
else
sum = 3;
cout << sum << endl;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,368 | 1,489,369 | u319179101 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int sum = 0;
if (a == b == c)
sum = 1;
else if (a == b || b == c || c == a)
sum = 2;
else
sum = 3;
cout << sum << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int sum;
if (a == b && b == c)
sum = 1;
else if (a == b || b == c || c == a)
sum = 2;
else
sum = 3;
cout << sum << endl;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,370 | 1,489,369 | u319179101 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
int a, b, c;
cin >> a >> b >> c;
int result = 0;
result += a != b;
result += a != c;
result += b != c;
cout << result << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
int a, b, c;
cin >> a >> b >> c;
int result = 0;
result += a != b;
result += a != c;
result += b != c;
cout << max(result, 1) << endl;
}
| [
"call.add",
"call.arguments.add"
] | 1,489,371 | 1,489,372 | u842596864 | cpp |
p03962 | #include <algorithm>
#include <functional>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define psortsecond(A, N) \
sort(A, A + N, ... | #include <algorithm>
#include <functional>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define psortsecond(A, N) \
sort(A, A + N, ... | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"io.output.change"
] | 1,489,377 | 1,489,378 | u008229752 | cpp |
p03962 | #include <algorithm>
#include <cmath> //abs();
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a, b, c, x[10], cnt = 1;
cin >> a >> b >> c;
if (a != b) {
cnt++;
if (a != c) {
cnt++;
}
cout << cnt;
return 0;
}
if (a != c) {
cnt++;
cout << cnt... | #include <algorithm>
#include <cmath> //abs();
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a, b, c, x[10], cnt = 1;
cin >> a >> b >> c;
if (a != b) {
cnt++;
if (a != c && b != c) {
cnt++;
}
cout << cnt;
return 0;
}
if (a != c) {
cnt++;
c... | [
"control_flow.branch.if.condition.change"
] | 1,489,398 | 1,489,399 | u208723543 | cpp |
p03962 | #include <algorithm>
#include <cmath> //abs();
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a, b, c, x[10], cnt = 1;
cin >> a >> b >> c;
if (a != b) {
cnt++;
if (b != c) {
cnt++;
}
cout << cnt;
return 0;
}
if (a != c) {
cnt++;
cout << cnt... | #include <algorithm>
#include <cmath> //abs();
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a, b, c, x[10], cnt = 1;
cin >> a >> b >> c;
if (a != b) {
cnt++;
if (a != c && b != c) {
cnt++;
}
cout << cnt;
return 0;
}
if (a != c) {
cnt++;
c... | [
"control_flow.branch.if.condition.change"
] | 1,489,400 | 1,489,399 | u208723543 | cpp |
p03962 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define REP(i, a, n) for (int i = (a); i < (n); ++i)
using namespace std;
typedef long long ll;
void Main() {
vector<int> vec;
rep(i, 3) cin >> vec[i];
// unique vec
sort(vec.begin(), vec.end());
vec.erase(unique(vec.begin(), vec.end())... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define REP(i, a, n) for (int i = (a); i < (n); ++i)
using namespace std;
typedef long long ll;
void Main() {
vector<int> vec(3);
rep(i, 3) cin >> vec[i];
// unique vec
sort(vec.begin(), vec.end());
vec.erase(unique(vec.begin(), vec.end... | [
"call.arguments.add"
] | 1,489,411 | 1,489,412 | u215692812 | cpp |
p03962 | #include <algorithm>
#include <float.h>
#include <iostream>
#include <limits>
#include <math.h>
#include <numeric>
#include <string.h>
#include <vector>
#define rep(i, a, n) for (ll int(i) = (a); (i) < (n); (i)++)
#define urep(i, a, n) for (ll int(i) = (a); (i) > (n); (i)--)
#define MOD 1000000007
#define ll long long... | #include <algorithm>
#include <float.h>
#include <iostream>
#include <limits>
#include <math.h>
#include <numeric>
#include <string.h>
#include <vector>
#define rep(i, a, n) for (ll int(i) = (a); (i) < (n); (i)++)
#define urep(i, a, n) for (ll int(i) = (a); (i) > (n); (i)--)
#define MOD 1000000007
#define ll long long... | [
"control_flow.branch.if.condition.change"
] | 1,489,413 | 1,489,414 | u319945100 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(false); \
cin.tie(0);
#define FOR(i, s, n) for (int i = s; i < (n); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(n) (... | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(false); \
cin.tie(0);
#define FOR(i, s, n) for (int i = s; i < (n); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(n) (... | [] | 1,489,417 | 1,489,418 | u330661451 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int count = 1;
if (a != b)
count++;
if (a != c)
count++;
cout << count << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int count = 1;
if (a != b)
count++;
if (a != c && b != c)
count++;
cout << count << endl;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,419 | 1,489,420 | u690326065 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int count = 1;
if (a == b)
count++;
if (a == c)
count++;
cout << count << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int count = 1;
if (a != b)
count++;
if (a != c && b != c)
count++;
cout << count << endl;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,489,423 | 1,489,420 | u690326065 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C;
if (A == B == C) { // A=B=C
D = 1;
} else if (A == B) { // A=B
D = 2;
} else if (A == C) { // A=C
D = 2;
} else if (B == C) { // B=C
D = 2;
} else {
D = 3;
}
cout << D << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C;
if (A == B && B == C) { // A=B=C
D = 1;
} else if (A == B) { // A=B
D = 2;
} else if (A == C) { // A=C
D = 2;
} else if (B == C) { // B=C
D = 2;
} else {
D = 3;
}
cout << D << endl;
... | [
"control_flow.branch.if.condition.change"
] | 1,489,435 | 1,489,436 | u157433024 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b == c)
cout << "1";
else if (a == b || b == c || a == c)
cout << "2";
else
cout << "3";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << "1";
else if (a == b || b == c || a == c)
cout << "2";
else
cout << "3";
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,445 | 1,489,446 | u383681712 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d = 1;
cin >> a >> b >> c;
if (a != b && a != c)
d = 3;
else if (a == c && a != b)
d = 2;
else if (a == b && a != c)
d = 2;
else if (b == c && b != a)
d = 2;
else
d = 1;
cout << d << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d = 1;
cin >> a >> b >> c;
if (a != b && a != c && b != c)
d = 3;
else if (a == c && a != b)
d = 2;
else if (a == b && a != c)
d = 2;
else if (b == c && b != a)
d = 2;
else
d = 1;
cout << d << endl;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,447 | 1,489,448 | u618604643 | cpp |
p03962 | #include <algorithm>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
typedef long long ll;
typedef unsigned long long ull;
typedef int itn;
const ll LINF = 1e18;
const int INF = 1e8;
using namespace std;
#define vvint(vec, n, m, l) vector<v... | #include <algorithm>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
typedef long long ll;
typedef unsigned long long ull;
typedef int itn;
const ll LINF = 1e18;
const int INF = 1e8;
using namespace std;
#define vvint(vec, n, m, l) vector<v... | [
"control_flow.branch.if.condition.change"
] | 1,489,453 | 1,489,454 | u776194115 | cpp |
p03962 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, m, n) for (int i = m; i < n; i++)
typedef long long ll;
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout <<... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, m, n) for (int i = m; i < n; i++)
typedef long long ll;
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout <<... | [
"control_flow.branch.if.condition.change"
] | 1,489,455 | 1,489,456 | u008582165 | cpp |
p03962 |
// A - AtCoDeerくんとペンキ
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// const int INF = 2147483647;
// const ll INF = 9223372036854775807;
// const int MOD = 1e9 + 7;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ans;
if (a == b && b == c)
ans = 1;
else if (a != b && b != c &... |
// A - AtCoDeerくんとペンキ
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// const int INF = 2147483647;
// const ll INF = 9223372036854775807;
// const int MOD = 1e9 + 7;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ans;
if (a == b && b == c)
ans = 1;
else if (a != b && b != c &... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,489,457 | 1,489,458 | u790272146 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
printf(a == b && b == c && c == a ? "0"
: c == a || a == b || b == c ? "2"
: "3");
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
printf(a == b && b == c && c == a ? "1"
: c == a || a == b || b == c ? "2"
: "3");
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,489,459 | 1,489,460 | u115867677 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, count;
cin >> a >> b >> c;
if (a == b && b == c) {
count = 1;
} else if (a == b || b == c || a == c) {
count = 2;
} else {
count = 1;
}
cout << count << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, count;
cin >> a >> b >> c;
if (a == b && b == c) {
count = 1;
} else if (a == b || b == c || a == c) {
count = 2;
} else {
count = 3;
}
cout << count << endl;
}
| [
"literal.number.change",
"assignment.value.change"
] | 1,489,467 | 1,489,468 | u457196771 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && a == c) {
cout << '3' << endl;
return 0;
}
if (a == b || a == c || b == c)
cout << '2' << endl;
else
cout << '1' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && a == c) {
cout << '1' << endl;
return 0;
}
if (a == b || a == c || b == c)
cout << '2' << endl;
else
cout << '3' << endl;
} | [
"literal.string.change",
"io.output.change"
] | 1,489,472 | 1,489,473 | u699111690 | cpp |
p03962 | #include <algorithm>
#include <cstdint>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
ll ans, mx, mn, sum;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 0;
else if (a == b && b != c)
cout << 2;
else ... | #include <algorithm>
#include <cstdint>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
ll ans, mx, mn, sum;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1;
else if (a == b && b != c)
cout << 2;
else ... | [
"literal.number.change",
"io.output.change"
] | 1,489,474 | 1,489,475 | u620390714 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 3;
} else if (a != b && b != c && c != a) {
cout << 1;
} else {
cout << 2;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1;
} else if (a != b && b != c && c != a) {
cout << 3;
} else {
cout << 2;
}
} | [
"literal.number.change",
"io.output.change"
] | 1,489,482 | 1,489,483 | u955282280 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
#define pp pair<int, int>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define ll long long
#define ld long double
#define all(a) (a).begin(), (a).end()
#define mk make_pair
ll MOD = 1000000007;
ll mod = 998244353;
int inf = 1000001000;
ll INF = 1e18 + 5;
int main(... | #include <bits/stdc++.h>
using namespace std;
#define pp pair<int, int>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define ll long long
#define ld long double
#define all(a) (a).begin(), (a).end()
#define mk make_pair
ll MOD = 1000000007;
ll mod = 998244353;
int inf = 1000001000;
ll INF = 1e18 + 5;
int main(... | [
"control_flow.branch.else.remove"
] | 1,489,484 | 1,489,485 | u112775098 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> P;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repto(i, n) for (int i = 0; i <= (n); i++)
#define all(c) (c).begin(), (c).end()
#define uniq(c) c.erase(unique(all(c)), (c).end())
#define _1 first
#define _2 second
#... | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> P;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repto(i, n) for (int i = 0; i <= (n); i++)
#define all(c) (c).begin(), (c).end()
#define uniq(c) c.erase(unique(all(c)), (c).end())
#define _1 first
#define _2 second
#... | [
"control_flow.branch.if.condition.change"
] | 1,489,486 | 1,489,487 | u035009844 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (3 - (a == b) - (b == c) - (c == a) + (a == b && c == c)) << endl;
return 0;
} |
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (3 - (a == b) - (b == c) - (c == a) + (a == b && b == c)) << endl;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 1,489,500 | 1,489,501 | u899220667 | cpp |
p03962 | #include <bits/stdc++.h>
#include <math.h>
#include <stdlib.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
inline constexpr ll gcd(ll a, ll b) {
if (!a || !b)
return 0;
while (b) {
ll c = b;
b = a % b;
a = c;
}
return a;
}
inline constexpr ll l... | #include <bits/stdc++.h>
#include <math.h>
#include <stdlib.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
inline constexpr ll gcd(ll a, ll b) {
if (!a || !b)
return 0;
while (b) {
ll c = b;
b = a % b;
a = c;
}
return a;
}
inline constexpr ll l... | [
"control_flow.branch.if.condition.change"
] | 1,489,502 | 1,489,503 | u540741303 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a != b && b != c && c != a) {
cout << 3;
} else if (a == b || b == c || c == a) {
cout << 1;
} else {
cout << 2;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a != b && b != c && c != a) {
cout << 3;
} else if (a == b && b == c && c == a) {
cout << 1;
} else {
cout << 2;
}
}
| [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,489,506 | 1,489,507 | u990037841 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1 << endl;
return 0;
} else if (a == b || b == c || c == a) {
cout << 0 << endl;
} else {
cout << 3 << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1 << endl;
return 0;
} else if (a == b || b == c || c == a) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
} | [
"literal.number.change",
"io.output.change"
] | 1,489,511 | 1,489,512 | u017829818 | cpp |
p03962 | // Created by conan1024hao in 2019.
// Copyright © 2019 conan1024hao. All rights reserved.
// 専用ライブラリです、自由にコピーして構いません。
// 感谢看我的代码!Wechat:conan1024hao Twitter/QQ:810396815
#pragma GCC optimize("O3")
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#inclu... | // Created by conan1024hao in 2019.
// Copyright © 2019 conan1024hao. All rights reserved.
// 専用ライブラリです、自由にコピーして構いません。
// 感谢看我的代码!Wechat:conan1024hao Twitter/QQ:810396815
#pragma GCC optimize("O3")
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#inclu... | [
"control_flow.branch.if.condition.change"
] | 1,489,515 | 1,489,516 | u220212997 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a != b && b != c) {
cout << 3 << endl;
} else if (a == b && b == c) {
cout << 1 << endl;
} else {
cout << 2 << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a != b && b != c && a != c) {
cout << 3 << endl;
} else if (a == b && b == c) {
cout << 1 << endl;
} else {
cout << 2 << endl;
}
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,533 | 1,489,534 | u729178442 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
if (a != b && b != c)
cout << 3 << endl;
else if (a == b && b == c)
cout << 1 << endl;
else
cout << 2 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
if (a != b && b != c && a != c)
cout << 3 << endl;
else if (a == b && b == c)
cout << 1 << endl;
else
cout << 2 << endl;
} | [
"control_flow.branch.if.condition.change"
] | 1,489,545 | 1,489,546 | u365870732 | cpp |
p03962 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <queue>
#include <string.h>
#include <vector>
#define ll long long int
#define ld long double
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i < n; i... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <queue>
#include <string.h>
#include <vector>
#define ll long long int
#define ld long double
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i < n; i... | [
"misc.opposites",
"control_flow.branch.if.condition.change",
"literal.number.change",
"io.output.change"
] | 1,489,547 | 1,489,548 | u468862268 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, i = 3;
cin >> a >> b >> c;
if (a == b)
i--;
if (b == c)
i--;
if (c == a)
i--;
cout << i << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, i = 3;
cin >> a >> b >> c;
if (a == b)
i--;
if (b == c)
i--;
else if (c == a)
i--;
cout << i << endl;
return 0;
} | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,489,561 | 1,489,562 | u930561195 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == B || B == C) {
cout << 1;
} else if (A != B && A != C && B != C) {
cout << 3;
} else {
cout << 2;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A == B && B == C) {
cout << 1;
} else if (A != B && A != C && B != C) {
cout << 3;
} else {
cout << 2;
}
}
| [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,489,563 | 1,489,564 | u224951113 | cpp |
p03962 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(i, n) for (int i = ((int)(n)-1); i >= 0; i--)
#define irep(i, n, m) for (int i = (int)(n); i < (int)(m); i++)
#define all(x) (x).begin(), (x).end()
typedef long long ll;
using namespace std;
int main() {
int a, b, c;
cin >> a... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(i, n) for (int i = ((int)(n)-1); i >= 0; i--)
#define irep(i, n, m) for (int i = (int)(n); i < (int)(m); i++)
#define all(x) (x).begin(), (x).end()
typedef long long ll;
using namespace std;
int main() {
int a, b, c;
cin >> a... | [
"control_flow.branch.if.condition.change"
] | 1,489,567 | 1,489,568 | u649915042 | cpp |
p03962 | #include <bits/stdc++.h>
#include <ctype.h>
using namespace std;
#define ll long long
#define all(x) (x).begin(), (x).end()
const long long INF = 1LL << 60;
#define rep(i, n) for (int i = 0; i < (int)(n); i++) //(i, 10) i=0~i=9まで
#define repr(i, n) for (int i = n; i >= 0; i--) // (i, 10) i=10~i=0まで
#define FOR(i... | #include <bits/stdc++.h>
#include <ctype.h>
using namespace std;
#define ll long long
#define all(x) (x).begin(), (x).end()
const long long INF = 1LL << 60;
#define rep(i, n) for (int i = 0; i < (int)(n); i++) //(i, 10) i=0~i=9まで
#define repr(i, n) for (int i = n; i >= 0; i--) // (i, 10) i=10~i=0まで
#define FOR(i... | [
"control_flow.branch.if.condition.change"
] | 1,489,571 | 1,489,572 | u766205979 | cpp |
p03962 | #include <bits/stdc++.h>
#include <ctype.h>
using namespace std;
#define ll long long
#define all(x) (x).begin(), (x).end()
const long long INF = 1LL << 60;
#define rep(i, n) for (int i = 0; i < (int)(n); i++) //(i, 10) i=0~i=9まで
#define repr(i, n) for (int i = n; i >= 0; i--) // (i, 10) i=10~i=0まで
#define FOR(i... | #include <bits/stdc++.h>
#include <ctype.h>
using namespace std;
#define ll long long
#define all(x) (x).begin(), (x).end()
const long long INF = 1LL << 60;
#define rep(i, n) for (int i = 0; i < (int)(n); i++) //(i, 10) i=0~i=9まで
#define repr(i, n) for (int i = n; i >= 0; i--) // (i, 10) i=10~i=0まで
#define FOR(i... | [
"control_flow.branch.if.condition.change",
"literal.number.change",
"io.output.change"
] | 1,489,573 | 1,489,572 | u766205979 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int count = 0;
if (a == b && b == c)
count = 1;
else if (a == b || b == c)
count = 2;
else
count = 3;
cout << count << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int count = 0;
if (a == b && b == c)
count = 1;
else if (a == b || b == c || c == a)
count = 2;
else
count = 3;
cout << count << endl;
} | [
"control_flow.branch.if.condition.change"
] | 1,489,584 | 1,489,585 | u240685518 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
// vector<int> vec(3); = vector<int> vec={0,0,0}
// vec.at()
// sort(num.begin(),num.end(), greater<int>());
// reverse(num.begin(),num.end());
// 切り上げ a/b+1
// 1からNの総和 N*(N+1)/2
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && a == c) {
cout << 1 ... | #include <bits/stdc++.h>
using namespace std;
// vector<int> vec(3); = vector<int> vec={0,0,0}
// vec.at()
// sort(num.begin(),num.end(), greater<int>());
// reverse(num.begin(),num.end());
// 切り上げ a/b+1
// 1からNの総和 N*(N+1)/2
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && a == c) {
cout << 1 ... | [
"control_flow.branch.if.condition.change"
] | 1,489,589 | 1,489,590 | u658164775 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b == c) {
cout << "1" << endl;
} else if (a == b || b == c || c == a) {
cout << "2" << endl;
} else {
cout << "3" << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << "1" << endl;
} else if (a == b || b == c || c == a) {
cout << "2" << endl;
} else {
cout << "3" << endl;
}
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,593 | 1,489,594 | u015187377 | cpp |
p03962 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a[3], tmp = 3;
cin >> a[0] >> a[1] >> a[2];
if (a[0] == a[1]) {
tmp--;
}
if (a[1] == a[2]) {
tmp--;
}
if (a[2] == a[0]) {
tmp--;
}
cout << tmp << "\n";
return 0... | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a[3], tmp = 3;
cin >> a[0] >> a[1] >> a[2];
if (a[0] == a[1]) {
tmp--;
}
if (a[1] == a[2]) {
tmp--;
} else if (a[2] == a[0]) {
tmp--;
}
cout << tmp << "\n";
return... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,489,599 | 1,489,600 | u217596176 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int cnt = 1;
vector<string> vec(4);
for (int i = 0; i < 3; i++) {
cin >> vec.at(i);
}
vec.at(3) = vec.at(0);
for (int i = 0; i < 3; i++) {
if (vec.at(i) != vec.at(i + 1)) {
cnt++;
}
}
if (cnt == 0)
cout << 1 << endl;
el... | #include <bits/stdc++.h>
using namespace std;
int main() {
int cnt = 0;
vector<string> vec(4);
for (int i = 0; i < 3; i++) {
cin >> vec.at(i);
}
vec.at(3) = vec.at(0);
for (int i = 0; i < 3; i++) {
if (vec.at(i) != vec.at(i + 1)) {
cnt++;
}
}
if (cnt == 0) {
cout << 1 << endl;
... | [
"literal.number.change",
"variable_declaration.value.change"
] | 1,489,603 | 1,489,604 | u468647389 | cpp |
p03962 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ans;
if (a == b && b == c)
ans = 3;
else if (a == b || b == c || c == a)
ans = 2;
else
ans = 1;
cout << ans << endl;
} | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ans;
if (a == b && b == c)
ans = 1;
else if (a == b || b == c || c == a)
ans = 2;
else
ans = 3;
cout << ans << endl;
} | [
"literal.number.change",
"assignment.value.change"
] | 1,489,607 | 1,489,608 | u847913816 | cpp |
p03962 | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1 << endl;
} else if (a == b || b == c) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
}
| #include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1 << endl;
} else if (a == b || b == c || a == c) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,609 | 1,489,610 | u114648678 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b == c) {
cout << 1 << endl;
} else if (a == b || b == c || a == c) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1 << endl;
} else if (a == b || b == c || a == c) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
return 0;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,613 | 1,489,614 | u709619294 | cpp |
p03962 | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int comp(const void *a, const void *b) { return *(int *)a - *(int *)b; }
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << "3" << endl;
} else if (a == b || b == c || c == a) {
... | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int comp(const void *a, const void *b) { return *(int *)a - *(int *)b; }
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << "1" << endl;
} else if (a == b || b == c || c == a) {
... | [
"literal.string.change",
"io.output.change"
] | 1,489,615 | 1,489,616 | u373164102 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1;
else if (a == b || b == c)
cout << 2;
else
cout << 3;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1;
else if (a == b || b == c || c == a)
cout << 2;
else
cout << 3;
} | [
"control_flow.branch.if.condition.change"
] | 1,489,619 | 1,489,620 | u659075447 | cpp |
p03962 | #include <stdio.h>
int main(void) {
int a, b, c, x;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
x = 3;
if (a == b) {
x = x - 1;
} else if (a == c) {
x = x - 1;
} else if (c == b) {
x = x - 1;
}
if (x == 0) {
x = x + 1;
}
printf("%d\n", x);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b, c, x;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
x = 3;
if (a == b) {
x = x - 1;
}
if (a == c) {
x = x - 1;
}
if (c == b) {
x = x - 1;
}
if (x == 0) {
x = x + 1;
}
printf("%d\n", x);
return 0;
}
| [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 1,489,627 | 1,489,628 | u075650258 | cpp |
p03962 | #include <stdio.h>
int main(void) {
int a, b, c, x;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
x = 3;
if (a == b) {
x = x - 1;
if (a == c) {
x = x - 1;
}
if (c == b) {
x = x - 1;
}
}
if (x == 0) {
x = x + 1;
}
printf("%d\n", x);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b, c, x;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
x = 3;
if (a == b) {
x = x - 1;
}
if (a == c) {
x = x - 1;
}
if (c == b) {
x = x - 1;
}
if (x == 0) {
x = x + 1;
}
printf("%d\n", x);
return 0;
}
| [] | 1,489,629 | 1,489,628 | u075650258 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << "1" << endl;
else if (a != b && b != c)
cout << "3" << endl;
else
cout << "2" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << "1" << endl;
else if (a != b && b != c && c != a)
cout << "3" << endl;
else
cout << "2" << endl;
} | [
"control_flow.branch.if.condition.change"
] | 1,489,633 | 1,489,634 | u715253965 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (b == c)
cout << 3 << endl;
else
cout << 1 << endl;
} else {
if (b == c)
cout << 1 << endl;
else if (c == a)
cout << 1 << endl;
else
cout << 0 << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (b == c)
cout << 1 << endl;
else
cout << 2 << endl;
} else {
if (b == c)
cout << 2 << endl;
else if (c == a)
cout << 2 << endl;
else
cout << 3 << endl;
... | [
"literal.number.change",
"io.output.change"
] | 1,489,639 | 1,489,640 | u298768617 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a == b && b == c ? 1 : (a != b && b != c ? 3 : 2)) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a == b && b == c ? 1 : (a != b && b != c && c != a ? 3 : 2)) << endl;
} | [
"expression.operation.binary.add"
] | 1,489,645 | 1,489,646 | u881647420 | cpp |
p03962 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <queue>
#include <sstream>
#include <string>
#include <time.h>
#include <tuple>
#include <vector>
//#include "bits/stdc... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <queue>
#include <sstream>
#include <string>
#include <time.h>
#include <tuple>
#include <vector>
//#include "bits/stdc... | [
"control_flow.branch.if.condition.change"
] | 1,489,647 | 1,489,648 | u301409936 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int count = 0;
if (a == b || b == c) {
cout << 1 << endl;
return 0;
}
if (a != b)
count++;
if (a != c)
count++;
if (b != c)
count++;
cout << count << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int count = 0;
if (a == b && b == c) {
cout << 1 << endl;
return 0;
}
if (a != b)
count++;
if (a != c)
count++;
if (b != c)
count++;
cout << count << endl;
return 0;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,489,649 | 1,489,650 | u890511332 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
else if (a == b || b == c)
cout << 2 << endl;
else
cout << 3 << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
else if (a == b || b == c || c == a)
cout << 2 << endl;
else
cout << 3 << endl;
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 1,489,651 | 1,489,652 | u167755809 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a == b == c)
cout << 1 << endl;
else if (a == b)
cout << 2 << endl;
else if (a == c)
cout << 2 << endl;
else if (b == c)
cout << 2 << endl;
else
cout << 3 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
else if (a == b)
cout << 2 << endl;
else if (a == c)
cout << 2 << endl;
else if (b == c)
cout << 2 << endl;
else
cout << 3 << endl;
} | [
"control_flow.branch.if.condition.change"
] | 1,489,655 | 1,489,656 | u079470909 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && a == c) {
cout << 1 << endl;
} else if (a != b && b != c) {
cout << 3 << endl;
} else {
cout << 2 << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && a == c) {
cout << 1 << endl;
} else if (a != b && b != c && c != a) {
cout << 3 << endl;
} else {
cout << 2 << endl;
}
} | [
"control_flow.branch.if.condition.change"
] | 1,489,665 | 1,489,666 | u002915602 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1 << endl;
} else if (a == b || b == c) {
cout << 2 << endl;
} else if (b == c) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1 << endl;
} else if (a == b || b == c) {
cout << 2 << endl;
} else if (a == c) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,489,671 | 1,489,672 | u551813187 | cpp |
p03962 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int p[3];
for (int i = 0; i < 3; i++)
cin >> p[i];
sort(p, p + 3);
int cnt = 0;
for (int i = 0; i < 2; i++) {
if (p[i + 1] == p[i]) {
cnt++;
}
}
cout << cnt + 1... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int p[3];
for (int i = 0; i < 3; i++)
cin >> p[i];
sort(p, p + 3);
int cnt = 0;
for (int i = 0; i < 2; i++) {
if (p[i + 1] != p[i]) {
cnt++;
}
}
cout << cnt + 1... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,489,673 | 1,489,674 | u640827947 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1;
if (a == b && b != c)
cout << 2;
if (a == c && c != b)
cout << 2;
if (b == c && b != a)
cout << 2;
else
cout << 3;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1;
else if (a == b && b != c)
cout << 2;
else if (a == c && c != b)
cout << 2;
else if (b == c && b != a)
cout << 2;
else
cout << 3;
return 0;
} | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,489,681 | 1,489,682 | u246602391 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, num = 0;
cin >> a >> b >> c;
if (a == b == c) {
num = 1;
} else if (a == b || b == c || a == c) {
num = 2;
} else {
num = 3;
}
cout << num << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, num = 0;
cin >> a >> b >> c;
if (a == b && a == c) {
num = 1;
} else if (a == b || b == c || a == c) {
num = 2;
} else {
num = 3;
}
cout << num << endl;
} | [
"control_flow.branch.if.condition.change"
] | 1,489,683 | 1,489,684 | u627434558 | cpp |
p03962 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
int a[3];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
int ans = 1;
if (a[0] == a[1])
ans =... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
int a[3];
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 3);
int ans = 3;
if (a[0] == a[1])
ans =... | [
"literal.number.change",
"variable_declaration.value.change",
"assignment.value.change"
] | 1,489,696 | 1,489,697 | u553605501 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (a == c) {
cout << 1 << endl;
} else {
cout << 2 << endl;
}
} else if (b == c) {
cout << 2 << endl;
} else if (a == c) {
cout << 2 << endl;
} else {
cout << 1 << endl;... | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (a == c) {
cout << 1 << endl;
} else {
cout << 2 << endl;
}
} else if (b == c) {
cout << 2 << endl;
} else if (a == c) {
cout << 2 << endl;
} else {
cout << 3 << endl;... | [
"literal.number.change",
"io.output.change"
] | 1,489,698 | 1,489,699 | u681557252 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c, ans = 3;
cin >> a >> b >> c;
if (a == b)
ans--;
if (b == c)
ans--;
if (c == a)
ans--;
if (a == b == c)
ans++;
cout << ans << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, ans = 3;
cin >> a >> b >> c;
if (a == b)
ans--;
if (b == c)
ans--;
if (c == a)
ans--;
if (a == b && b == c)
ans++;
cout << ans << endl;
} | [
"control_flow.branch.if.condition.change"
] | 1,489,700 | 1,489,701 | u859897687 | cpp |
p03962 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
else if (a == b || b == c)
cout << 2 << endl;
else
cout << 3 << endl;
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
else if (a == b || b == c || a == c)
cout << 2 << endl;
else
cout << 3 << endl;
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 1,489,708 | 1,489,709 | u440213743 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y = 3;
cin >> N >> K >> X;
if (N == K)
Y -= 1;
if (N == X)
Y -= 1;
if (K == X)
Y -= 1;
if (N == K && K == X)
Y = 3;
cout << Y << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y = 3;
cin >> N >> K >> X;
if (N == K)
Y -= 1;
if (N == X)
Y -= 1;
if (K == X)
Y -= 1;
if (N == K && K == X)
Y = 1;
cout << Y << endl;
}
| [
"literal.number.change",
"assignment.value.change"
] | 1,489,712 | 1,489,713 | u347579224 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (a == c)
cout << 1 << endl;
else
cout << 2 << endl;
} else {
if (a == c)
cout << 2 << endl;
else
cout << 3 << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (a == c)
cout << 1 << endl;
else
cout << 2 << endl;
} else {
if (a == c || b == c)
cout << 2 << endl;
else
cout << 3 << endl;
}
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,714 | 1,489,715 | u840063491 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int counter = 0;
if (a == b == c) {
counter = 1;
} else if ((a == b) || (b == c) || (c == a)) {
counter = 2;
} else {
counter = 3;
}
cout << counter << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int counter = 0;
if ((a == b) && (b == c)) {
counter = 1;
} else if ((a == b) || (b == c) || (c == a)) {
counter = 2;
} else {
counter = 3;
}
cout << counter << endl;
return 0;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,716 | 1,489,717 | u681440564 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef vector<string> vs;
typedef vector<char> vc;
typedef vector<vc> vvc;
typedef vector<bool> vb;
typedef pair<int, int> pii;
typedef pair<char, ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef vector<string> vs;
typedef vector<char> vc;
typedef vector<vc> vvc;
typedef vector<bool> vb;
typedef pair<int, int> pii;
typedef pair<char, ... | [
"control_flow.branch.if.condition.change"
] | 1,489,729 | 1,489,730 | u159619403 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 3 << endl;
else if (a != b && b != c && c != a)
cout << 1 << endl;
else
cout << 2 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
else if (a != b && b != c && c != a)
cout << 3 << endl;
else
cout << 2 << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 1,489,731 | 1,489,732 | u341488930 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b == c) {
cout << 1 << endl;
} else if (a == b || b == c || c == a) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1 << endl;
} else if (a == b || b == c || c == a) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
} | [
"control_flow.branch.if.condition.change"
] | 1,489,735 | 1,489,736 | u339937125 | cpp |
p03962 | #include "bits/stdc++.h"
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c && a == c) {
cout << 1 << endl;
} else if (a != b || b != c || a != c) {
cout << 3 << endl;
} else {
cout << 2 << endl;
}
return 0;
} | #include "bits/stdc++.h"
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c && a == c) {
cout << 1 << endl;
} else if (a != b && b != c && a != c) {
cout << 3 << endl;
} else {
cout << 2 << endl;
}
return 0;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,489,748 | 1,489,749 | u692207013 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (a == c)
cout << 1 << endl;
else
cout << 2 << endl;
} else if (a == c)
cout << 2 << endl;
else if (b == c)
cout << 2 << endl;
else
cout << 1 << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (a == c)
cout << 1 << endl;
else
cout << 2 << endl;
} else if (a == c)
cout << 2 << endl;
else if (b == c)
cout << 2 << endl;
else
cout << 3 << endl;
} | [
"literal.number.change",
"io.output.change"
] | 1,489,752 | 1,489,753 | u141968173 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (b == c) {
cout << 1 << endl;
} else {
cout << 2 << endl;
}
} else {
if (b == c) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b) {
if (b == c) {
cout << 1 << endl;
} else {
cout << 2 << endl;
}
} else {
if (b == c || a == c) {
cout << 2 << endl;
} else {
cout << 3 << endl;
}
}
return 0;... | [
"control_flow.branch.if.condition.change"
] | 1,489,762 | 1,489,763 | u341347211 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
typedef long long lint;
#define FOR(i, o, n) for (auto i = (o); (i) < (n); ++(i))
#define REP(i, n) FOR(i, 0, n)
#define REPR(i, n) for (auto i = (n)-1; (i) >= 0; --i)
#define REPI(itr, v) for (auto itr = v.begin(); itr != v.end(); ++itr)
#define REPIR(itr, v) for (auto itr... | #include <bits/stdc++.h>
using namespace std;
typedef long long lint;
#define FOR(i, o, n) for (auto i = (o); (i) < (n); ++(i))
#define REP(i, n) FOR(i, 0, n)
#define REPR(i, n) for (auto i = (n)-1; (i) >= 0; --i)
#define REPI(itr, v) for (auto itr = v.begin(); itr != v.end(); ++itr)
#define REPIR(itr, v) for (auto itr... | [
"control_flow.branch.if.condition.change"
] | 1,489,770 | 1,489,771 | u918808222 | cpp |
p03962 | #include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <set>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef... | #include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <set>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef... | [
"control_flow.branch.if.condition.change"
] | 1,489,772 | 1,489,773 | u181937133 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define SORT(v) sort((v).begin(), (v).end())
#define RSORT(v) sort((v).rbegin(), (v).rend())
const ll MOD = 1000000007;
const int nmax = 8;
bool graph[nmax][nmax];
ll gcd(ll a, ll b) {
if (b == 0)
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define SORT(v) sort((v).begin(), (v).end())
#define RSORT(v) sort((v).rbegin(), (v).rend())
const ll MOD = 1000000007;
const int nmax = 8;
bool graph[nmax][nmax];
ll gcd(ll a, ll b) {
if (b == 0)
... | [
"control_flow.branch.if.condition.change"
] | 1,489,774 | 1,489,775 | u228295160 | cpp |
p03962 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#define For(i, n) for (int i = 0; i < (n); i++)
#define Range(c) c.begin(), c.end()
#define RevRange(c) c.begin(), c.end()
#define Cin(T, x) \
T x; ... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#define For(i, n) for (int i = 0; i < (n); i++)
#define Range(c) c.begin(), c.end()
#define RevRange(c) c.begin(), c.end()
#define Cin(T, x) \
T x; ... | [
"call.add"
] | 1,489,778 | 1,489,779 | u375405838 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c && c == a)
cout << 3;
else if (a != b && b != c && c != a)
cout << 1;
else
cout << 2;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c && c == a)
cout << 1;
else if (a != b && b != c && c != a)
cout << 3;
else
cout << 2;
} | [
"literal.number.change",
"io.output.change"
] | 1,489,782 | 1,489,783 | u959539771 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
else if (a != b && b != c)
cout << 3 << endl;
else
cout << 2 << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
else if (a != b && b != c && c != a)
cout << 3 << endl;
else
cout << 2 << endl;
return 0;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,784 | 1,489,785 | u806800460 | cpp |
p03962 | #define _USE_NATH_DEFINES
#include <algorithm>
#include <bitset>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <numer... | #define _USE_NATH_DEFINES
#include <algorithm>
#include <bitset>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <numer... | [
"variable_declaration.value.change"
] | 1,489,786 | 1,489,787 | u419390395 | cpp |
p03962 | #include <iostream>
int main() {
int a;
int b;
int c;
int count = 0;
std::cin >> a >> b >> c;
if (a == b && a == c) {
count = 1;
} else if (a == b || a == c) {
count = 2;
} else {
count = 3;
}
std::cout << count << std::endl;
} | #include <iostream>
int main() {
int a;
int b;
int c;
int count = 0;
std::cin >> a >> b >> c;
if (a == b && a == c) {
count = 1;
} else if (a == b || a == c || b == c) {
count = 2;
} else {
count = 3;
}
std::cout << count << std::endl;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,788 | 1,489,789 | u240226076 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int ans = 3;
int a, b, c;
cin >> a >> b >> c;
if (a == b and b == c) {
ans = 1;
} else if (a == b or b == c or c == b) {
ans = 2;
}
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int ans = 3;
int a, b, c;
cin >> a >> b >> c;
if (a == b and b == c) {
ans = 1;
} else if (a == b or b == c or c == a) {
ans = 2;
}
cout << ans << endl;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,489,790 | 1,489,791 | u106297876 | cpp |
p03962 | #include <iostream>
using namespace std;
int main(void) {
int x, y, z;
cin >> x >> y >> z;
if (x == y && y == z) {
cout << "3" << endl;
} else if (x == y || y == z || x == z) {
cout << "2" << endl;
} else {
cout << "1" << endl;
}
} | #include <iostream>
using namespace std;
int main(void) {
int x, y, z;
cin >> x >> y >> z;
if (x == y && y == z) {
cout << "1" << endl;
} else if (x == y || y == z || x == z) {
cout << "2" << endl;
} else {
cout << "3" << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 1,489,798 | 1,489,799 | u560522955 | cpp |
p03962 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
int A, B, C, D, E, F;
string S, Sa, Sb, Sc;
cin >> A >> B >> C;
int ans;
if (A == B && B == C)
ans = 1;
else if (A == B || B == C)
ans = 2;
else
ans = 3;
cout << ans << endl;
retu... | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
int A, B, C, D, E, F;
string S, Sa, Sb, Sc;
cin >> A >> B >> C;
int ans;
if (A == B && B == C)
ans = 1;
else if (A == B || B == C || A == C)
ans = 2;
else
ans = 3;
cout << ans << en... | [
"control_flow.branch.if.condition.change"
] | 1,489,800 | 1,489,801 | u109792330 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << "1" << endl;
else if (a != b && b != c)
cout << "3" << endl;
else
cout << "2" << endl;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << "1" << endl;
else if (a != b && b != c && c != a)
cout << "3" << endl;
else
cout << "2" << endl;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,802 | 1,489,803 | u251181305 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b || b == c || c == a) {
if (a == b == c)
cout << 1;
else
cout << 2;
} else
cout << 3;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b || b == c || c == a) {
if (a == b && b == c)
cout << 1;
else
cout << 2;
} else
cout << 3;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,804 | 1,489,805 | u494928657 | cpp |
p03962 | #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c;
cin >> a >> b >> c;
if (a == b == c)
cout << 3 << endl;
else if (a == b || a == c || b == c)
cout << 2 << endl;
else
cout << 1 << endl;
}
| #include <iostream>
using namespace std;
int main(void) {
// Your code here!
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
else if (a == b || a == c || b == c)
cout << 2 << endl;
else
cout << 3 << endl;
}
| [
"control_flow.branch.if.condition.change",
"literal.number.change",
"io.output.change"
] | 1,489,807 | 1,489,808 | u030509373 | cpp |
p03962 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
cout << (a == b && b == c ? 1 : a == b || b == c || a == c ? 1 : 0) << endl;
return 0;
}
| #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
cout << (a == b && b == c ? 1 : a == b || b == c || a == c ? 2 : 3) << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 1,489,809 | 1,489,810 | u069035678 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int li[3];
cin >> li[0] >> li[1] >> li[2];
if (li[0] == li[1] && li[1] == li[2]) {
cout << 1;
} else if (li[0] == li[1] || li[1] == li[2] || li[1] == li[2]) {
cout << 2;
} else {
cout << 3;
}
}
| #include <iostream>
using namespace std;
int main() {
int li[3];
cin >> li[0] >> li[1] >> li[2];
if (li[0] == li[1] && li[1] == li[2]) {
cout << 1;
} else if (li[0] == li[1] || li[1] == li[2] || li[0] == li[2]) {
cout << 2;
} else {
cout << 3;
}
}
| [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,489,811 | 1,489,812 | u890807039 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int li[3];
cin >> li[0] >> li[1] >> li[2];
if (li[0] == li[1] && li[1] == li[2]) {
cout << 1;
} else if (li[0] == li[1] || li[1] == li[2] || li[1] == li[3]) {
cout << 2;
} else {
cout << 3;
}
}
| #include <iostream>
using namespace std;
int main() {
int li[3];
cin >> li[0] >> li[1] >> li[2];
if (li[0] == li[1] && li[1] == li[2]) {
cout << 1;
} else if (li[0] == li[1] || li[1] == li[2] || li[0] == li[2]) {
cout << 2;
} else {
cout << 3;
}
}
| [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,489,813 | 1,489,812 | u890807039 | cpp |
p03962 | #include <iostream>
using namespace std;
int a[3], sum = 3;
int main() {
cin >> a[0] >> a[1] >> a[2];
for (int i = 0; i < 3; i++) {
for (int j = i + 1; j < 3; j++) {
if (a[i] == a[j])
sum -= 1;
}
}
cout << sum << endl;
return 0;
}
| #include <iostream>
using namespace std;
int a[3], sum = 3;
int main() {
cin >> a[0] >> a[1] >> a[2];
for (int i = 0; i < 3; i++) {
for (int j = i + 1; j < 3; j++) {
if (a[i] == a[j])
sum -= 1;
}
}
cout << (sum ? sum : 1) << endl;
return 0;
}
| [] | 1,489,814 | 1,489,815 | u424655672 | cpp |
p03962 | #include <iostream>
using namespace std;
int main(void) {
int a = 0;
int b = 0;
int c = 0;
int count = 2;
cin >> a >> b >> c;
if (a == b && b == c && c == a)
count = 0;
else if (a != b && b != c && c != a)
count = 3;
cout << count << endl;
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int a = 0;
int b = 0;
int c = 0;
int count = 2;
cin >> a >> b >> c;
if (a == b && b == c && c == a)
count = 1;
else if (a != b && b != c && c != a)
count = 3;
cout << count << endl;
return 0;
} | [
"literal.number.change",
"assignment.value.change"
] | 1,489,825 | 1,489,826 | u793601658 | cpp |
p03962 | #include <algorithm>
#include <cctype>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ans;
if ((a == b && b != c) || (a == c && a != b) || (b == c &&... | #include <algorithm>
#include <cctype>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ans;
if ((a == b && b != c) || (a == c && a != b) || (b == c &&... | [
"control_flow.branch.if.condition.change"
] | 1,489,827 | 1,489,828 | u907049739 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
#define elif else if
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b == c)
cout << 1 << endl;
elif (a == b || a == c || b == c) cout << 2 << endl;
else cout << 3 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define elif else if
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c)
cout << 1 << endl;
elif (a == b || a == c || b == c) cout << 2 << endl;
else cout << 3 << endl;
return 0;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,830 | 1,489,831 | u423624748 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
char a;
char b;
char c;
cin >> a >> b >> c;
//上から順に
//且つ&& または||
if (a == b && b == c && c == a) {
cout << '1';
} else if (a == b || b == c || a == c) {
cout << '2';
} else {
cout << '3';
}
return... | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
int a;
int b;
int c;
cin >> a >> b >> c;
if (a == b && b == c && c == a) {
cout << '1';
} else if (a == b || b == c || a == c) {
cout << '2';
} else {
cout << '3';
}
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 1,489,832 | 1,489,833 | u777201860 | cpp |
p03962 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1;
} else if (a == b || b == c || c == b) {
cout << 2;
} else {
cout << 3;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1;
} else if (a == b || b == c || c == a) {
cout << 2;
} else {
cout << 3;
}
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,489,834 | 1,489,835 | u547457320 | cpp |
p03962 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d = 3;
if (a == b) {
d--;
}
if (a == c) {
d--;
}
if (b == c) {
d--;
}
if (a == b == c) {
d++;
}
cout << d << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d = 3;
if (a == b) {
d--;
}
if (a == c) {
d--;
}
if (b == c) {
d--;
}
if (a == b && b == c) {
d++;
}
cout << d << endl;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,837 | 1,489,838 | u686352452 | cpp |
p03962 | #include <algorithm> // std::copy()
#include <cctype> // std::isdigit()
#include <climits> // INT_MIN
#include <cmath>
#include <cstdio>
#include <functional> // std::greater<T>()
#include <iostream>
#include <iterator> // std::back_inserter()
#include <numeric> // accumulate(ALL(vec), 0) 0 は初期値
#include <set>
#... | #include <algorithm> // std::copy()
#include <cctype> // std::isdigit()
#include <climits> // INT_MIN
#include <cmath>
#include <cstdio>
#include <functional> // std::greater<T>()
#include <iostream>
#include <iterator> // std::back_inserter()
#include <numeric> // accumulate(ALL(vec), 0) 0 は初期値
#include <set>
#... | [
"control_flow.branch.if.condition.change"
] | 1,489,839 | 1,489,840 | u870998297 | cpp |
p03962 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a == b == c) {
cout << 1;
} else if (a == b || b == c || a == c) {
cout << 2;
} else
cout << 3;
}
| #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
if (a == b && b == c) {
cout << 1;
} else if (a == b || b == c || a == c) {
cout << 2;
} else
cout << 3;
}
| [
"control_flow.branch.if.condition.change"
] | 1,489,841 | 1,489,842 | u661845689 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.