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>
#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() {
ios::sync_with_stdio(false);
cin.tie(0);
string s;
cin >> s;
if (s.at(2) == s.at(3) && s.at(4 == s.at(5)))
cout << "Yes" << endl;
else {
cout ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
string s;
cin >> s;
if (s.at(2) == s.at(3) && s.at(4) == s.at(5))
cout << "Yes" << endl;
else {
cout ... | [["+", 51, 16, 12, 16, 31, 2, 3, 4, 0, 25], ["-", 3, 4, 0, 16, 12, 2, 3, 4, 0, 25]] | 1 | 109 |
#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;
} | #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, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 65 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
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 ll long long
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 | 65 |
#include <stdio.h>
int main() {
char s[6];
int i;
for (i = 0; i < 6; i++) {
scanf("%s", s[i]);
}
if (s[2] == s[3] && s[4] == s[5]) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | #include <stdio.h>
int main() {
char s[6];
int i;
for (i = 0; i < 6; i++) {
scanf("%s", &s[i]);
}
if (s[2] == s[3] && s[4] == s[5]) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 1 | 88 |
#include <stdio.h>
int main() {
int Sr[10];
scanf("%s", Sr);
printf("\n");
if (Sr[2] == Sr[3] && Sr[4] == Sr[5]) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
char Sr[10];
scanf("%s", Sr);
printf("\n");
if (Sr[2] == Sr[3] && Sr[4] == Sr[5]) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 76 |
#include <stdio.h>
int main() {
int Sr[7];
scanf("%s", Sr);
printf("\n");
if (Sr[2] == Sr[3] && Sr[4] == Sr[5]) {
printf("Yes");
} else {
printf("No");
}
return 0;
}
| #include <stdio.h>
int main() {
char Sr[10];
scanf("%s", Sr);
printf("\n");
if (Sr[2] == Sr[3] && Sr[4] == Sr[5]) {
printf("Yes");
} else {
printf("No");
}
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13]] | 0 | 74 |
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
typedef long long lint;
int main() {
string s;
cin >> s;
if (s[2] == s[3] || s[4] == s[5])
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
typedef long long lint;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[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 | 74 |
#include <iostream>
using namespace std;
int main() {
char str[6];
cin >> str;
if (str[3] == str[2] || str[5] == str[4])
cout << "Yes";
else
cout << "No";
} | #include <iostream>
using namespace std;
int main() {
char str[6];
cin >> str;
if (str[3] == str[2] && str[5] == str[4])
cout << "Yes";
else
cout << "No";
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 57 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string 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;
}
} | [["+", 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 | 66 |
N = input()
N = str(N)
if (N[2] == N[3]) and (N[4] == N[5]):
print(True)
else:
print(False) | N = input()
N = str(N)
if (N[2] == N[3]) and (N[4] == N[5]):
print('Yes')
else:
print('No') | [["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 146], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 147]] | 5 | 46 |
#pragma comment(linker, "/stack:20000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx")
#include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
#define se second
#define fi first
#define ss size()
#define pb push_back
#define mp make_pair
#define ins insert
#... | #pragma comment(linker, "/stack:20000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx")
#include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
#define se second
#define fi first
#define ss size()
#define pb push_back
#define mp make_pair
#define ins insert
#... | [["-", 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 | 337 |
word = map(str, input())
if word[2]==word[3] and word[4]==word[5]:
print('Yes')
else:
print('No') | word = str(input())
if word[2]==word[3] and word[4]==word[5]:
print('Yes')
else:
print('No') | [["-", 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, 21], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24]] | 5 | 45 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
string s;
if (s[2] == s[3] and s[4] == s[5]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
int main() {
string s;
cin >> s;
if (s[2] == s[3] and s[4] == s[5]) {
cout << "Yes" << endl;
} else {
cout << "No" << 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 | 76 |
s = str(input())
if s[2:3] == s[3:4] or s[4:5] == s[5:6]:
print("Yes")
else:
print("No") | s = str(input())
if s[2:3] == s[3:4] and s[4:5] == s[5:6]:
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 | 51 |
#include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define sz(x) (int)((x).size())
#define debug(x) cout << #x << ":" << x << ' ';
#define debugg(x) cout << #x << ":" << x << ' ' << "\n";
#define endl "\n"
#define L(X) ((X) << 1)
#define R(X) (((X) << 1) | 1)
#define... | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define sz(x) (int)((x).size())
#define debug(x) cout << #x << ":" << x << ' ';
#define debugg(x) cout << #x << ":" << x << ' ' << "\n";
#define endl "\n"
#define L(X) ((X) << 1)
#define R(X) (((X) << 1) | 1)
#define... | [["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95]] | 1 | 554 |
#include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define pb push_back
#define eb emplace_back
#define mkp make_pair
#define SZ(x) ((int)(x).size())
#define MEM(x, a) memset(x, a, sizeof(x))
#define rep(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = n - 1; i >= a; ... | #include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define pb push_back
#define eb emplace_back
#define mkp make_pair
#define SZ(x) ((int)(x).size())
#define MEM(x, a) memset(x, a, sizeof(x))
#define rep(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = n - 1; i >= a; ... | [["-", 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 | 256 |
#include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
string s;
cin >> s;
if (s[2] == s[3] && s[3] == s[5])
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
#define ll long long int
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;
} | [["-", 51, 16, 12, 16, 31, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 31, 69, 341, 342, 0, 13]] | 1 | 74 |
import java.util.*;
class Main {
public static void main(String[] a) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
System.out.println(s.charAt(2) == s.charAt(3) && s.charAt(4) == s.charAt(6)
? "Yes"
: "No");
}
} | import java.util.*;
class Main {
public static void main(String[] a) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
System.out.println(s.charAt(2) == s.charAt(3) && s.charAt(4) == s.charAt(5)
? "Yes"
: "No");
}
} | [["-", 15, 16, 12, 16, 12, 492, 3, 4, 0, 499], ["+", 15, 16, 12, 16, 12, 492, 3, 4, 0, 499]] | 3 | 86 |
#pragma comment(linker, "/stack:20000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx")
#include <bits/stdc++.h>
#include <stdio.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <x86intrin.h>
using namespace __gnu_pbds;
template <typename T>
usi... | #pragma comment(linker, "/stack:20000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx")
#include <bits/stdc++.h>
#include <stdio.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <x86intrin.h>
using namespace __gnu_pbds;
template <typename T>
usi... | [["-", 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 | 167 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string md;
cin >> md;
if (md[2] == md[3] && md[4] == md[5])
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string md;
cin >> md;
if (md[2] == md[3] && md[4] == md[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 | 54 |
#include <bits/stdc++.h>
using namespace std;
void sol() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "YES" << endl;
}
else {
cout << "NO" << endl;
}
}
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
sol();
} | #include <bits/stdc++.h>
using namespace std;
void sol() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
}
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
sol();
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 93 |
//
// Created by chuan on 2020-04-10.
//
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using ll = long long;
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
string s;
cin >> s;
for (auto &c : s) {
if (!islower(c)) {
cout << "NO" << endl;
re... |
//
// Created by chuan on 2020-04-10.
//
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using ll = long long;
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
string s;
cin >> s;
for (auto &c : s) {
if (!islower(c)) {
cout << "No" << endl;
re... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 122 |
#include <algorithm>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define EPS (1e-7)
#define INF (1e... | #include <algorithm>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define EPS (1e-7)
#define INF (1e... | [["-", 64, 9, 0, 1, 0, 11, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 11, 12, 5, 0, 6]] | 1 | 271 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
void solve() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "YES";
else
cout << "NO";
}
void trials() {
int t;
for (cin >> t; t--; cout << endl) {
solve();
}
}
int main() { solv... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
void solve() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
cout << "No";
}
void trials() {
int t;
for (cin >> t; t--; cout << endl) {
solve();
}
}
int main() { solv... | [["-", 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 | 103 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.List;
class Main {
public static void main(String[] args) throws Exception {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.List;
class Main {
public static void main(String[] args) throws Exception {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<... | [["-", 0, 16, 12, 492, 500, 492, 3, 4, 0, 499], ["+", 0, 16, 12, 492, 500, 492, 3, 4, 0, 499]] | 3 | 215 |
word = input()
print("yes" if(word[2] == word[3] and word[4] == word[5]) else "No")
| word = input()
print("Yes" if(word[2] == word[3] and word[4] == word[5]) else "No") | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 37 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
int main() {
string a, b, c;
int f, i;
cin >> a;
f = 0;
for (i = 2; i < 4; i += 2) {
if (a[i] != a[i + 1]) {
f = 1;
break;
}
}
if (f == 0)
cout << "Yes" << endl;
else
cout << "No" << e... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
int main() {
string a, b, c;
int f, i;
cin >> a;
f = 0;
for (i = 2; i < 6; i += 2) {
if (a[i] != a[i + 1]) {
f = 1;
break;
}
}
if (f == 0)
cout << "Yes" << endl;
else
cout << "No" << e... | [["-", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13]] | 1 | 102 |
/*
_____________________$$o____________________o$$$$$o__
___________________o$o_$$o____oo$$$$$$$oo______o$$$$o
______________$o________o$$$$$o___oo$$$$$$$o______$$$
______________$$$ooo________o$$$$o______o$$$$$o_____o
____________oo_____oo_____oo___o$$$$$______$$$$$$____
_________ooooo___$$o_$___oooooo___o$$$$o__o__o$... | /*
_____________________$$o____________________o$$$$$o__
___________________o$o_$$o____oo$$$$$$$oo______o$$$$o
______________$o________o$$$$$o___oo$$$$$$$o______$$$
______________$$$ooo________o$$$$o______o$$$$$o_____o
____________oo_____oo_____oo___o$$$$$______$$$$$$____
_________ooooo___$$o_$___oooooo___o$$$$o__o__o$... | [["-", 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 | 175 |
s = input().split()
a = list(s)
if a[2] == a[3] and a[4] == a[5]:
print("Yes")
else:
print("No")
| s = input()
a = list(s)
if a[2] == a[3] and a[4] == a[5]:
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 | 50 |
#include <bits/stdc++.h>
using namespace std;
#define FIO \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0)
#define mod 10000... | #include <bits/stdc++.h>
using namespace std;
#define FIO \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0)
#define mod 10000... | [["-", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6]] | 1 | 102 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
string s;
cin >> s;
if (s[2] == s[4] and s[3] == s[5])
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
string s;
cin >> s;
if (s[2] == s[3] and s[4] == s[5])
cout << "Yes";
else
cout << "No";
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 | 60 |
S = input();
if S[2]==S[3] & S[4]==S[5]:
print("Yes");
else:
print("No"); | S = input();
if S[2]==S[3] and S[4]==S[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>
using namespace std;
using vi = vector<int>;
using vii = vector<vi>;
using vs = vector<string>;
using in6 = int64_t;
using ind = double;
using pii = pair<int, int>;
using psi = pair<string, int>;
using vpi = vector<pii>;
using vps = vector<psi>;
#define rep(i, n) for (in6 i = 0; i < (in6)(n); i... | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using vii = vector<vi>;
using vs = vector<string>;
using in6 = int64_t;
using ind = double;
using pii = pair<int, int>;
using psi = pair<string, int>;
using vpi = vector<pii>;
using vps = vector<psi>;
#define rep(i, n) for (in6 i = 0; i < (in6)(n); i... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 79]] | 1 | 185 |
x = input()
if ((x[2] == x[3]) & (x[4]==x[6])):
print("Yes")
else:
print("No") | x = input()
if (x[2] == x[3]) & (x[4] == x[5]):
print("Yes")
else:
print("No") | [["-", 0, 57, 15, 23, 0, 657, 31, 23, 0, 24], ["-", 0, 657, 12, 23, 0, 666, 0, 206, 206, 612], ["+", 15, 657, 12, 23, 0, 666, 0, 206, 206, 612], ["-", 0, 57, 15, 23, 0, 657, 12, 23, 0, 25]] | 5 | 46 |
#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;
}
| [["-", 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 | 62 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.next();
if (str.substring(2, 2).equals(str.substring(3, 3)) &&
str.substring(4, 4).equals(str.substring(5, 5))) {
System.out.println("Yes");
} else {
... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.next();
if (str.substring(2, 3).equals(str.substring(3, 4)) &&
str.substring(4, 5).equals(str.substring(5, 6))) {
System.out.println("Yes");
} else {
... | [["-", 0, 16, 31, 492, 500, 492, 3, 4, 0, 499], ["+", 0, 16, 31, 492, 500, 492, 3, 4, 0, 499], ["-", 31, 492, 3, 4, 0, 492, 3, 4, 0, 499], ["+", 31, 492, 3, 4, 0, 492, 3, 4, 0, 499], ["-", 0, 16, 12, 492, 500, 492, 3, 4, 0, 499], ["+", 0, 16, 12, 492, 500, 492, 3, 4, 0, 499], ["-", 12, 492, 3, 4, 0, 492, 3, 4, 0, 499],... | 3 | 115 |
#include "bits/stdc++.h"
int main(int, char **) {
std::string input;
std::cin >> input;
if (input[2] == input[3] || input[4] == input[5]) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
return 0;
} | #include "bits/stdc++.h"
int main(int, char **) {
std::string input;
std::cin >> input;
if (input[2] == input[3] && input[4] == input[5]) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::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 |
def coffee(s):
if len(s) < 6:
return False
if s[2] == s[3] and s[4] == s[5]:
return True
else:
return False
string = input()
print(coffee(string)) | def coffee(s):
if len(s) < 6:
return False
if s[2] == s[3] and s[4] == s[5]:
return 'Yes'
else:
return 'No'
string = input()
print(coffee(string)) | [["-", 8, 196, 0, 57, 64, 196, 0, 37, 0, 146], ["+", 0, 57, 64, 196, 0, 37, 0, 557, 0, 654], ["+", 0, 57, 64, 196, 0, 37, 0, 557, 0, 6], ["+", 0, 57, 64, 196, 0, 37, 0, 557, 0, 655], ["-", 0, 57, 75, 76, 8, 196, 0, 37, 0, 147], ["+", 75, 76, 8, 196, 0, 37, 0, 557, 0, 654], ["+", 75, 76, 8, 196, 0, 37, 0, 557, 0, 6], ["... | 5 | 55 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
int main(int argc, char **argv) {
string s;
cin >> s;
if (s.length() == 6 && s[2] == s[3] && s[4] == s[5]) {
cout << "yes" << endl;
} else {
cout << "no" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
int main(int argc, char **argv) {
string s;
cin >> s;
if (s.length() == 6 && s[2] == s[3] && s[4] == s[5]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 94 |
#include <bits/stdc++.h>
#define f first
#define s second
#define pb push_back
#define ll long long
#define mp make_pair
#define int ll
using namespace std;
const int inf = 1e9 + 7;
const ll ll_inf = 1e18 + 7;
const int K = 18;
const int N = 5e5 + 100;
ll binpow(ll a, ll n) {
ll res = 1;
while (n) {
if ... | #include <bits/stdc++.h>
#define f first
#define s second
#define pb push_back
#define ll long long
#define mp make_pair
#define int ll
using namespace std;
const int inf = 1e9 + 7;
const ll ll_inf = 1e18 + 7;
const int K = 18;
const int N = 5e5 + 100;
ll binpow(ll a, ll n) {
ll res = 1;
while (n) {
if ... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 206 |
#include <bits/stdc++.h>
using namespace std;
int main() {
char a[6];
for (int i = 0; i < 6; i++) {
cin >> a[i];
}
if (a[2] == a[3]) {
if (a[4] == a[5]) {
cout << "Yes" << endl;
}
} else {
cout << "No" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char a[6];
for (int i = 0; i < 6; i++) {
cin >> a[i];
}
if ((a[2] == a[3]) && (a[4] == a[5])) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 24], ["-", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["-", 8, 9, 0, 57, 64, 9, 0, 57, 0, 121], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 25], ["-", 0, 57, 64, 9, 0, 57, 64, 9, 0, 46]] | 1 | 91 |
#include <stdio.h>
int main(void) {
char s[100];
scanf("%s", s);
if (s[2] == s[3] && s[4] == s[5]) {
printf("YES");
} else
printf("NO");
return 0;
} | #include <stdio.h>
int main(void) {
char s[100];
scanf("%s", s);
if (s[2] == s[3] && s[4] == s[5])
printf("Yes\n");
else
printf("No\n");
return 0;
} | [["-", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 14, 8, 9, 0, 57, 64, 9, 0, 46], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 66 |
if txt[2] == txt[3] and txt[4] == txt[5]:
print('Yes')
else :
print('No')
| txt = input()
if txt[2] == txt[3] and txt[4] == txt[5]:
print('Yes')
else :
print('No')
| [["+", 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], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 35 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
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 <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
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, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["-", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 35]] | 1 | 70 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define endl "\n"
#define all(v) v.begin(), v.end()
#define mp make_pair
#define mm(a) memset(a, 0, sizeof(a))
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define repn(i, a, b) for (ll i = a; i >= b; i--)
#define pb push_back
#define ff first
#defi... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define endl "\n"
#define all(v) v.begin(), v.end()
#define mp make_pair
#define mm(a) memset(a, 0, sizeof(a))
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define repn(i, a, b) for (ll i = a; i >= b; i--)
#define pb push_back
#define ff first
#defi... | [["-", 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 | 179 |
#include <iostream>
using namespace std;
int main() {
string S;
cin >> S;
if (S[2] == S[3] || S[4] == S[5]) {
cout << "Yes" << endl;
return 0;
}
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;
return 0;
}
cout << "No" << endl;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 62 |
#include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
if (s[2] == s[4] && s[5] == s[6])
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 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], ["-", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13]] | 1 | 58 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.at(2) == S.at(3)) {
if (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;
}
}
| [["-", 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, 15, 339, 51, 16, 17, 98], ["-", 0, 57, 64, 9, 0, 57, 64, 9, 0, 46]] | 1 | 74 |
#include <bits/stdc++.h>
using namespace std;
template <class A, class B> inline bool chmax(A &a, const B &b) {
return b > a && (a = b, true);
}
template <class A, class B> inline bool chmin(A &a, const B &b) {
return b < a && (a = b, true);
}
typedef long long ll;
typedef vector<int> vint;
typedef pair<int, int> p... | #include <bits/stdc++.h>
using namespace std;
template <class A, class B> inline bool chmax(A &a, const B &b) {
return b > a && (a = b, true);
}
template <class A, class B> inline bool chmin(A &a, const B &b) {
return b < a && (a = b, true);
}
typedef long long ll;
typedef vector<int> vint;
typedef pair<int, int> p... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 275 |
# 文字列の読み込み
s = input()
a = list(s)
if a[2] == a[3] or a[4] == a[5]:
print('Yes')
else:
print('No') | # 文字列の読み込み
s = input()
a = list(s)
if a[2] == a[3] and a[4] == a[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 | 47 |
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const int N = 2e5 + 5;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
if (s[2] == s[3] && s[4] && s[5])
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
#define ll long long
using namespace std;
const int N = 2e5 + 5;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
cout << "No";
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 89 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
string s;
cin >> s;
if (s[3] == s[2] && s[5] && s[4])
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
string s;
cin >> s;
if (s[3] == s[2] && s[5] == s[4])
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 75 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string a;
cin >> a;
if (a[2] == a[3] && a[4] == a[5])
puts("YES");
else
puts("NO");
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a;
cin >> a;
if (a[2] == a[3] && a[4] == a[5])
puts("Yes");
else
puts("No");
} | [["-", 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 | 56 |
s = gets
p s[2] == s[3] && s[4] == s[5] ? 'Yes' : 'No'
| s = gets
puts s[2] == s[3] && s[4] == s[5] ? 'Yes' : 'No' | [["-", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22], ["+", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22]] | 4 | 31 |
s = input()
if((s[2]==s[3]) and (s[4]==s[5])):
print("yes")
else:
print("no")
| s = 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 | 46 |
def JudgeCoffee(string):
if(string[2] == string[3] and string[4] == string[5]):
return True
else:
return False
def Main():
#S = input()
S = "sippuu"
judge = JudgeCoffee(S)
if(judge):
print("Yes")
else:
print("No")
Main() | def JudgeCoffee(string):
if(string[2] == string[3] and string[4] == string[5]):
return True
else:
return False
def Main():
S = input()
#S = "sippuu"
judge = JudgeCoffee(S)
if(judge):
print("Yes")
else:
print("No")
Main() | [["-", 8, 196, 0, 1, 0, 662, 12, 557, 0, 654], ["-", 8, 196, 0, 1, 0, 662, 12, 557, 0, 6], ["-", 8, 196, 0, 1, 0, 662, 12, 557, 0, 655], ["+", 8, 196, 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]] | 5 | 74 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#define ARB \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#define ARB \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(... | [["-", 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 | 97 |
s = list(input())
if s[2] == s[3] & s[4] == s[5]:
print('Yes')
else:
print('No') | s = list(input())
if (s[2] == s[3]) & (s[4] == s[5]):
print('Yes')
else:
print('No')
| [["+", 0, 656, 0, 57, 15, 657, 31, 23, 0, 24], ["+", 0, 656, 0, 57, 15, 657, 31, 23, 0, 25], ["+", 0, 656, 0, 57, 15, 657, 12, 23, 0, 24], ["+", 0, 656, 0, 57, 15, 657, 12, 23, 0, 25]] | 5 | 43 |
#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;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 77 |
S = str(input().lower())
if S[2]==S[3] and S[4]==S[5]:
print("Yes")
else:
print("NO") | S = str(input().lower())
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 | 47 |
s = input()
s.lower()
if s[2] == s[3] and s[4] == s[5]:
print("yes")
else:
print("no") | s = input()
s.lower()
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 | 45 |
#include <iostream>
#include <string>
using namespace std;
int main() {
ios::sync_with_stdio(false);
string s;
cin >> s;
cout << (s.at(2) == s.at(3) || s.at(4) == s.at(5) ? "Yes" : "No") << endl;
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
ios::sync_with_stdio(false);
string s;
cin >> s;
cout << (s.at(2) == s.at(3) && s.at(4) == s.at(5) ? "Yes" : "No") << endl;
return 0;
}
| [["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 106], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 98]] | 1 | 73 |
S = list(str, input())
if S[2] == S[3]:
if S[4] == S[5]:
print("Yes")
else:
print("No")
else:
print("No") | S = list(input())
if S[2] == S[3]:
if S[4] == S[5]:
print("Yes")
else:
print("No")
else:
print("No") | [["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21]] | 5 | 54 |
S='sippuu'
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | S = input()
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | [["-", 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], ["+", 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]] | 5 | 40 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int cnt = 0;
if (s[2] == s[3]) {
cnt++;
}
if (s[4] == s[5]) {
cnt++;
}
if (cnt == 2) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int cnt = 0;
if (s[2] == s[3]) {
cnt++;
}
if (s[4] == s[5]) {
cnt++;
}
if (cnt == 2) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 88 |
#include <stdio.h>
#include <string.h>
int main(void) {
char S[7];
char str3[2], str4[2], str5[2], str6[2];
scanf("%s", S);
strncpy(str3, S + 2, 1);
str3[1] = '\0';
strncpy(str4, S + 2, 1);
str4[1] = '\0';
strncpy(str5, S + 2, 1);
str5[1] = '\0';
strncpy(str6, S + 2, 1);
str6[1] = '\0';
if (strc... | #include <stdio.h>
#include <string.h>
int main(void) {
char S[7];
char str3[2], str4[2], str5[2], str6[2];
scanf("%s", S);
strncpy(str3, S + 2, 1);
str3[1] = '\0';
strncpy(str4, S + 3, 1);
str4[1] = '\0';
strncpy(str5, S + 4, 1);
str5[1] = '\0';
strncpy(str6, S + 5, 1);
str6[1] = '\0';
if (strc... | [["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 171 |
#include <bits/stdc++.h>
using namespace std;
int main() {
char A[6];
scanf("%s", A);
if (A[2] == A[3] && A[4] == A[5])
printf("yes\n");
else
printf("no\n");
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char A[6];
scanf("%s", A);
if (A[2] == A[3] && A[4] == A[5])
printf("Yes\n");
else
printf("No\n");
return 0;
} | [["-", 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 | 69 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.next();
char[] a = str.toCharArray();
if (a[2] == a[3] && a[4] == a[5])
System.out.println("yes");
else
System.out.println("no");
}
} | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.next();
char[] a = str.toCharArray();
if (a[2] == a[3] && a[4] == a[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 | 100 |
import static java.lang.System.*;
import java.io.IOException;
import java.io.InputStream;
import java.util.NoSuchElementException;
public class Main {
public void solve() {
String s = next();
char[] c = s.toCharArray();
if (c[2] == c[3] && c[4] == c[5]) {
println("Yes");
} else {
prin... |
import static java.lang.System.*;
import java.io.IOException;
import java.io.InputStream;
import java.util.NoSuchElementException;
public class Main {
public void solve() {
String s = next();
char[] c = s.toCharArray();
if (c[2] == c[3] && c[4] == c[5]) {
println("Yes");
} else {
prin... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 661 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int, int> pi;
typedef vector<pi> vp;
#define pb push_back
#define mp make_pair
#define fora(i, a, n) for (int i = a; i < n; i++)
#define forb(i, a, n) for (int i = a; i >= (n); --i)
#define... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int, int> pi;
typedef vector<pi> vp;
#define pb push_back
#define mp make_pair
#define fora(i, a, n) for (int i = a; i < n; i++)
#define forb(i, a, n) for (int i = a; i >= (n); --i)
#define... | [["-", 8, 9, 0, 57, 15, 339, 51, 91, 17, 111]] | 1 | 174 |
#include <bits/stdc++.h>
#define int long long int
#define pb push_back
#define mp make_pair
#define mem(a, b) memset(a, b, sizeof(a))
using namespace std;
int32_t main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "YES";
return 0;
}
cout << "NO";
return 0;
}
| #include <bits/stdc++.h>
#define int long long int
#define pb push_back
#define mp make_pair
#define mem(a, b) memset(a, b, sizeof(a))
using namespace std;
int32_t main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes";
return 0;
}
cout << "No";
return 0;
}
| [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 78 |
#include <iostream>
#include <string>
using namespace std;
int main() {
string str;
cin >> str;
bool flag = str.size() == 6 && (str[2] == str[3] && str[4] == str[5]);
cout << (flag ? "Yes" : "NO") << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string str;
cin >> str;
bool flag = str.size() == 6 && (str[2] == str[3] && str[4] == str[5]);
cout << (flag ? "Yes" : "No") << endl;
return 0;
}
| [["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 73 |
import java.io.*;
public class Main {
public static void main(String args[]) {
InputStreamReader in = new InputStreamReader(System.in);
String s = in.toString();
if (s.charAt(2) == s.charAt(3) && s.charAt(4) == s.charAt(5)) {
System.out.println("Yes");
} else {
System.out.println("No");
... | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
String s = in.nextLine();
if (s.charAt(2) == s.charAt(3) && s.charAt(4) == s.charAt(5)) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
}
| [["-", 36, 36, 0, 493, 0, 454, 0, 522, 141, 22], ["+", 0, 493, 0, 454, 0, 522, 345, 522, 141, 22], ["-", 36, 36, 0, 493, 0, 454, 0, 525, 0, 48], ["+", 36, 36, 0, 493, 0, 454, 0, 522, 141, 22], ["-", 8, 498, 0, 195, 8, 196, 0, 503, 39, 78], ["+", 8, 498, 0, 195, 8, 196, 0, 503, 39, 78], ["-", 8, 196, 0, 503, 49, 200, 51... | 3 | 101 |
#include <iostream>
#include <string>
int main() {
std::string S;
std::cin >> S;
std::cout << ((S[2] == S[3] && S[4] == S[5]) ? "YES" : "NO") << std::endl;
} | #include <iostream>
#include <string>
int main() {
std::string S;
std::cin >> S;
std::cout << ((S[2] == S[3] && S[4] == S[5]) ? "Yes" : "No") << std::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;
typedef long long ll;
typedef pair<int, int> pii;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
string s;
cin >> s;
cout << ((s[2] == s[3] && s[5] == s[6]) ? "YES" : "NO");
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
string s;
cin >> s;
cout << ((s[2] == s[3] && s[4] == s[5]) ? "Yes" : "No");
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], ["-", 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], ["+",... | 1 | 84 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
puts((s[2] == s[3] && s[3] == s[4]) ? "Yes" : "No");
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
puts((s[2] == s[3] && s[4] == s[5]) ? "Yes" : "No");
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 | 55 |
#include <iostream>
#include <string>
using namespace std;
int main() {
bool flg = true;
string str;
cin >> str;
if (str.length() != 6 && str[2] == str[3] && str[4] == str[5]) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
bool flg = true;
string str;
cin >> str;
if (str.length() == 6 && str[2] == str[3] && str[4] == str[5]) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
}
| [["-", 15, 339, 51, 16, 31, 16, 31, 16, 17, 79], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 60]] | 1 | 78 |
S = input().strip('\n')
print('Yes' if S[2]==S[3] and S[4]==S[4] else 'No') | S = input().strip('\n')
print('Yes' if S[2]==S[3] and S[4]==S[5] else 'No') | [["-", 0, 41, 0, 679, 12, 666, 0, 206, 206, 612], ["+", 0, 41, 0, 679, 12, 666, 0, 206, 206, 612]] | 5 | 42 |
// http://codeforces.com/contest/1315/problem/D
// Greedy
// time complexity limitation
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <unordered_map>
#include <vector>
#define ll l... |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <unordered_map>
#include <vector>
#define ll long long
#define ull unsigned long long
using namespace std;
const int MOD = 1e9 + 7;... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 79], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 163 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
#define mp make_pair
#define pb push_back
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef double db;
co... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
#define mp make_pair
#define pb push_back
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef double db;
co... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 227 |
a,b,c,d,e,f,=input()
if c==d and e==f:
print("Yes")
else:
print("NO") | a,b,c,d,e,f,=input()
if c==d and e==f:
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 | 39 |
//--------------------------------------------------
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,abm,mmx,avx,avx2,popcnt,fma")
//#pragma GCC optimize("fast-math")
//#pragma GCC optimize("unroll-loops")
//#pragma GCC optimize("Ofast")
//--------------------------------------------------
#include <algorithm>
#include ... | //--------------------------------------------------
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,abm,mmx,avx,avx2,popcnt,fma")
//#pragma GCC optimize("fast-math")
//#pragma GCC optimize("unroll-loops")
//#pragma GCC optimize("Ofast")
//--------------------------------------------------
#include <algorithm>
#include ... | [["-", 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 | 357 |
#include <stdio.h>
int main(void) {
char moji[256];
scanf("%s", moji);
if (moji[2] == moji[3] && moji[4] == moji[5]) {
printf("YES");
} else {
printf("NO");
}
} | #include <stdio.h>
int main(void) {
char moji[256];
scanf("%s", moji);
if (moji[2] == moji[3] && moji[4] == moji[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]] | 1 | 65 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << (s[2] == s[3] && s[4] == s[5] ? "YES" : "NO") << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << (s[2] == s[3] && s[4] == s[5] ? "Yes" : "No") << 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 | 53 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
// #ifdef ONLINE_JUDGE
// freopen("input1.txt","r",stdin);
// freopen("output1.txt","w",stdout);
// #endif
string s;
cin >> s;
bool... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
// #ifdef ONLINE_JUDGE
// freopen("input1.txt","r",stdin);
// freopen("output1.txt","w",stdout);
// #endif
string s;
cin >> s;
bool... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 137 |
#include <bits/stdc++.h>
using namespace std;
int k, n;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[5] == s[4])
cout << "yes" << endl;
else
cout << "no" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int k, n;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[5] == s[4])
cout << "Yes" << endl;
else
cout << "No" << 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 |
#include <stdio.h>
int main(void) {
char S[7];
scanf("%s", S);
if ('S[2]' == 'S[3]' && 'S[4]' == 'S[5]') {
printf("Yes");
} else {
printf("No");
}
return 0;
} | #include <stdio.h>
int main(void) {
char S[7];
scanf("%s", S);
if (S[2] == S[3] && S[4] == S[5]) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | [["-", 28, 69, 28, 69, 28, 69, 28, 103, 0, 104], ["-", 28, 69, 28, 69, 28, 103, 0, 125, 0, 104], ["-", 0, 69, 28, 69, 28, 69, 0, 42, 0, 104], ["-", 15, 23, 0, 69, 28, 69, 0, 42, 0, 104], ["-", 0, 57, 15, 23, 0, 69, 0, 42, 0, 104], ["-", 8, 9, 0, 57, 15, 23, 0, 42, 0, 104]] | 0 | 77 |
s = list(input())
if (s[2] == s[3] and s[4] == s[5]):
print("YES")
else:
print("NO")
| 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 | 45 |
string = input().split();
if (string[2] == string[3]):
if (string[4] == string[5]):
print("Yes");
else:
print("No");
else:
print("No"); | string = list(input());
if (string[2] == string[3]):
if (string[4] == string[5]):
print("Yes");
else:
print("No");
else:
print("No"); | [["+", 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, 63, 319, 0, 131], ["-", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24]] | 5 | 61 |
#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])
puts("Yes");
else
puts("No");
}
| #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])
puts("Yes");
else
puts("No");
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 61 |
import java.io.*;
import java.lang.*;
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
String a = sc.nextLine();
System.out.println(myFunction("coffee"));
}
public static String myFunction(String s) {
if (s.charAt(2) == s.charA... | import java.io.*;
import java.lang.*;
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
String a = sc.nextLine();
System.out.println(myFunction(a));
}
public static String myFunction(String s) {
if (s.charAt(2) == s.charAt(3) &&... | [["-", 3, 4, 0, 492, 3, 4, 0, 5, 0, 62], ["-", 3, 4, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 492, 3, 4, 0, 492, 3, 4, 0, 22]] | 3 | 122 |
a = input()
b = []
for z in a:
b.apppend(z)
if b[2]==b[3]:
if b[4]==b[5]:
print("Yes")
else:
print("No")
else:
print("No")
| a = input()
b = []
for z in a:
b.append(z)
if b[2]==b[3]:
if b[4]==b[5]:
print("Yes")
else:
print("No")
else:
print("No") | [["-", 8, 196, 0, 1, 0, 652, 63, 319, 319, 22], ["+", 8, 196, 0, 1, 0, 652, 63, 319, 319, 22]] | 5 | 64 |
if __name__=='__main__':
S = input()
if S[2]==S[3] and S[4]==S[5]:\
print(Yes)
else:
print(No) | if __name__=='__main__':
S = 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, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 44 |
s=input()
f==-1
if s[2]==s[3]:
if s[4]==s[5]:
f==1
if f==1:
print('Yes')
else:
print('No') | s=input()
f=-1
if s[2]==s[3]:
if s[4]==s[5]:
f=1
if f==1:
print('Yes')
else:
print('No') | [["-", 36, 36, 0, 656, 0, 1, 0, 666, 667, 60], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["-", 0, 57, 64, 196, 0, 1, 0, 666, 667, 60], ["+", 0, 57, 64, 196, 0, 1, 0, 662, 0, 32]] | 5 | 53 |
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
if (s.size() == 6 && 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.size() == 6 && s[2] == s[3] && s[4] == s[5]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 70 |
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define int long long
const int N = 1005;
const int MOD = 1e9 + 7;
// lower_bound - which does not compare less than val
// upper_bound - which compares greater than val
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
/* stuff y... | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define int long long
const int N = 1005;
const int MOD = 1e9 + 7;
// lower_bound - which does not compare less than val
// upper_bound - which compares greater than val
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
/* stuff y... | [["-", 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 | 93 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define MOD 1000000007
void func() {
string s;
cin >> s;
if (s[0] != s[1] && 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
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define MOD 1000000007
void func() {
string s;
cin >> s;
if (s[0] != s[1] && 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 | 129 |
S = gets.chomp
if S[2] == S[3] && S[4] == S[5]
p 'Yes'
else
p 'No'
end
| S = gets.chomp
if S[2] == S[3] && S[4] == S[5]
puts 'Yes'
else
puts 'No'
end
| [["-", 0, 493, 0, 121, 64, 749, 0, 652, 735, 22], ["+", 0, 493, 0, 121, 64, 749, 0, 652, 735, 22], ["-", 0, 493, 0, 121, 75, 95, 0, 652, 735, 22], ["+", 0, 493, 0, 121, 75, 95, 0, 652, 735, 22]] | 4 | 35 |
s = gets.chomp.split('')
puts s[2] == s[3] && s[4] == s[5] ? 'YES' : 'NO' | s = gets.chomp.split('')
puts s[2] == s[3] && s[4] == s[5] ? '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 | 39 |
string = []
string = input('')
if string[2] == string[3] and string[4] == string[5]:
print('YES')
else:
print('NO') | string = []
string = input('')
if string[2] == string[3] and string[4] == string[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 | 46 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.