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 |
|---|---|---|---|---|
#include <bits/stdc++.h>
using namespace std;
#define rep(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = n - 1; i >= a; i--)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define fi first
#define se second
#define SZ(x) ((int)(x).size())
typedef vector<int> VI;
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = n - 1; i >= a; i--)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define fi first
#define se second
#define SZ(x) ((int)(x).size())
typedef vector<int> VI;
... | [["-", 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 | 250 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
int len = str.size();
if (str[3 - 1] == str[4 - 1] || str[5 - 1] == str[6 - 1]) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
int len = str.size();
if (str[3 - 1] == str[4 - 1] && str[5 - 1] == str[6 - 1]) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 80 |
#include <bits/stdc++.h>
#define int long long // at least int64 > 9*10^18
#define ENDL '\n'
#define rep(i, n) for (int i = 0; i < (n); i++)
#define print(i) std::cout << (i) << '\n'
#define all(v) (v).begin(), (v).end()
using namespace std;
signed main() {
vector<char> a(6);
rep(i, 6) { cin >> a[i]; }
bool answe... | #include <bits/stdc++.h>
#define int long long // at least int64 > 9*10^18
#define ENDL '\n'
#define rep(i, n) for (int i = 0; i < (n); i++)
#define print(i) std::cout << (i) << '\n'
#define all(v) (v).begin(), (v).end()
using namespace std;
signed main() {
vector<char> a(6);
rep(i, 6) { cin >> a[i]; }
bool answe... | [["-", 0, 57, 64, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 57, 64, 9, 0, 1, 0, 11, 17, 32], ["-", 0, 57, 64, 9, 0, 1, 0, 11, 12, 146], ["-", 8, 9, 0, 57, 64, 9, 0, 1, 0, 35], ["-", 0, 14, 8, 9, 0, 57, 64, 9, 0, 46], ["+", 0, 57, 64, 9, 0, 57, 64, 9, 0, 46]] | 1 | 134 |
# -*- coding: utf-8 -*-
x = raw_input()
mylist = list(x)
if mylist[2] == mylist[3] and mylist[4] == mylist[5]:
print('Yes')
else:
print('No') | # -*- coding: utf-8 -*-
x = input()
mylist = list(x)
if mylist[2] == mylist[3] and mylist[4] == mylist[5]:
print('Yes')
else:
print('No') | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 47 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] || s[4] == s[5]) {
cout << "Yes" << '\n';
} else {
cout << "No" << '\n';
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes" << '\n';
} else {
cout << "No" << '\n';
}
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 69 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n[0] != n[1] && n[2] == n[3] && n[4] == n[5] && n.length() == 6)
cout << "yes" << endl;
else
cout << "no" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n[0] != n[1] && n[2] == n[3] && n[4] == n[5] && n.length() == 6)
cout << "Yes" << endl;
else
cout << "No" << 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 | 76 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0, i##_len = (int)(n); i < i##_len; i++)
#define rep1(i, n) for (int i = 1, i##_len = (int)(n); i <= i##_len; i++)
#define rrep(i, n) for (int i = (int)(n)-1; 0 <= i; i--)
#define rrep1(i, n) for (int i = (int)(n); 1 <= i; i--)
#define each(it, c) ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0, i##_len = (int)(n); i < i##_len; i++)
#define rep1(i, n) for (int i = 1, i##_len = (int)(n); i <= i##_len; i++)
#define rrep(i, n) for (int i = (int)(n)-1; 0 <= i; i--)
#define rrep1(i, n) for (int i = (int)(n); 1 <= i; i--)
#define each(it, c) ... | [["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 98], ["+", 12, 23, 0, 41, 15, 16, 12, 16, 17, 60]] | 1 | 225 |
# -*- coding: utf-8 -*-
S= input()
S_list = list(S)
print(S_list)
if S_list[2] == S_list[3]:
if S_list[4] == S_list[5]:
print("Yes")
else:
print("No")
else:
print("No") | # -*- coding: utf-8 -*-
S= input()
S_list = list(S)
if S_list[2] == S_list[3]:
if S_list[4] == S_list[5]:
print("Yes")
else:
print("No")
else:
print("No") | [["-", 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 | 60 |
#include <stdio.h>
int main(void) {
char S[6];
scanf("%s", &S);
if (S[2] == S[3] && S[4] == S[5]) {
puts("YES");
} else {
puts("NO");
}
return 0;
} | #include <stdio.h>
int main(void) {
char S[6];
scanf("%s", &S);
if (S[2] == S[3] && S[4] == S[5]) {
puts("Yes");
} else {
puts("No");
}
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;
int main() {
string S;
cin >> S;
if (S[2] == S[3] && S[4] == S[5]) {
cout << "yes";
} else {
cout << "no";
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S[2] == S[3] && S[4] == S[5]) {
cout << "Yes";
} else {
cout << "No";
}
} | [["-", 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 | 58 |
#include <bits/stdc++.h>
using namespace std;
#define lli long long int
int main() {
// c_p_c();
string c;
cin >> c;
if (c[2] == c[3] && c[4] == c[5]) {
cout << "YES";
} else
cout << "NO";
return 0;
// lli c; cin>>c;
// lli hap=0;
// hap+=c/500;
// hap*=1000;
// c-=500*(c/5... | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
int main() {
// c_p_c();
string c;
cin >> c;
if (c[2] == c[3] && c[4] == c[5]) {
cout << "Yes";
} else
cout << "No";
return 0;
// lli c; cin>>c;
// lli hap=0;
// hap+=c/500;
// hap*=1000;
// c-=500*(c/... | [["-", 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 | 71 |
#include <bits/stdc++.h>
using namespace std;
#define lli long long int
void c_p_c() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
}
int main() {
// c_p_c();
string c;
cin >> c;
if (c[2] == c[3... | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
void c_p_c() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
}
int main() {
// c_p_c();
string c;
cin >> c;
if (c[2] == c[3... | [["-", 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 | 127 |
#include <bits/stdc++.h>
//#define int long long int
using namespace std;
typedef long long int ll;
int main() {
string s;
cin >> s;
cout << ((s[2] == s[3]) && (s[4] == s[5])) ? "Yes" : "No";
}
| #include <bits/stdc++.h>
//#define int long long int
using namespace std;
typedef long long int ll;
int main() {
string s;
cin >> s;
cout << (((s[2] == s[3]) && (s[4] == s[5])) ? "Yes" : "No");
}
| [["+", 0, 41, 15, 23, 0, 16, 31, 23, 0, 24], ["+", 8, 9, 0, 1, 0, 16, 12, 23, 0, 25]] | 1 | 62 |
# -*- coding: utf-8 -*-
text = list(input())
if text[2] == text[3]:
if text[4]==text[5]:
print('Yes')
else:
prinrt('No')
else:
print('No') | # -*- coding: utf-8 -*-
text = list(input())
if text[2] == text[3]:
if text[4]==text[5]:
print('Yes')
else:
print('No')
else:
print('No') | [["-", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22], ["+", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22]] | 5 | 53 |
#include <bits/stdc++.h>
using namespace std;
typedef double D;
typedef long long ll;
typedef long double ld;
typedef unsigned int ui;
typedef unsigned long long ull;
#define F first
#define S second
#define R return
#define C continue
#define pb push_back
#define pf push_front
#define mp make_pair
#define all(v) (... | #include <bits/stdc++.h>
using namespace std;
typedef double D;
typedef long long ll;
typedef long double ld;
typedef unsigned int ui;
typedef unsigned long long ull;
#define F first
#define S second
#define R return
#define C continue
#define pb push_back
#define pf push_front
#define mp make_pair
#define all(v) (... | [["-", 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 | 260 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if ((s[2] == s[3]) || (s[4] == s[5])) {
cout << "Yes\n";
} else {
cout << "No\n";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if ((s[2] == s[3]) && (s[4] == s[5])) {
cout << "Yes\n";
} else {
cout << "No\n";
}
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 64 |
#include <iostream>
using namespace std;
int main(void) {
string s;
cin >> s;
cout << ((s[2] == s[3] && s[5] == s[6]) ? "Yes" : "No") << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main(void) {
string s;
cin >> s;
cout << ((s[2] == s[3] && s[4] == s[5]) ? "Yes" : "No") << endl;
return 0;
}
| [["-", 0, 16, 12, 16, 31, 69, 341, 342, 0, 13], ["+", 0, 16, 12, 16, 31, 69, 341, 342, 0, 13], ["-", 0, 16, 12, 16, 12, 69, 341, 342, 0, 13], ["+", 0, 16, 12, 16, 12, 69, 341, 342, 0, 13]] | 1 | 59 |
// THE ONLY WAY IS UP
#include <bits/stdc++.h>
#define ll long long int
#define ld long double
#define f1(i, a, b) for (ll i = a; i < b; i++)
#define f2(a, b) for (auto a : b)
#define ar(v, i) v[i]
#define in_(x) \
ll x; ... |
// THE ONLY WAY IS UP
#include <bits/stdc++.h>
#define ll long long int
#define ld long double
#define f1(i, a, b) for (ll i = a; i < b; i++)
#define f2(a, b) for (auto a : b)
#define ar(v, i) v[i]
#define in_(x) \
ll x; ... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 120 |
s=input()
for i in range(0,6):
if(s[3]==s[4] and s[4]==s[5]):
print("Yes")
break
else:
print ("No")
break
| s=input()
for i in range(0,6):
if(s[2]==s[3] and s[4]==s[5]):
print("Yes")
break
else:
print ("No")
break
| [["-", 15, 23, 0, 679, 31, 666, 0, 206, 206, 612], ["+", 15, 23, 0, 679, 31, 666, 0, 206, 206, 612]] | 5 | 54 |
#include <stdio.h>
int main() {
int i;
char A[6];
for (i = 0; i < 6; i++) {
scanf("%c", A[i]);
}
if ((A[2] == A[3]) && (A[4] == A[5])) {
printf("Yes");
} else
printf("No");
return 0;
} | #include <stdio.h>
int main() {
int i;
char A[6];
for (i = 0; i < 6; i++) {
scanf("%c", &A[i]);
}
if ((A[2] == A[3]) && (A[4] == A[5])) {
printf("Yes");
} else
printf("No");
return 0;
}
| [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 90 |
s1,s2,s3,s4,s5,s6=input()
#print(S)
if(s3==s4):
if(s5==s6):
ans='Yes'
else:
ans='No'
print(ans) | s1,s2,s3,s4,s5,s6=input()
#print(S)
ans='No'
if(s3==s4):
if(s5==s6):
ans='Yes'
else:
ans='No'
print(ans) | [["+", 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, 557, 0, 654], ["+", 0, 656, 0, 1, 0, 662, 12, 557, 0, 6], ["+", 0, 656, 0, 1, 0, 662, 12, 557, 0, 655]] | 5 | 46 |
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.*;
import java.util.InputMismatchException;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Manan Patel
*/
public class Main {
public static void main(St... | import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.*;
import java.util.InputMismatchException;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Manan Patel
*/
public class Main {
public static void main(St... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 683 |
package main
import "fmt"
func main() {
var s string
fmt.Scanf("%s", &s)
if s[2] == s[3] && s[4] == s[5] {
println("Yes")
} else {
println("No")
}
}
| package main
import "fmt"
func main() {
var s string
fmt.Scanf("%s", &s)
if s[2] == s[3] && s[4] == s[5] {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
| [["-", 0, 57, 64, 196, 0, 1, 0, 2, 63, 22], ["+", 64, 196, 0, 1, 0, 2, 63, 438, 439, 22], ["+", 64, 196, 0, 1, 0, 2, 63, 438, 0, 131], ["+", 64, 196, 0, 1, 0, 2, 63, 438, 119, 120], ["-", 0, 57, 75, 196, 0, 1, 0, 2, 63, 22], ["+", 75, 196, 0, 1, 0, 2, 63, 438, 439, 22], ["+", 75, 196, 0, 1, 0, 2, 63, 438, 0, 131], ["+"... | 7 | 71 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
int a, b, n, i, j, k, cnt = 0, mx = 0;
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
int a, b, n, i, j, k, cnt = 0, mx = 0;
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes" << endl;
else
cout << "No" << 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 | 82 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "YES";
else {
cout << "NO";
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else {
cout << "No";
}
return 0;
}
| [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 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 | 73 |
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
string three = S.substr(2, 1);
string four = S.substr(3, 1);
string five = S.substr(4, 1);
string six = S.substr(5, 1);
string Answer = "No";
if (three == four && five == six) {
st... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
string three = S.substr(2, 1);
string four = S.substr(3, 1);
string five = S.substr(4, 1);
string six = S.substr(5, 1);
string Answer = "No";
if (three == four) {
if (five == six) ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 14, 8, 9, 0, 57, 15, 339, 0, 25], ["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 8, 9, 0, 57, 64, 9, 0, 57, 0, 121], ["+", 0, 57, 64, 9, 0, 57, 15, 339, 0, 24], ["-", 8, 9, 0, 57, 64, 9, 0, 43, 39, 78], ["+", 0, 57, 64, 9, 0, 57, 64, 9, 0, 46]] | 1 | 103 |
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
string three = S.substr(2, 1);
string four = S.substr(3, 1);
string five = S.substr(4, 1);
string six = S.substr(5, 1);
string Answer = "No";
if (three == four && five == six) {
st... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
string three = S.substr(2, 1);
string four = S.substr(3, 1);
string five = S.substr(4, 1);
string six = S.substr(5, 1);
string Answer = "No";
if (three == four && five == six) {
An... | [["-", 8, 9, 0, 57, 64, 9, 0, 43, 39, 78]] | 1 | 103 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
vector<int> adj[100001];
int visited[100001];
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
int n = s.size();
if (s[2] == s[3] && s[4] == s[4]) {
cout << "Yes\n";
} else
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
vector<int> adj[100001];
int visited[100001];
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
int n = s.size();
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes\n";
} else
... | [["-", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13]] | 1 | 109 |
#include <bits/stdc++.h>
#define pb push_back
#define mp make_pair
#define mt make_tuple
#define f first
#define s second
#define ff find_first_of
#define fl find_last_of
#define all(s) (s).begin(), (s).end()
#define rall(s) (s).rbegin(), (s).rend()
#define bs(x) (bitset<18>(x)).to_string()
#define sep ios::sync_with_s... | #include <bits/stdc++.h>
#define pb push_back
#define mp make_pair
#define mt make_tuple
#define f first
#define s second
#define ff find_first_of
#define fl find_last_of
#define all(s) (s).begin(), (s).end()
#define rall(s) (s).rbegin(), (s).rend()
#define bs(x) (bitset<18>(x)).to_string()
#define sep ios::sync_with_s... | [["-", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 102 |
#include <iostream>
#include <stdio.h>
int main(void) {
char str[6];
scanf("%s", str);
if (str[2] == str[3]) {
if (str[4] == str[5]) {
printf("YES");
return 0;
}
}
printf("NO");
return 0;
} | #include <iostream>
#include <stdio.h>
int main(void) {
char str[6];
scanf("%s", str);
if (str[2] == str[3]) {
if (str[4] == str[5]) {
printf("Yes");
return 0;
}
}
printf("No");
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 74 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
int count = 0;
if (S.at(2) == S.at(3)) {
count += 1;
}
if (S.at(4) == S.at(5)) {
count += 1;
}
if (count == 3) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
int count = 0;
if (S.at(2) == S.at(3)) {
count += 1;
}
if (S.at(4) == S.at(5)) {
count += 1;
}
if (count == 2) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 95 |
#include <bits/stdc++.h>
#define int long long int
#define pb push_back
#define endl "\n"
#define F first
#define S second
#define mod 1000000007
using namespace std;
main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
if (s[2] == s[3] and s[4] == s[6])
cout << "Yes"... | #include <bits/stdc++.h>
#define int long long int
#define pb push_back
#define endl "\n"
#define F first
#define S second
#define mod 1000000007
using namespace std;
main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
if (s[2] == s[3] and s[4] == s[5])
cout << "Yes"... | [["-", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13]] | 1 | 92 |
# -*- coding: utf-8 -*-
s = list(input())
if s[2] == s[3] and s[4] == s[5]:
print("Yes")
else:
print("no")
| # -*- coding: utf-8 -*-
s = list(input())
if s[2] == s[3] and s[4] == s[5]:
print("Yes")
else:
print("No")
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 44 |
#include <bits/stdc++.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define int lon... | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define int lon... | [["-", 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 | 204 |
x = str(input())
if x[2]==x[3] or x[4]==x[5]:
print('Yes')
else:
print('No') | x = str(input())
if x[2]==x[3] and x[4]==x[5]:
print('Yes')
else:
print('No') | [["-", 36, 36, 0, 656, 0, 57, 15, 679, 17, 354], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 43 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
typedef long long ll;
int main() {
string s;
cin >> s;
if (s[2] == s[3] || s[4] == s[5])
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
typedef long long ll;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 79 |
#include <bits/stdc++.h>
#define all(a) (a).begin(), (a).end()
using namespace std;
typedef long long ll;
int main() {
string S;
cin >> S;
if (S.at(2) = S.at(3) && S.at(4) == S.at(5)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
#define all(a) (a).begin(), (a).end()
using namespace std;
typedef long long ll;
int main() {
string S;
cin >> S;
if (S.at(2) == S.at(3) && S.at(4) == S.at(5)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 60]] | 1 | 81 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if ((S.at(2) == S.at(3)) && (S.at(4) = S.at(5))) {
cout << "Yes" << endl;
return 0;
}
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if ((S.at(2) == S.at(3)) && (S.at(4) == S.at(5))) {
cout << "Yes" << endl;
return 0;
}
cout << "No" << endl;
return 0;
}
| [["-", 15, 339, 51, 16, 12, 23, 0, 42, 0, 32], ["+", 15, 339, 51, 16, 12, 23, 0, 16, 17, 60]] | 1 | 77 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if ((s[2] == s[3]) && (s[4] == s[5]))
cout << "YES";
else
cout << "NO";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if ((s[2] == s[3]) && (s[4] == s[5]))
cout << "Yes";
else
cout << "No";
}
| [["-", 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 | 58 |
#include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#define mm(a, x) memset(a, x, sizeof(a))
#define sync \
std::ios::sync_with_stdio(false); \
std::cin.tie(0)
#define ll long long
u... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#define mm(a, x) memset(a, x, sizeof(a))
#define sync \
std::ios::sync_with_stdio(false); \
std::cin.tie(0)
#define ll long long
u... | [["-", 15, 339, 51, 16, 12, 69, 341, 342, 0, 13], ["+", 15, 339, 51, 16, 12, 69, 341, 342, 0, 13]] | 1 | 104 |
#include <stdio.h>
#include <string.h>
int main() {
char s[100];
scanf("%s", s);
int l = strlen(s);
if (l >= 6) {
if (s[2] == s[3] && s[4] == s[5])
printf("YES");
else
printf("NO");
} else
printf("NO");
return 0;
} | #include <stdio.h>
#include <string.h>
int main() {
char s[100000];
scanf("%s", s);
int l = strlen(s);
if (l >= 6) {
if (s[2] == s[3] && s[4] == s[5])
printf("Yes");
else
printf("No");
} 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], ["-", 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, 6]] | 0 | 89 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "yes\n";
} else {
cout << "no\n";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes\n";
} else {
cout << "No\n";
}
}
| [["-", 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 | 60 |
#include <iostream>
using namespace std;
int main() {
char a[6];
int i, flag = 0;
for (i = 0; i < 6; i++) {
cin >> a[i];
}
for (i = 0; i < 6; i++) {
if ((a[2] == a[3]) && (a[4] == a[5]))
flag = 1;
else
flag = 0;
}
if (flag == 0)
cout << "NO" << endl;
else
cout << "YES" <... | #include <iostream>
using namespace std;
int main() {
char a[6];
int i, flag = 0;
for (i = 0; i < 6; i++) {
cin >> a[i];
}
for (i = 0; i < 6; i++) {
if ((a[2] == a[3]) && (a[4] == a[5]))
flag = 1;
else
flag = 0;
}
if (flag == 0)
cout << "No" << endl;
else
cout << "Yes" <... | [["-", 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 | 120 |
#include <bits/stdc++.h>
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector<vi>
#define pii pair<int, int>
#define pll pair<long long, long long>
#define inf 1000000000000000001
#define mod 1000000007
#define all(c) c.begin(), c.end()
#define mp(x, y) make_pair(x, y)
#define mem(a... | #include <bits/stdc++.h>
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector<vi>
#define pii pair<int, int>
#define pll pair<long long, long long>
#define inf 1000000000000000001
#define mod 1000000007
#define all(c) c.begin(), c.end()
#define mp(x, y) make_pair(x, y)
#define mem(a... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 185 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
#define li long
#define ll long long
#define ull unsigned long long
#define ff first
#define ss second
#define pii pair<int, int>
#define pli pair<li, li>
#define pll pair<ll, ll>
#define pb push_back
#define fori(i, k, n) for (int i = k; i < n; i++)
#de... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
#define li long
#define ll long long
#define ull unsigned long long
#define ff first
#define ss second
#define pii pair<int, int>
#define pli pair<li, li>
#define pll pair<ll, ll>
#define pb push_back
#define fori(i, k, n) for (int i = k; i < n; i++)
#de... | [["-", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13]] | 1 | 638 |
#include <bits/stdc++.h>
using namespace std;
template <class T> bool chmax(T &a, const T &b) {
if (b > a) {
a = b;
return 1;
}
return 0;
}
template <class T> bool chmin(T &a, const T &b) {
if (b < a) {
a = b;
return 1;
}
return 0;
}
const long long INF = 2LL << 60;
using ll = long long;
usi... | #include <bits/stdc++.h>
using namespace std;
template <class T> bool chmax(T &a, const T &b) {
if (b > a) {
a = b;
return 1;
}
return 0;
}
template <class T> bool chmin(T &a, const T &b) {
if (b < a) {
a = b;
return 1;
}
return 0;
}
const long long INF = 2LL << 60;
using ll = long long;
usi... | [["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 73], ["-", 341, 342, 0, 16, 12, 69, 341, 342, 0, 73]] | 1 | 179 |
S = gets.chomp
isCoffeely = "No"
if S[2] == S[3] then
if S[4] == S[5] then
isCoffeely = "Yes"
end
end
puts is isCoffeely
| S = gets.chomp
isCoffeely = "No"
if S[2] == S[3] then
if S[4] == S[5] then
isCoffeely = "Yes"
end
end
puts isCoffeely
| [["-", 0, 493, 0, 652, 3, 4, 0, 652, 735, 22]] | 4 | 42 |
#include <iostream>
#include <string>
#pragma GCC optimize("Ofast")
#pragma GCC optimize("O3")
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
string s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
cout << "No";
} | #include <iostream>
#include <string>
#pragma GCC optimize("Ofast")
#pragma GCC optimize("O3")
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
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 | 70 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] || s[4] == s[5])
cout << "Yes\n";
else
cout << "No\n";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes\n";
else
cout << "No\n";
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 56 |
#include <iostream>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
if (s[3] == s[4]) {
if (s[5] == s[6]) {
cout << "Yes";
return 0;
}
}
cout << "No";
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
if (s[2] == s[3]) {
if (s[4] == s[5]) {
cout << "Yes";
return 0;
}
}
cout << "No";
return 0;
} | [["-", 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 | 68 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[5] == s[6])
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 51, 16, 12, 16, 31, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 13], ["-", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13]] | 1 | 66 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
sc.close();
char three = s.charAt(2);
char four = s.charAt(2);
char five = s.charAt(2);
char six = s.charAt(2);
boolean answer = false;
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
sc.close();
char three = s.charAt(2);
char four = s.charAt(3);
char five = s.charAt(4);
char six = s.charAt(5);
boolean answer = false;
... | [["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 499], ["+", 0, 503, 49, 200, 51, 492, 3, 4, 0, 499]] | 3 | 158 |
S = list(input())
if S[4] == S[5] and S[2] == S[3]:
print("Yes")
else:
print("No")
print(S)
| S = list(input())
if S[4] == S[5] and S[2] == S[3]:
print("Yes")
else:
print("No") | [["-", 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 | 47 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(begin, i, end) for (int i = begin; i < (int)(end); i++)
#define all(v) v.begin(), v.end()
const int MOD = 1000000007;
int main() {
string S;
cin >> S;
if ((S.at(2) == S.at(3)) && (S.at((4) == S.at(5)))) {
cout << "Yes" << endl;
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(begin, i, end) for (int i = begin; i < (int)(end); i++)
#define all(v) v.begin(), v.end()
const int MOD = 1000000007;
int main() {
string S;
cin >> S;
if ((S.at(2) == S.at(3)) && (S.at(4) == S.at(5))) {
cout << "Yes" << endl;
}... | [["-", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["-", 3, 4, 0, 16, 12, 2, 3, 4, 0, 25]] | 1 | 103 |
# Wrote in Mar 28, 2020 21:00 by reetok
require 'time'
require 'prime'
require 'bigdecimal'
def inp(type=:to_i,spst=" ")
return eval("gets.chomp.split(#{spst}).map(&:#{type})")
end
def inpf() return self.inp(:to_f," ") end
def inps() return self.inp(:to_s," ") end
def r_up(a, b) (a/b).ceil end
def r_down(a, b) (a/b).... | # Wrote in Mar 28, 2020 21:00 by reetok
require 'time'
require 'prime'
require 'bigdecimal'
def inp(type=:to_i,spst=" ")
return eval("gets.chomp.split(#{spst}).map(&:#{type})")
end
def inpf() return self.inp(:to_f," ") end
def inps() return self.inp(:to_s," ") end
def r_up(a, b) (a/b).ceil end
def r_down(a, b) (a/b).... | [["-", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22], ["-", 0, 121, 15, 738, 31, 738, 12, 742, 0, 612], ["+", 0, 121, 15, 738, 31, 738, 12, 742, 0, 612]] | 4 | 348 |
#include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = a; i < b; ++i)
#define FR(a, b) for (int i = a; i >= b; --i)
#define _upgrade \
cin.tie(0); \
ios_base::sync_with_stdio(0)
#defin... | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = a; i < b; ++i)
#define FR(a, b) for (int i = a; i >= b; --i)
#define _upgrade \
cin.tie(0); \
ios_base::sync_with_stdio(0)
#defin... | [["-", 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 | 136 |
S=input()
ans="No"
if S[2==3] and S[4==5]:
ans="Yes"
print(ans) | S=input()
ans="No"
if S[2]==S[3] and S[4]==S[5]:
ans="Yes"
print(ans) | [["+", 0, 57, 15, 679, 31, 666, 0, 206, 0, 73], ["+", 0, 57, 15, 679, 31, 666, 0, 206, 51, 22], ["+", 0, 57, 15, 679, 31, 666, 0, 206, 0, 70], ["+", 0, 57, 15, 679, 12, 666, 0, 206, 0, 73], ["+", 0, 57, 15, 679, 12, 666, 0, 206, 51, 22], ["+", 0, 57, 15, 679, 12, 666, 0, 206, 0, 70]] | 5 | 34 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ull unsigned long long int
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define pb push_back
#define mp mak... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ull unsigned long long int
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define pb push_back
#define mp mak... | [["-", 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 | 154 |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
if (s.length() == 6 && s.charAt(2) == s.charAt(3) &&
s.charAt(4) == s.charAt(5)) {
System.out.println("Yes");
... | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
if (s.length() == 6 && s.charAt(2) == s.charAt(3) &&
s.charAt(4) == s.charAt(5)) {
System.out.println("Yes");
... | [["+", 8, 498, 0, 195, 8, 196, 0, 57, 0, 95], ["+", 0, 195, 8, 196, 0, 57, 75, 196, 0, 45], ["+", 0, 195, 8, 196, 0, 57, 75, 196, 0, 46]] | 3 | 115 |
#include <bits/stdc++.h>
#define int long long
#define endl '\n'
#define pb push_back
using namespace std;
int32_t main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int t = 1;
// cin>>t;
while (t--) {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "YES" << endl;... | #include <bits/stdc++.h>
#define int long long
#define endl '\n'
#define pb push_back
using namespace std;
int32_t main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int t = 1;
// cin>>t;
while (t--) {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes" << endl;... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 105 |
#include <bits/stdc++.h>
#include <iostream>
#define int long long
using namespace std;
signed main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
#include <iostream>
#define int long long
using namespace std;
signed main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
cout << "No";
} | [["-", 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 | 59 |
/// Astalavista Code........~CodeSlayer007
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define int long long
#define double long double
#define PT(x) cout << (#x) << " is " << (x) << endl;
#define SPD_emergency \
ios_base::sync_with_stdio(fa... | /// Astalavista Code........~CodeSlayer007
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define int long long
#define double long double
#define PT(x) cout << (#x) << " is " << (x) << endl;
#define SPD_emergency \
ios_base::sync_with_stdio(fa... | [["-", 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 | 198 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <regex>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
r... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <regex>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
r... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 156 |
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
if ((s[2] == s[3]) && (s[4] && s[5])) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
if ((s[2] == s[3]) && (s[4] == s[5])) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 15, 339, 51, 16, 12, 23, 0, 16, 17, 98], ["+", 15, 339, 51, 16, 12, 23, 0, 16, 17, 60]] | 1 | 66 |
#include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
if (s.at(2) == s.at(3) || s.at(4) == s.at(5))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
if (s.at(2) == s.at(3) && s.at(4) == s.at(5))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 69 |
# -*- coding: utf-8 -*-
s = input()
if s[2]==s[3] or s[4]==s[5]:
print('Yes')
else:
print('No') | # -*- coding: utf-8 -*-
s = input()
if s[2]==s[3] and s[4]==s[5]:
print('Yes')
else:
print('No') | [["-", 36, 36, 0, 656, 0, 57, 15, 679, 17, 354], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 41 |
#include <bits/stdc++.h>
using namespace std;
void judge(string &str);
int main() {
string str;
cin >> str;
judge(str);
return 0;
}
void judge(string &str) {
str[2] == str[3] && str[4] == str[5] ? cout << "YES" << endl
: cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
void judge(string &str);
int main() {
string str;
cin >> str;
judge(str);
return 0;
}
void judge(string &str) {
str[2] == str[3] && str[4] == str[5] ? cout << "Yes" << endl
: cout << "No" << endl;
} | [["-", 0, 41, 64, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 41, 64, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 41, 75, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 41, 75, 16, 31, 16, 12, 5, 0, 6]] | 1 | 80 |
N = input()
if(N[2] == N[3]):
if(N[4] == N[5]):
print("Yes")
else:
print("No")
| N = input()
if(N[2] == N[3] and N[4] == N[5]):
print("Yes")
else:
print("No")
| [["-", 36, 36, 0, 656, 0, 57, 15, 23, 0, 25], ["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 102], ["-", 0, 656, 0, 57, 64, 196, 0, 57, 0, 121], ["-", 0, 57, 64, 196, 0, 57, 15, 23, 0, 24], ["+", 0, 656, 0, 57, 15, 23, 0, 679, 17, 355]] | 5 | 45 |
#include "bits/stdc++.h"
using namespace std;
int main() {
string s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include "bits/stdc++.h"
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
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 | 63 |
input = gets.split("")
if (input[2] == input[3] && input[4] == input[5])
puts "YES"
else
puts "NO"
end | input = gets.split("")
if (input[2] == input[3] && input[4] == input[5])
puts "Yes"
else
puts "No"
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 | 41 |
s=input()
flag=0
if s[2]!=s[3]:
flag=1
if s[4]!=s[5]:
flag==1
if flag==0:
print("Yes")
else:
print("No")
| s=input()
flag=0
if s[2]!=s[3]:
flag=1
if s[4]!=s[5]:
flag=1
if flag==0:
print("Yes")
else:
print("No")
| [["-", 0, 57, 64, 196, 0, 1, 0, 666, 667, 60], ["+", 0, 57, 64, 196, 0, 1, 0, 662, 0, 32]] | 5 | 55 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string in;
cin >> in;
if (in[2] == in[3] && in[4] == in[5]) {
cout << "Yse\n";
} else {
cout << "No\n";
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string in;
cin >> in;
if (in[2] == in[3] && in[4] == in[5]) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
}
| [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 63 |
a = list(input())
if a[2]==a[3] & a[4]==a[5]:
print("Yes")
else:
print("No") | a = list(input())
if a[2]==a[3] and a[4]==a[5]:
print("Yes")
else:
print("No") | [["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 67], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 43 |
#include <bits/stdc++.h>
#define pb(x) push_back(x);
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] && s[5]) {
cout << "Yes";
} else {
cout << "No";
}
} | #include <bits/stdc++.h>
#define pb(x) push_back(x);
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes";
} else {
cout << "No";
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 64 |
// In the name of God:)
#include <bits/stdc++.h>
#define pb push_back
#define F first
#define S second
#define pii pair<int, int>
#define int long long
using namespace std;
void solve() {}
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
string str, tmp;
str = '1';
cin >> t... | // In the name of God:)
#include <bits/stdc++.h>
#define pb push_back
#define F first
#define S second
#define pii pair<int, int>
#define int long long
using namespace std;
void solve() {}
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
string str, tmp;
str = '1';
cin >> t... | [["-", 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 | 113 |
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.*;
import java.util.Map.Entry;
/**
* "Actual solution is at the top"
*
*
* @author ganjoo_kosam
*/
public class Main {
public static void main(String[] args) {
InputStream inputSt... | import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.*;
import java.util.Map.Entry;
/**
* "Actual solution is at the top"
*
*
* @author ganjoo_kosam
*/
public class Main {
public static void main(String[] args) {
InputStream inputSt... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 647 |
import java.util.*;
class Main {
public static void main(String[] args) {
int t, n, l;
Scanner s = new Scanner(System.in);
String str = s.next();
if (str.charAt(2) == str.charAt(3) && str.charAt(4) == str.charAt(5))
System.out.println("YES");
else
System.out.println("NO");
}
}
| import java.util.*;
class Main {
public static void main(String[] args) {
int t, n, l;
Scanner s = new Scanner(System.in);
String str = s.next();
if (str.charAt(2) == str.charAt(3) && str.charAt(4) == str.charAt(5))
System.out.println("Yes");
else
System.out.println("No");
}
} | [["-", 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 | 103 |
#include <bits/stdc++.h>
#define F first
#define S second
#define pb push_back
#define mp make_pair
#define full(a) a.begin(), a.end()
#define rfull(a) a.rbegin(), a.rend()
using namespace std;
const double pi = acos(-1.0);
const double pii = 2 * pi;
const double eps = 1e-6;
const long long MOD = 1e9 + 7;
void solve(... | #include <bits/stdc++.h>
#define F first
#define S second
#define pb push_back
#define mp make_pair
#define full(a) a.begin(), a.end()
#define rfull(a) a.rbegin(), a.rend()
using namespace std;
const double pi = acos(-1.0);
const double pii = 2 * pi;
const double eps = 1e-6;
const long long MOD = 1e9 + 7;
void solve(... | [["-", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13]] | 1 | 160 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
int main() {
string S;
cin >> S;
if (S.at(2) == S.at(3) && S.at(3) == S.at(4)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
int main() {
string S;
cin >> S;
if (S.at(2) == S.at(3) && S.at(4) == S.at(5)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [["-", 51, 16, 12, 16, 31, 2, 3, 4, 0, 13], ["+", 51, 16, 12, 16, 31, 2, 3, 4, 0, 13], ["-", 51, 16, 12, 16, 12, 2, 3, 4, 0, 13], ["+", 51, 16, 12, 16, 12, 2, 3, 4, 0, 13]] | 1 | 87 |
#include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
"No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
cout << "No";
return 0;
}
| [["+", 0, 57, 75, 76, 0, 1, 0, 16, 31, 22], ["+", 0, 57, 75, 76, 0, 1, 0, 16, 17, 151]] | 1 | 55 |
#include <iostream>
using namespace std;
int main() {
string str;
cin >> str;
if (str[2] == str[4] && str[3] == str[5])
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
| #include <iostream>
using namespace std;
int main() {
string str;
cin >> str;
if (str[2] == str[3] && str[4] == str[5])
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
| [["-", 51, 16, 31, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 31, 16, 12, 69, 341, 342, 0, 13], ["-", 51, 16, 12, 16, 31, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 13]] | 1 | 59 |
/*
_________ ____ __ __ __ __ __ __ __
|___ ___| / __) | | | | | \ / | / \ | \ | |
| | __ ( {__ | | | | | \ / | / /\ \ | \| |
| | /__\ \__ \ | |_| | | \/ | / ____ \ | ... | /*
_________ ____ __ __ __ __ __ __ __
|___ ___| / __) | | | | | \ / | / \ | \ | |
| | __ ( {__ | | | | | \ / | / /\ \ | \| |
| | /__\ \__ \ | |_| | | \/ | / ____ \ | ... | [["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 152 |
#include <math.h>
#include <stdio.h>
int main(void) {
char tryal[6];
for (int i = 0; i < 6; i++) {
scanf("char", &tryal[i]);
}
if ((tryal[2] == tryal[3]) && (tryal[4] == tryal[5])) {
printf("Yes");
} else {
printf("No");
}
}
| #include <math.h>
#include <stdio.h>
int main(void) {
char tryal[6];
for (int i = 0; i < 6; i++) {
scanf("%c", &tryal[i]);
}
if ((tryal[2] == tryal[3]) && (tryal[4] == tryal[5])) {
printf("Yes");
} else {
printf("No");
}
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 91 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define mp make_pair
#define M 1000000007
#define all(v) (v).begin(), (v).end()
#define rall(v) (v).rbegin(), (v).rend()
const int N = 2e5 + 5, mod = 998244353;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define mp make_pair
#define M 1000000007
#define all(v) (v).begin(), (v).end()
#define rall(v) (v).rbegin(), (v).rend()
const int N = 2e5 + 5, mod = 998244353;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]... | [["-", 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, 6]] | 1 | 92 |
S = input()
temp = []
for i in S:
temp.append(i)
if temp[2] == temp [3] or temp[4] == temp[5]:
print("Yes")
else:
print("No") | S = input()
temp = []
for i in S:
temp.append(i)
if temp[2] == temp [3] and temp[4] == temp[5]:
print("Yes")
else:
print("No") | [["-", 36, 36, 0, 656, 0, 57, 15, 679, 17, 354], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 55 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s.at(2) == s.at(3) || s.at(4) == s.at(5))
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s.at(2) == s.at(3) && s.at(4) == s.at(5))
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 66 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "YES";
else
cout << "NO" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
cout << "No" << endl;
}
| [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 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 | 56 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.at(2) == S.at(3) | S.at(4) == S.at(5)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.at(2) == S.at(3) && S.at(4) == S.at(5)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 139], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 73 |
s=input()
print('Yse' if s[2] is s[3] and s[4] is s[5] else 'No') | s=input()
print('Yes' if s[2] in s[3] and s[4] in s[5] else 'No') | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["-", 3, 4, 0, 41, 0, 679, 31, 666, 667, 709], ["+", 3, 4, 0, 41, 0, 679, 31, 666, 667, 267], ["-", 3, 4, 0, 41, 0, 679, 12, 666, 667, 709], ["+", 3, 4, 0, 41, 0, 679, 12, 666, 667, 267]] | 5 | 35 |
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() {
char m[20];
scanf("%s", m);
if (m[2] == m[3] && m[4] == m[5]) {
printf("yes");
} else {
printf("no");
}
return 0;
}
|
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() {
char m[20];
scanf("%s", m);
if (m[2] == m[3] && m[4] == m[5]) {
printf("Yes");
} else {
printf("No");
}
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 69 |
#include <iostream>
using namespace std;
int main(void) {
char S[6];
cin >> S;
bool islike = true;
if (S[2] != S[3]) {
}
if (S[4] != S[5]) {
islike = false;
}
if (islike) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
char S[6];
cin >> S;
bool islike = true;
if (S[2] != S[3]) {
islike = false;
}
if (S[4] != S[5]) {
islike = false;
}
if (islike) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["+", 0, 57, 64, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 12, 147], ["+", 8, 9, 0, 57, 64, 9, 0, 1, 0, 35]] | 1 | 88 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string str = "";
string r = "No";
cin >> str;
if (str.at(2) == str.at(3) && str.at(4) && str.at(5)) {
r = "Yes";
}
cout << r << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string str = "";
string r = "No";
cin >> str;
if (str.at(2) == str.at(3) && str.at(4) == str.at(5)) {
r = "Yes";
}
cout << r << endl;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 73 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
string str;
int i, l;
cin >> str;
if (str[2] == str[3] && str[4] == str[5]) {
cout << "yes";
} else {
cout << "no";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
string str;
int i, l;
cin >> str;
if (str[2] == str[3] && str[4] == str[5]) {
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 | 72 |
#include <stdio.h>
int main() {
char A[6];
scanf("%s", A);
int i;
if ((A[2] = A[3]) && (A[4] = A[5])) {
printf("Yes");
} else {
printf("No");
}
return 0;
}
| #include <stdio.h>
int main() {
char A[6];
scanf("%s", A);
int i;
if ((A[2] == A[3]) && (A[4] == A[5])) {
printf("Yes");
} else {
printf("No");
}
return 0;
}
| [["-", 15, 23, 0, 16, 31, 23, 0, 11, 17, 32], ["+", 15, 23, 0, 16, 31, 23, 0, 16, 17, 60], ["-", 15, 23, 0, 16, 12, 23, 0, 11, 17, 32], ["+", 15, 23, 0, 16, 12, 23, 0, 16, 17, 60]] | 0 | 74 |
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3], s[4] == s[5])
cout << "Yes" << '\n';
else
cout << "No" << '\n';
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes" << '\n';
else
cout << "No" << '\n';
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 34, 0, 21], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 67 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define NOT_FOUND -1
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
/*for文のマクロ定義
rep(i,回数){
処理
}
*/
void swap(int *a, int *b) {
*b = *a - *b;
*a -= *b;
*b += *a;
}
int sosu_judge(int N)... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define NOT_FOUND -1
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
/*for文のマクロ定義
rep(i,回数){
処理
}
*/
void swap(int *a, int *b) {
*b = *a - *b;
*a -= *b;
*b += *a;
}
int sosu_judge(int N)... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 582 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String word = sc.next();
char[] wordStr = word.toCharArray();
if (wordStr[2] != wordStr[3]) {
System.out.println("No");
return;
}
if (wordStr[4] == wordStr[... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String word = sc.next();
char[] wordStr = word.toCharArray();
if (wordStr[2] != wordStr[3]) {
System.out.println("No");
return;
}
if (wordStr[4] != wordStr[5... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 60], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 79]] | 3 | 120 |
S = input()
if(S[2]==S[3] and S[4]==S[5]):
print("yes")
exit()
print("No") | S = input()
if(S[2]==S[3] and S[4]==S[5]):
print("Yes")
exit()
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 43 |
# problem A
X = list(input())
if (X[2] == X[3]) and (X[4] == X[5]):
print('Yes')
else:
prin('No') | # problem A
X = list(input())
if (X[2] == X[3]) and (X[4] == X[5]):
print('Yes')
else:
print('No') | [["-", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22], ["+", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22]] | 5 | 48 |
#include <bits/stdc++.h>
using namespace std;
typedef unsigned long long int ll;
int arr[100005];
int arr2[100005];
// ll Pow(ll base , ll power)
// void sieve_eratosthenes(int n);
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string a;
cin >> a;
if (a.size() < 6) {
cout << "NO" <<... | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long int ll;
int arr[100005];
int arr2[100005];
// ll Pow(ll base , ll power)
// void sieve_eratosthenes(int n);
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string a;
cin >> a;
if (a.size() < 6) {
cout << "NO" <<... | [["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 60]] | 1 | 125 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.