buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
l = ['AAA', 'BBB']
if input() in l:
print('Yes')
else:
print('No') | l = ['AAA', 'BBB']
if input() in l:
print('No')
else:
print('Yes') | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 32 |
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
if (s[0] == s[1] == s[2])
cout << "No\n";
else
cout << "Yes\n";
} | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
if (s[0] == s[1] && s[1] == s[2])
cout << "No\n";
else
cout << "Yes\n";
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 15, 339, 51, 16, 12, 16, 31, 69, 28, 22], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 70], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 73]] | 1 | 51 |
S=input()
l = ['AAA','BBB']
if S in l:
print('No')
if S not in l:
print('No') | S=input()
l = ['AAA','BBB']
if S in l:
print('No')
if S not in l:
print('Yes') | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 39 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.at(0) == 'A' && S.at(1) == 'A' && S.at(2) == 'A') {
cout << "No" << endl;
}
if (S.at(0) == 'B' && S.at(1) == 'B' && S.at(2) == 'B') {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.at(0) == 'A' && S.at(1) == 'A' && S.at(2) == 'A') {
cout << "No" << endl;
} else if (S.at(0) == 'B' && S.at(1) == 'B' && S.at(2) == 'B') {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
}
| [["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95]] | 1 | 120 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
// #define MOD 1000000007
#define mod9 1000000009
#define fast \
ios_base ::sync_with_stdio(0); \
cin.tie(NULL); ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
// #define MOD 1000000007
#define mod9 1000000009
#define fast \
ios_base ::sync_with_stdio(0); \
cin.tie(NULL); ... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 901 |
#include <bits/stdc++.h>
using namespace std;
int main() {
char A[4];
cin >> A;
int k = 0;
for (int i = 0; i < 3; i++) {
if (A[i] == 'A')
k++;
}
if (k == 0 || k == 3)
printf("N0\n");
else
printf("Yes\n");
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
char A[4];
cin >> A;
int k = 0;
for (int i = 0; i < 3; i++) {
if (A[i] == 'A')
k++;
}
if (k == 0 || k == 3)
printf("No\n");
else
printf("Yes\n");
}
| [["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 84 |
#include <stdio.h>
int main(void) {
char s[4];
int i = 0, a = 0;
scanf("%s", s);
for (i = 1; i < 3; i++) {
if (s[i - 1] != s[i])
a++;
i++;
}
if (a > 0)
printf("Yes\n");
else
printf("No\n");
return 0;
} | #include <stdio.h>
int main(void) {
char s[4];
int i = 0, a = 0;
scanf("%s", s);
for (i = 1; i < 3; i++) {
if (s[i - 1] != s[i])
a++;
}
if (a > 0)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [["-", 0, 7, 8, 9, 0, 1, 0, 27, 28, 22], ["-", 0, 7, 8, 9, 0, 1, 0, 27, 17, 29], ["-", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 94 |
#include <bits/stdc++.h>
using namespace std;
#define F first
#define S second
#define pb push_back
#define mp make_pair
#define all(c) c.begin(), c.end()
#define rall(c) c.end(), c.begin()
#define INF (int)1e9
#define MOD 1000000007
#define PI 3.1415926535897932384626
typedef long long ll;
typedef vector<int> vi;
ty... | #include <bits/stdc++.h>
using namespace std;
#define F first
#define S second
#define pb push_back
#define mp make_pair
#define all(c) c.begin(), c.end()
#define rall(c) c.end(), c.begin()
#define INF (int)1e9
#define MOD 1000000007
#define PI 3.1415926535897932384626
typedef long long ll;
typedef vector<int> vi;
ty... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 186 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.at(0) == S.at(1) && S.at(1) == S.at(2)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.at(0) == S.at(1) && S.at(1) == S.at(2)) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 70 |
#include <algorithm>
#include <assert.h>
#include <bitset>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <... | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <... | [["-", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 633 |
s = input()
if s[1]==s[2]==s[3]:
print('No')
else:
print('Yes') | s = input()
if s[1]==s[2]==s[0]:
print('No')
else:
print('Yes')
| [["-", 0, 656, 0, 57, 15, 666, 0, 206, 206, 612], ["+", 0, 656, 0, 57, 15, 666, 0, 206, 206, 612]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string A;
cin >> A;
cout << (A.at(0) == A.at(1) && A.at(1) == A.at(2) ? "Yes" : "No") << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string A;
cin >> A;
cout << (A.at(0) == A.at(1) && A.at(1) == A.at(2) ? "No" : "Yes") << endl;
} | [["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 61 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[0] == s[1]; s[1] == s[2])
cout << "No" << endl;
else
cout << "Yes" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[0] == s[1] && s[1] == s[2])
cout << "No" << endl;
else
cout << "Yes" << endl;
}
| [["-", 0, 57, 15, 339, 10, 381, 0, 1, 0, 35], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 58 |
#include <bits/stdc++.h>
#include <cstring>
#include <limits>
using namespace std;
#define ll long long int
#define lli long long int
#define fw(i, s, e) for (ll i = s; i < e; ++i)
#define fe(i, s, e) for (ll i = s; i <= e; ++i)
#define fb(i, e, s) for (ll i = e; i >= s; --i)
#define L(T) ... | #include <bits/stdc++.h>
#include <cstring>
#include <limits>
using namespace std;
#define ll long long int
#define lli long long int
#define fw(i, s, e) for (ll i = s; i < e; ++i)
#define fe(i, s, e) for (ll i = s; i <= e; ++i)
#define fb(i, e, s) for (ll i = e; i >= s; --i)
#define L(T) ... | [["-", 0, 1, 0, 191, 51, 83, 0, 42, 0, 40], ["+", 0, 1, 0, 191, 51, 83, 0, 42, 0, 22], ["-", 51, 83, 0, 42, 0, 69, 341, 342, 0, 70], ["-", 51, 83, 0, 42, 0, 69, 341, 342, 0, 13], ["-", 51, 83, 0, 42, 0, 69, 341, 342, 0, 73]] | 1 | 148 |
#include <iostream>
#include <string>
std::string S;
int main() {
std::cin >> S;
if ((S.find("A") == std::string::npos) or
(S.find("A") == std::string::npos)) {
std::cout << "No";
} else {
std::cout << "Yes";
}
} | #include <iostream>
#include <string>
std::string S;
int main() {
std::cin >> S;
if ((S.find("A") == std::string::npos) or
(S.find("B") == std::string::npos)) {
std::cout << "No";
} else {
std::cout << "Yes";
}
} | [["-", 0, 16, 31, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 16, 31, 2, 3, 4, 0, 5, 0, 6]] | 1 | 78 |
S = gets
puts S == "AAA" || S == "BBB" ? "No" : "Yes" | S = gets.chomp
puts (S == "AAA" || S == "BBB") ? "No" : "Yes" | [["+", 36, 36, 0, 493, 0, 662, 12, 652, 17, 131], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22], ["+", 0, 652, 3, 4, 0, 754, 15, 739, 0, 24], ["+", 0, 652, 3, 4, 0, 754, 15, 739, 0, 25]] | 4 | 23 |
#include <bits/stdc++.h>
#define MAX 1000000
#define MOD 1e9
#define pb push_back
#define pairs pair<int, int>
#define vi vector<int>
#define vb vector<bool>
#define vii vector<pairs>
#define lb lower_bound
#define ub upper_bound
#define ll long long
#define endl '\n'
using namespace std;
/* ---------------------------... | #include <bits/stdc++.h>
#define MAX 1000000
#define MOD 1e9
#define pb push_back
#define pairs pair<int, int>
#define vi vector<int>
#define vb vector<bool>
#define vii vector<pairs>
#define lb lower_bound
#define ub upper_bound
#define ll long long
#define endl '\n'
using namespace std;
/* ---------------------------... | [["-", 15, 339, 51, 16, 12, 69, 341, 342, 0, 13], ["+", 15, 339, 51, 16, 12, 69, 341, 342, 0, 13], ["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 372 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String a = input.nextLine();
boolean ok = false;
for (int i = 1; i < 3; i++)
if (a.charAt(0) != a.charAt(i))
ok = true;
if (ok)
System.out.printl... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String a = input.nextLine();
boolean ok = false;
for (int i = 1; i < 3; i++)
if (a.charAt(0) != a.charAt(i))
ok = true;
if (ok)
System.out.printl... | [["-", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 110 |
print('Yes'if input() in ['AAA', 'BBB'] else 'No') | print('No'if input() in ['AAA', 'BBB'] else 'Yes')
| [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 24 |
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
if (s != "AAA" || s != "BBB") {
cout << "Yes" << endl;
} else
cout << "No" << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
if (s == "AAA" || s == "BBB") {
cout << "No" << endl;
} else
cout << "Yes" << endl;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 79], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 60], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 79], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 54 |
#include <algorithm>
#include <iostream>
using namespace std;
int main(void) {
string a;
cin >> a;
if (a[0] == a[1] || a[1] == a[2])
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main(void) {
string a;
cin >> a;
if (a[0] == a[1] && a[1] == a[2])
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 64 |
s=input()
print("YNeos"[s != len(s) * s[0]::2]) | s=input()
print("YNeos"[s == len(s) * s[0]::2]) | [["-", 3, 4, 0, 206, 206, 663, 0, 666, 667, 79], ["+", 3, 4, 0, 206, 206, 663, 0, 666, 667, 60]] | 5 | 27 |
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
S = readline().decode().split()
if 'A' in S and 'B' in S:
print('Yes')
else:
print('No') | import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
S = readline().decode()
if 'A' in S and 'B' in S:
print('Yes')
else:
print('No') | [["-", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["-", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 69 |
S = gets.split("")
ans = S.uniq.length==1 ? "No" : "Yes"
puts ans | S = gets.split("")
ans = S.uniq.length==2 ? "No" : "Yes"
puts ans | [["-", 0, 493, 0, 662, 12, 754, 15, 738, 12, 612], ["+", 0, 493, 0, 662, 12, 754, 15, 738, 12, 612]] | 4 | 28 |
S = gets.split("")
ans = S.uniq.length==1 ? "No" : "Yes"
puts ans | S = gets.chomp.split("")
ans = S.uniq.length==1 ? "No" : "Yes"
puts ans | [["+", 0, 493, 0, 662, 12, 652, 486, 652, 735, 22], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 17, 131]] | 4 | 28 |
#include <bits/stdc++.h>
typedef long long ll;
// forループ
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
// Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= ll(b); i++)
#de... | #include <bits/stdc++.h>
typedef long long ll;
// forループ
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
// Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= ll(b); i++)
#de... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 79], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 79]] | 1 | 398 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
string s;
cin >> s;
if (s.at(0) == s.at(1) && s.at(1) == s.at(2))
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
string s;
cin >> s;
if (s.at(0) == s.at(1) && s.at(1) == s.at(2))
cout << "No" << endl;
else
cout << "Yes" << endl;
} | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 74 |
S = str(input())
if S == 'AAA':
print('Yes')
elif S == 'BBB':
print('Yes')
else:
print('No') |
S = str(input())
if S == 'AAA':
print('No')
elif S == 'BBB':
print('No')
else:
print('Yes') | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 42 |
s=input()
l=set(s)
if(len(s)==1):
print("No")
else:
print("Yes") | s=input()
l=set(s)
if(len(l)==1):
print("No")
else:
print("Yes")
| [["-", 15, 23, 0, 666, 0, 652, 3, 4, 0, 22], ["+", 15, 23, 0, 666, 0, 652, 3, 4, 0, 22]] | 5 | 35 |
#include <bits/stdc++.h>
#define f(i, a, b) for (ll i = a; i < b; i++)
#define af(i, a, b) for (ll i = a; i >= b; i--)
#define rep(i, a, b, k) for (ll i = a; i < b; i += k)
#define arep(i, a, b, k) for (ll i = a; i >= b; i -= k)
#define ones(x) (ll) __builtin_popcount(x)
#define fs first
#define sc second
#define pb p... | #include <bits/stdc++.h>
#define f(i, a, b) for (ll i = a; i < b; i++)
#define af(i, a, b) for (ll i = a; i >= b; i--)
#define rep(i, a, b, k) for (ll i = a; i < b; i += k)
#define arep(i, a, b, k) for (ll i = a; i >= b; i -= k)
#define ones(x) (ll) __builtin_popcount(x)
#define fs first
#define sc second
#define pb p... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 60]] | 1 | 237 |
s=input()
if a[0]==a[1]==a[2]:
print("No")
else:
print("Yes") | a=list(input())
if a[0]==a[1]==a[2]:
print("No")
else:
print("Yes") | [["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 35 |
#include <iostream>
#include <string>
using namespace std;
int main() {
string S;
if (S[0] == S[1] && S[1] == S[2] && S[2] == S[0]) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
if (S[0] == S[1] && S[1] == S[2] && S[2] == S[0]) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
}
| [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 70 |
a = input()
b = 0
c = 0
i = 0
while i < a :
if a[i] == "A" :
b = b + 1
if a[i] == "B" :
c = c + 1
i = i + 1
if (b > 0) and (c > 0) :
print("Yes")
else:
print("No") | a = input()
b = 0
c = 0
i = 0
while i < len(a) :
if a[i] == "A" :
b = b + 1
if a[i] == "B" :
c = c + 1
i = i + 1
if (b > 0) and (c > 0) :
print("Yes")
else:
print("No") | [["+", 0, 656, 0, 52, 15, 666, 0, 652, 63, 22], ["+", 0, 52, 15, 666, 0, 652, 3, 4, 0, 24], ["+", 0, 52, 15, 666, 0, 652, 3, 4, 0, 25]] | 5 | 81 |
puts gets.split("").uniq.length > 1 ? "Yes" : "No" | puts gets.chomp.split("").uniq.length > 1 ? "Yes" : "No" | [["+", 31, 652, 486, 652, 486, 652, 486, 652, 735, 22], ["+", 15, 738, 31, 652, 486, 652, 486, 652, 17, 131]] | 4 | 22 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s == "AAA" || "BBB")
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s == "AAA" || s == "BBB")
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | [["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 51 |
s = set(list(input()))
if s == 1:
print("No")
else:
print("Yes") | s = set(list(input()))
if len(s) == 1:
print("No")
else:
print("Yes") | [["+", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 24], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 25]] | 5 | 30 |
//#pragma GCC optimize "trapv"
//-D_GLIBCXX_DEBUG
#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 pm(m) \
for (auto itr = (m).begin(); itr !=... | //#pragma GCC optimize "trapv"
//-D_GLIBCXX_DEBUG
#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 pm(m) \
for (auto itr = (m).begin(); itr !=... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 840 |
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
long sum_of_onbit(vector<long> vec, long n, long i) {
long result = 0;
long bitOne = 1;
for (long j = 0; j < n; j++) {
if (i & (1L << j)) {
result += vec[j];
}
}
return result;
}
int main() {
cin.tie(0);
ios::... | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
long sum_of_onbit(vector<long> vec, long n, long i) {
long result = 0;
long bitOne = 1;
for (long j = 0; j < n; j++) {
if (i & (1L << j)) {
result += vec[j];
}
}
return result;
}
int main() {
cin.tie(0);
ios::... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 139 |
#include <stdio.h>
int main() {
char S[3];
int cnt = 0;
scanf("%s", S);
for (int i = 0; i < 3; i++) {
if (S[i] = S[i + 1]) {
cnt++;
}
}
if (cnt == 2) {
printf("No");
} else {
printf("Yes");
}
return 0;
}
| #include <stdio.h>
int main() {
char S[3];
int cnt = 0;
scanf("%s", S);
for (int i = 0; i < 3; i++) {
if (S[i] == S[i + 1]) {
cnt++;
}
}
if (cnt == 2) {
printf("No");
} else {
printf("Yes");
}
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60]] | 1 | 91 |
#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> P;
typedef tuple<int, int, int> T;
int main() {
string s;
cin >> s;
if (s == "AAA" || s == "BBB")
cout << "Yes";
else
cout << "N... | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> P;
typedef tuple<int, int, int> T;
int main() {
string s;
cin >> s;
if (s == "AAA" || s == "BBB")
cout << "No";
else
cout << "Ye... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 85 |
S = gets
if S == "AAA" or S == "BBB" then
puts "No"
else
puts "Yes"
end | S = gets.chomp
if S == "AAA" or S == "BBB" then
puts "No"
else
puts "Yes"
end | [["+", 36, 36, 0, 493, 0, 662, 12, 652, 17, 131], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22]] | 4 | 26 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
string S;
cin >> S;
string result = "Yes";
if (S[0] == S[1] == S[2])
result = "No";
cout << result << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
string S;
cin >> S;
string result = "Yes";
if (S[0] == S[1] && S[1] == S[2])
result = "No";
cout << result << endl;
return 0;
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 15, 339, 51, 16, 12, 16, 31, 69, 28, 22], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 70], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 73]] | 1 | 71 |
# ABC158
# A Station and Bus
import re
s = input()
x = s[0]
m = re.match(x+x+x,s)
if m:
print("Yes")
exit()
print("No")
| import re
s = input()
x = s[0]
m = re.match(x+x+x,s)
if m:
print("No")
exit()
print("Yes")
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 47 |
#include <bits/stdc++.h>
int main() {
std::string s;
std::cin >> s;
if (std::count(s.begin(), s.end(), 'A') == 3 ||
std::count(s.begin(), s.end(), 'B') == 3)
std::cout << "NO" << std::endl;
else
std::cout << "YES" << std::endl;
} | #include <bits/stdc++.h>
int main() {
std::string s;
std::cin >> s;
if (std::count(s.begin(), s.end(), 'A') == 3 ||
std::count(s.begin(), s.end(), 'B') == 3)
std::cout << "No" << std::endl;
else
std::cout << "Yes" << std::endl;
}
| [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 92 |
#include <iostream>
#include <string>
#define rp(i, n) for (long long i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main(void) {
string s;
cin >> s;
if (s[0] == s[1] && s[1] == s[2]) {
cout << "NO" << endl;
} else
cout << "Yes" << endl;
return 0;
}
| #include <iostream>
#include <string>
#define rp(i, n) for (long long i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main(void) {
string s;
cin >> s;
if (s[0] == s[1] && s[1] == s[2]) {
cout << "No" << endl;
} else
cout << "Yes" << endl;
return 0;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 80 |
s = input()
for i in range(2):
if s[i]==s[i+1] :
print("No")
exit()
print("Yes")
|
s = input()
for i in range(2):
if s[i]!=s[i+1] :
print("Yes")
exit()
print("No")
| [["-", 0, 7, 8, 196, 0, 57, 15, 666, 667, 60], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 667, 79], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 41 |
import sys
print('Yes' if set(sys.stdin.read().strip()) >= 2 else 'No') | import sys
print('Yes' if len(set(sys.stdin.read().strip())) >= 2 else 'No') | [["+", 3, 4, 0, 41, 0, 666, 0, 652, 63, 22], ["+", 0, 41, 0, 666, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 29 |
s = gets.chomp
if(s == "AAA" || s == "BBB")
puts "Yes"
else
puts "No"
end
| s = gets.chomp
if(s == "AAA" || s == "BBB")
puts "No"
else
puts "Yes"
end
| [["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]] | 4 | 29 |
s = gets.chomp.split('').map(&:to_s)
if(s[0] == s[1] && s[0] == s[2])
puts "Yes"
else
puts "No"
end
| s = gets.chomp.split('').map(&:to_s)
if(s[0] == s[1] && s[0] == s[2])
puts "No"
else
puts "Yes"
end
| [["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]] | 4 | 49 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int a = 0, b = 0;
for (int i = 0; i < s.size(); i++) {
if (s[i] == 'a')
a++;
else
b++;
}
if (a == 2 && b == 1 || a == 1 && b == 2)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int a = 0, b = 0;
for (int i = 0; i < s.size(); i++) {
if (s[i] == 'A')
a++;
else
b++;
}
if (a == 2 && b == 1 || a == 1 && b == 2)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125], ["+", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125]] | 1 | 101 |
#include <stdio.h>
int main(void) {
char s[3];
int i, a = 0, b = 0;
scanf("%s", &s);
for (i = 0; i < 3; i++) {
if (s[i] == 'A')
a++;
else
b++;
}
if (a == 3 || b == 3)
printf("No");
else
printf("yes");
return 0;
} | #include <stdio.h>
int main(void) {
char s[3];
int i, a = 0, b = 0;
scanf("%s", &s);
for (i = 0; i < 3; i++) {
if (s[i] == 'A')
a++;
else
b++;
}
if (a == 3 || b == 3)
printf("No");
else
printf("Yes");
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 97 |
#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>;
ll x = 1e9 + 7;
const int INF = 1001001001;
int main() {
string s;
cin >> s;
if (s[0] == s[1] && s[1] == s[2])
cout << "Yes" << endl;
else
cout << "No" << endl;... | #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>;
ll x = 1e9 + 7;
const int INF = 1001001001;
int main() {
string s;
cin >> s;
if (s[0] == s[1] && s[1] == s[2])
cout << "No" << endl;
else
cout << "Yes" << endl;... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 98 |
#include <bits/stdc++.h>
using namespace std;
int main() {
bool b = true;
string input;
set<char> s;
getline(cin, input);
for (int i = 0; i < input.size(); i++) {
s.insert(input[i]);
}
s.size() == 1 ? cout << "NO" : cout << "YES";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
bool b = true;
string input;
set<char> s;
getline(cin, input);
for (int i = 0; i < input.size(); i++) {
s.insert(input[i]);
}
s.size() == 1 ? cout << "No" : cout << "Yes";
return 0;
}
| [["-", 0, 1, 0, 41, 64, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 41, 64, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6]] | 1 | 86 |
s=input()
print('YES' if len(set(s))>1 else 'NO')
| s=input()
print('Yes' if len(set(s))>1 else 'No')
| [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 25 |
#include <bits/stdc++.h>
// これもおそらく省略形
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
//省略形
using ll = long long;
using P = pair<int, int>;
int main() {
string a;
cin >> a;
if (a == "AAA" || a == "BBB") {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
return 0;
} | #include <bits/stdc++.h>
// これもおそらく省略形
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
//省略形
using ll = long long;
using P = pair<int, int>;
int main() {
string a;
cin >> a;
if (a == "AAA" || a == "BBB") {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 83 |
#include <algorithm>
#include <bitset>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <memory>
#include <queue>
#inc... | #include <algorithm>
#include <bitset>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <memory>
#include <queue>
#inc... | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 1,736 |
#include <bits/stdc++.h>
using namespace std;
inline int Isdigit(char c) {
if (c < '0' || c > '9')
return 0;
return 1;
}
inline int readint() {
register int x = 0, flag = 1;
register char ch;
while (!Isdigit(ch = getchar()))
if (ch == '-')
flag = -1;
while (x = x * 10 + (ch & 15), Isdigit(ch ... | #include <bits/stdc++.h>
using namespace std;
inline int Isdigit(char c) {
if (c < '0' || c > '9')
return 0;
return 1;
}
inline int readint() {
register int x = 0, flag = 1;
register char ch;
while (!Isdigit(ch = getchar()))
if (ch == '-')
flag = -1;
while (x = x * 10 + (ch & 15), Isdigit(ch ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 428 |
S = input().split()
if S[0] == S[1] == S[2]:
print('No')
else:
print('Yes') | S = input()
if S[0] == S[1] == S[2]:
print('No')
else:
print('Yes') | [["-", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["-", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 39 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using ull = unsigned long long;
using uint = unsigned;
using pcc = pair<char, char>;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using pdd = pair<double, double>;
using tuplis = array<ll, 3>;
template <class T> using p... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using ull = unsigned long long;
using uint = unsigned;
using pcc = pair<char, char>;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using pdd = pair<double, double>;
using tuplis = array<ll, 3>;
template <class T> using p... | [["+", 0, 1, 0, 2, 3, 4, 0, 91, 17, 111], ["+", 0, 2, 3, 4, 0, 91, 28, 23, 0, 24], ["+", 0, 2, 3, 4, 0, 91, 28, 23, 0, 25]] | 1 | 3,825 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
#define rep(i, n) for (int i = 0; i < (n); i++)
int main() {
string s;
cin >> s;
if (s[0] == s[1] && s[1] == s[2]) {
cout << 'No' << endl;
return 0;
}
cout << 'Yes' << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long int;
#define rep(i, n) for (int i = 0; i < (n); i++)
int main() {
string s;
cin >> s;
if (s[0] == s[1] && s[1] == s[2]) {
cout << "No" << endl;
return 0;
}
cout << "Yes" << endl;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 104], ["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["-", 0, 16, 31, 16, 12, 103, 0, 42, 0, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 79 |
s=input()
if s.count("A")==3 or s.count("B")==3:
print("Yes")
else:
print("No") | s=input()
if s.count("A")==3 or s.count("B")==3:
print("No")
else:
print("Yes") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 42 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
char a, b, c;
cin >> a >> b >> c;
if (a == b == c) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
}
| #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
char a, b, c;
cin >> a >> b >> c;
if (a == b && a == c) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
}
| [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 58 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
char a = S.at(0);
char b = S.at(1);
char c = S.at(2);
if (a == b == c) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
char a = S.at(0);
char b = S.at(1);
char c = S.at(2);
if (a == b && b == c) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
}
| [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 78 |
#include <bits/stdc++.h>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define SZ(x) ((int)x.size())
#define ALL(x) x.begin(), x.end()
#define L(i, u) for (register int i = head[u]; i; i = nxt[i])
#define rep(i, a, b) for (register int i = (a); i <= (b); i++)
#define per(i, a, b) for (reg... | #include <bits/stdc++.h>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define SZ(x) ((int)x.size())
#define ALL(x) x.begin(), x.end()
#define L(i, u) for (register int i = head[u]; i; i = nxt[i])
#define rep(i, a, b) for (register int i = (a); i <= (b); i++)
#define per(i, a, b) for (reg... | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 13], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 564 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
const int N = 200000 + 5, mod = 998244353;
int ksm(int b, int n) {
int res = 1;
while (n) {
if (n & 1)
res = res * b % mod;
b = b * b % mod;
n >>= 1;
}
return res;
}
int add(int x, int y) { return (x + y) % mod; }
int mul(int ... | #include <bits/stdc++.h>
using namespace std;
#define int long long
const int N = 200000 + 5, mod = 998244353;
int ksm(int b, int n) {
int res = 1;
while (n) {
if (n & 1)
res = res * b % mod;
b = b * b % mod;
n >>= 1;
}
return res;
}
int add(int x, int y) { return (x + y) % mod; }
int mul(int ... | [["-", 0, 9, 0, 1, 0, 2, 3, 4, 0, 13], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 13]] | 1 | 997 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string st;
cin >> st;
if (st[0] == 'A' && st[1] == 'A' && st[2] == 'A' ||
st[0] == 'B' && st[1] == 'B' && st[2] == 'B')
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string st;
cin >> st;
if (st[0] == 'A' && st[1] == 'A' && st[2] == 'A' ||
st[0] == 'B' && st[1] == 'B' && st[2] == 'B')
cout << "No";
else
cout << "Yes";
return 0;
}
| [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 91 |
#include <stdio.h>
int main() {
char A[2];
scanf("%s", &A);
if (A[0] == A[1], A[1] == A[2]) {
puts("No");
} else {
puts("Yes");
}
return 0;
} | #include <stdio.h>
int main() {
char A[11];
scanf("%s", &A);
if (A[0] == A[1] && A[1] == A[2]) {
puts("No");
} else {
puts("Yes");
}
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["-", 8, 9, 0, 57, 15, 339, 51, 34, 0, 21], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 68 |
#include <stdio.h>
int main() {
char S[3];
scanf("%s", &S);
if (S[1] != S[2]) {
printf("Yes");
} else if (S[2] != S[1]) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | #include <stdio.h>
int main() {
char S[4];
scanf("%s", &S);
if (S[0] != S[1]) {
printf("Yes");
} else if (S[1] != S[2]) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["-", 15, 339, 51, 16, 31, 69, 341, 342, 0, 13], ["+", 15, 339, 51, 16, 31, 69, 341, 342, 0, 13], ["-", 15, 339, 51, 16, 12, 69, 341, 342, 0, 13], ["+", 15, 339, 51, 16, 12, 69, 341, 342, 0, 13]] | 1 | 80 |
s = raw_input()
if(s == 'AAA' or s == 'BBB'):
print("No")
else:
print("Yes")
| s = input()
if(s == 'AAA' or s == 'BBB'):
print("No")
else:
print("Yes")
| [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 34 |
S = str(input())
if S == 'AAA' or 'BBB':
print('No')
else:
print('Yes') | S = input()
if S == 'AAA' or S == 'BBB':
print('No')
else:
print('Yes') | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 22], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 60]] | 5 | 33 |
moji = str(input())
print(("No","yes")[("B" in moji) and ("A" in moji)]) | moji = str(input())
print(("No","Yes")[("B" in moji) and ("A" in moji)]) | [["-", 3, 4, 0, 206, 51, 660, 0, 557, 0, 6], ["+", 3, 4, 0, 206, 51, 660, 0, 557, 0, 6]] | 5 | 37 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define INF 1LL << 62
#define inf 1000000007
int main() {
string s;
if (s == "AAA" || s == "BBB") {
cout << "No";
} else {
cout << "Yes";
}
// your code goes here
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define INF 1LL << 62
#define inf 1000000007
int main() {
string s;
cin >> s;
if (s == "AAA" || s == "BBB") {
cout << "No";
} else {
cout << "Yes";
}
// your code goes here
return 0;
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 61 |
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
bool a = false, b = false;
for (int i = 0; i < s.size(); i++) {
if (s[i] == 'a')
a = true;
if (s[i] == 'b')
b = true;
}
cout << (a & b ? "Yes" : "No") << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
bool a = false, b = false;
for (int i = 0; i < s.size(); i++) {
if (s[i] == 'A')
a = true;
if (s[i] == 'B')
b = true;
}
cout << (a & b ? "Yes" : "No") << endl;
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125], ["+", 0, 57, 15, 339, 51, 16, 12, 103, 0, 125]] | 1 | 99 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
if (s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2)) {
System.out.print("Yes");
} else {
System.out.print("No");
}
}
}
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
if (s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2)) {
System.out.print("No");
} else {
System.out.print("Yes");
}
}
}
| [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 101 |
puts gets.chomp.chars.uniq.size!=1?'No':'Yes' | puts gets.chomp.chars.uniq.size!=1?'Yes':'No' | [["-", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["-", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6]] | 4 | 20 |
s = input()
print('Yes' if s == 'AAA' or s== 'BBB' else 'No') | s = input()
print('No' if s == 'AAA' or s== 'BBB' else 'Yes') | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 27 |
/* When Talent doesn't work, Hard work beats Talent*/
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops")
#include "bits/stdc++.h"
using namespace std;
#define Fast_D cout << fixed << setprecision(13);
#define FastIO ... | /* When Talent doesn't work, Hard work beats Talent*/
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops")
#include "bits/stdc++.h"
using namespace std;
#define Fast_D cout << fixed << setprecision(13);
#define FastIO ... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 134 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
int main() {
string s;
cin >> s;
int i;
for (i = 0; i < s.size() - 1; i++) {
// cout << s[i] << " " << s[i+1] << endl;
... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
int main() {
string s;
cin >> s;
int i;
for (i = 0; i < s.size() - 1; i++) {
// cout << s[i] << " " << s[i+1] << endl;
... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 103 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
const ll mod = 1000000007;
const int INF = 1001001001;
ll pow_mod(ll x, ll y) {
ll res = 1;
for (ll i = 0; i <... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
const ll mod = 1000000007;
const int INF = 1001001001;
ll pow_mod(ll x, ll y) {
ll res = 1;
for (ll i = 0; i <... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 159 |
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string s;
cin >> s;
if (s == "AAA") {
cout << "Yes";
} else if (s == "BBB") {
cout << "No";
} else {
cout << "Yes";
}
}
| #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string s;
cin >> s;
if (s == "AAA") {
cout << "No";
} else if (s == "BBB") {
cout << "No";
} else {
cout << "Yes";
}
} | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 67 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
sort(s.begin(), s.end());
if (s[0] == s[2])
cout << "NO" << endl;
else
cout << "YES" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
sort(s.begin(), s.end());
if (s[0] == s[2])
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
}
| [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 66 |
S = input()
if "AAA" or "BBB":
print("No")
else:
print("Yes")
| S = input()
if S == "AAA" or S == "BBB":
print("No")
else:
print("Yes")
| [["+", 0, 656, 0, 57, 15, 679, 31, 666, 0, 22], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 60], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 22], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 60]] | 5 | 28 |
#include <stdio.h>
int main() {
char S[3];
scanf("%s", S);
if (S[0] == S[1] || S[0] == S[2] || S[1] == S[2])
printf("Yes\n");
else
printf("No\n");
return 0;
}
| #include <stdio.h>
int main() {
char S[3];
scanf("%s", S);
if (S[0] == S[1] && S[0] == S[2] && S[1] == S[2])
printf("No\n");
else
printf("Yes\n");
return 0;
} | [["-", 0, 57, 15, 23, 0, 16, 31, 16, 17, 106], ["+", 0, 57, 15, 23, 0, 16, 31, 16, 17, 98], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 98], ["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5... | 0 | 75 |
#include <stdio.h>
int main() {
char S[10];
scanf("%s", S);
if (S[0] == 'A' || S[1] == 'A' || S[2] == 'A' && S[0] == 'B' || S[1] == 'B' ||
S[2] == 'B') {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
} | #include <stdio.h>
int main() {
char S[10];
scanf("%s", S);
if ((S[0] == 'A' || S[1] == 'A' || S[2] == 'A') &&
(S[0] == 'B' || S[1] == 'B' || S[2] == 'B')) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [["+", 0, 57, 15, 23, 0, 16, 31, 23, 0, 24], ["+", 0, 57, 15, 23, 0, 16, 31, 23, 0, 25], ["+", 0, 57, 15, 23, 0, 16, 12, 23, 0, 24], ["+", 0, 57, 15, 23, 0, 16, 12, 23, 0, 25], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 103 |
#include <stdio.h>
int main() {
char S[4];
scanf("%s", S);
if (S[0] == S[1] == S[2]) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
} | #include <stdio.h>
int main() {
char S[10];
scanf("%s", S);
if (S[0] == S[1] && S[0] == S[2]) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["+", 15, 23, 0, 16, 31, 16, 12, 69, 0, 73], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 98], ["+", 15, 23, 0, 16, 12, 16, 31, 69, 28, 22], ["+", 15, 23, 0, 16, 12, 16, 31, 69, 0, 70], ["+", 15, 23, 0, 16, 12, 16, 31, 69, 71, 13]] | 0 | 64 |
#include <algorithm>
#include <bits/stdc++.h>
#include <iomanip>
#include <iostream>
#include <math.h>
#define fi first
#define se second
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define rrep(i, n) for (ll i = 1; i <= (n); ++i)
#define drep(i, n) for (ll i = (n)-1; i >= 0; --i)
#define all(v) v.begin(), v.end()
#... | #include <algorithm>
#include <bits/stdc++.h>
#include <iomanip>
#include <iostream>
#include <math.h>
#define fi first
#define se second
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define rrep(i, n) for (ll i = 1; i <= (n); ++i)
#define drep(i, n) for (ll i = (n)-1; i >= 0; --i)
#define all(v) v.begin(), v.end()
#... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 314 |
def main():
s = input()
if s[0]==s[1]==s[2]:
print("Yes")
else:
print("No")
if __name__ == "__main__":
main() |
def main():
s = input()
if s[0]==s[1]==s[2]:
print("No")
else:
print("Yes")
if __name__ == "__main__":
main() | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 50 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define f(i, a, b, c) for (ll i = a; i < b; i += c)
#define r(i, a, b, c) for (ll i = a; i >= b; i -= c)
#define mod 1000000007
int main() {
ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
string s;
cin >> s;
if (s == "AAA" || s == "BBB")... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define f(i, a, b, c) for (ll i = a; i < b; i += c)
#define r(i, a, b, c) for (ll i = a; i >= b; i -= c)
#define mod 1000000007
int main() {
ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
string s;
cin >> s;
if (s == "AAA" || s == "BBB")... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 100 |
import bisect, collections, copy, heapq, itertools, math, string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int, sys.stdin.readline().rstrip().split())
def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): r... | import bisect, collections, copy, heapq, itertools, math, string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int, sys.stdin.readline().rstrip().split())
def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): r... | [["+", 8, 196, 0, 57, 15, 679, 12, 666, 0, 22], ["+", 8, 196, 0, 57, 15, 679, 12, 666, 667, 60]] | 5 | 177 |
s=set(input().split())
if len(s)==2:print('Yes')
else:print('No')
| s=set(input())
if len(s)==2:print('Yes')
else:print('No') | [["-", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["-", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 34 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
int i = 0, c = 0, d = 0;
while (s[i] != '\0') {
if (s[i] == 'A')
c++;
else
d++;
i++;
}
if (c != 0 && d != 0)
cout << "Yes";
else
cout << "No";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int i = 0, c = 0, d = 0;
while (s[i] != '\0') {
if (s[i] == 'A')
c++;
else
d++;
i++;
}
if (c != 0 && d != 0)
cout << "Yes";
else
cout << "No";
}
| [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 85 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string i;
cin >> i;
if (i[0] = i[1] && i[1] == i[2]) {
cout << "No";
} else {
cout << "Yes";
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string i;
cin >> i;
if (i[0] == i[1] && i[1] == i[2]) {
cout << "No";
} else {
cout << "Yes";
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 60]] | 1 | 58 |
////////////////////////////////////////////////
// ******** * * ******* * * // :
// * * * * * * * // 64 BITS C 64 BITS
// ***** * * * * * * // +
// * * * *********** * * //: 16 - 6 ... | ////////////////////////////////////////////////
// ******** * * ******* * * // :
// * * * * * * * // 64 BITS C 64 BITS
// ***** * * * * * * // +
// * * * *********** * * //: 16 - 6 ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 114 |
#include <stdio.h>
int main() {
char a, b, c;
scanf("%c %c %c", &a, &b, &c);
if (a == b && b == c && a == c) {
printf("No\n");
} else {
printf("Yse\n");
}
return 0;
}
| #include <stdio.h>
int main() {
char a, b, c;
scanf("%c %c %c", &a, &b, &c);
if (a == b && b == c && a == c) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 69 |
#include "bits/stdc++.h"
using namespace std;
void Main() {
string S;
cin >> S;
if (S == "AAA" || S == "BBB") {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
int main() {
std::cout << std::fixed << std::setprecision(15);
Main();
return 0;
}
| #include "bits/stdc++.h"
using namespace std;
void Main() {
string S;
cin >> S;
if (S == "AAA" || S == "BBB") {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
}
int main() {
std::cout << std::fixed << std::setprecision(15);
Main();
return 0;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 84 |
#include <bits/stdc++.h>
/*#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
template <typename T>
using ordered_set = tree<T, null_type, less<T>, rb_tree_tag,
tree_order_statistics_node_update>;*/
#define itn int
#define all(c) c.begin(), c.end()
#define make_uni... | #include <bits/stdc++.h>
/*#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
template <typename T>
using ordered_set = tree<T, null_type, less<T>, rb_tree_tag,
tree_order_statistics_node_update>;*/
#define itn int
#define all(c) c.begin(), c.end()
#define make_uni... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 259 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
string s;
cin >> s;
if (s[0] != s[1] || s[1] != s[2]) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
string s;
cin >> s;
if (s[0] != s[1] || s[1] != s[2]) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 80 |
S = input()
sort(S)
a = 'Yes'
if S[0] == S[-1]:
a = 'No'
print(a) | S = input()
S = sorted(S)
a = 'Yes'
if S[0] == S[-1]:
a = 'No'
print(a) | [["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 35 |
s = list(input())
s.sort()
print(s)
if s[0] == s[2]:
print('No')
else:
print('Yes') | s = list(input())
s.sort()
if s[0] == s[2]:
print('No')
else:
print('Yes') | [["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 42 |
S=input()
s=set(S)
if len(s)==3:
print("Yes")
else:
print("No") | S=input()
s=set(S)
if len(s)==2:
print("Yes")
else:
print("No")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612]] | 5 | 33 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.