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 <stdio.h>
int main() {
char S[5];
scanf("%s", &S);
if (S[2] == S[3] && S[4] == S[5]) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
char S[6];
scanf("%s", &S);
if (S[2] == S[3] && S[4] == S[5]) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 70 |
#include <cmath>
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "YES";
else
cout << "NO";
return 0;
}
| #include <cmath>
#include <iostream>
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], ["-", 8, 9, 0, 57, 75, 76, 0, 1, 0, 35], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 1 | 59 |
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "YES";
else
cout << "NO";
} | #include <iostream>
using namespace std;
int main() {
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], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 57, 75, 76, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 1 | 54 |
def main():
s = input().strip()
if s[2] == s[3] and s[4] == s[5]:
print('True')
else:
print('False')
if __name__ == '__main__':
main()
| def main():
s = input().strip()
if s[2] == s[3] and s[4] == s[5]:
print('Yes')
else:
print('No')
if __name__ == '__main__':
main()
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 59 |
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "YES \n";
} else
cout << "NO";
return 0;
}
| #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[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, 44], ["+", 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 | 60 |
#include <bits/stdc++.h>
#define io \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define nl "\n"
#define fr first
#define sc second
#define MP make_pair
#define pb push_back
#define VI vector<int>... | #include <bits/stdc++.h>
#define io \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define nl "\n"
#define fr first
#define sc second
#define MP make_pair
#define pb push_back
#define VI vector<int>... | [["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 24], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 24], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 25]] | 1 | 171 |
import java.io.*;
import java.lang.*;
import java.util.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main {
public static void main(String[] args) throws java.lang.Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readL... | /* package codechef; // don't place package name! */
import java.io.*;
import java.lang.*;
import java.util.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main {
public static void main(String[] args) throws java.lang.Exception {
BufferedReader br = new BufferedReader(new ... | [["-", 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 | 131 |
#include <stdio.h>
int main() {
char s[7];
scanf("%s", &s);
if (s[2] == s[3] && s[4] == s[5])
printf("YES");
else
printf("NO");
}
| #include <stdio.h>
int main() {
char s[7];
scanf("%s", s);
if (s[2] == s[3] && s[4] == s[5])
printf("Yes");
else
printf("No");
} | [["-", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["-", 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 | 61 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[2] && s[4] == s[5])
cout << "Yes" << endl;
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" << endl;
} else
cout << "No" << endl;
return 0;
} | [["-", 51, 16, 31, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 31, 16, 12, 69, 341, 342, 0, 13], ["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 46], ["+", 8, 9, 0, 57, 75, 76, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 1 | 58 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef long long ll;
const int N = 1e5 + 5;
const ll oo = 1e18;
const ll mod = 1e9 + 7;
const int INF = 1 << 30;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
ios_base::sync_with_stdio(0);
string s;
cin >> s;
cout << (s[2] == s[3] && ... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef long long ll;
const int N = 1e5 + 5;
const ll oo = 1e18;
const ll mod = 1e9 + 7;
const int INF = 1 << 30;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
ios_base::sync_with_stdio(0);
string s;
cin >> s;
cout << (s[2] == s[3] && ... | [["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 114 |
#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
using namespace std;
#define bye return 0
#define Yes \
cout << "Yes" \
<< "\n"
#define No ... | #include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
using namespace std;
#define bye return 0
#define Yes \
cout << "Yes" \
<< "\n"
#define No ... | [["-", 51, 16, 12, 23, 0, 69, 0, 42, 0, 32], ["+", 15, 339, 51, 16, 12, 23, 0, 16, 17, 60]] | 1 | 110 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
printf("Yes\n");
return 0;
printf("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]) {
printf("Yes\n");
return 0;
}
printf("No\n");
} | [["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 46], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 1 | 63 |
<?php
$S = trim(fgets(STDIN));
$array = str_split($val);
if(($array[2]===$array[3]) && ($array[4] === $array[5])) {
echo 'Yes';
} else {
echo 'No';
} | <?php
$S = trim(fgets(STDIN));
$array = str_split($S);
if(($array[2]===$array[3]) && ($array[4] === $array[5])) {
echo 'Yes';
} else {
echo 'No';
} | [["-", 12, 613, 3, 3, 0, 28, 0, 606, 0, 141], ["+", 12, 613, 3, 3, 0, 28, 0, 606, 0, 141]] | 6 | 66 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define dup(x, y) (((x) + (y)-1) / (y))
#define ALL(x) (x).begin(), (x).end()
typedef long long ll;
typedef pair<int, int> pii;
const double EPS = 1e-10;
const int INF = 1e9;
const ll LINF = 1e15;
const int MOD = 1000000007;
c... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define dup(x, y) (((x) + (y)-1) / (y))
#define ALL(x) (x).begin(), (x).end()
typedef long long ll;
typedef pair<int, int> pii;
const double EPS = 1e-10;
const int INF = 1e9;
const ll LINF = 1e15;
const int MOD = 1000000007;
c... | [["+", 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 | 155 |
#include <bits/stdc++.h>
#define repr(i, a, b) for (int i = a; i < b; i++)
#define rep(i, n) for (int i = 0; i < n; i++)
#define reprrev(i, a, b) for (int i = b - 1; i >= a; i--) // [a, b)
#define reprev(i, n) reprrev(i, 0, n)
using ll = long long;
using ull = unsigned long long;
template <class T> inline bool chmax(T... | #include <bits/stdc++.h>
#define repr(i, a, b) for (int i = a; i < b; i++)
#define rep(i, n) for (int i = 0; i < n; i++)
#define reprrev(i, a, b) for (int i = b - 1; i >= a; i--) // [a, b)
#define reprev(i, n) reprrev(i, 0, n)
using ll = long long;
using ull = unsigned long long;
template <class T> inline bool chmax(T... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 354], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 355]] | 1 | 381 |
word = input()
print('Yes' if word[2] == word[3] and word[4] and 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, 679, 17, 355], ["+", 3, 4, 0, 41, 0, 679, 12, 666, 667, 60]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
"No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
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 | 56 |
// ALLAH IS THE ALMIGHTY //
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
if (s.size() >= 6 && s[2] == s[3] && s[4] == s[5])
cout << "YES\n";
else
cout << "NO\n";
return 0;
}
// SOLVED! ... | // ALLAH IS THE ALMIGHTY //
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
if (s.size() == 6 && s[2] == s[3] && s[4] == s[5])
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
// SOLVED! ... | [["-", 15, 339, 51, 16, 31, 16, 31, 16, 17, 20], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 60], ["-", 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 | 90 |
s = input().split()
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, 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 | 44 |
const main =
stdin => {
const S = stdin.trim()
if (S[2] === S[3] && S[3] === S[4]) {
console.log('Yes')
}
else {
console.log('No')
}
}
// 標準入力
main(require("fs").readFileSync("/dev/stdin", "utf8"))
| const main =
stdin => {
const S = stdin.trim()
if (S[2] === S[3] && S[4] === S[5]) {
console.log('Yes')
}
else {
console.log('No')
}
}
// 標準入力
main(require("fs").readFileSync("/dev/stdin", "utf8"))
| [["-", 15, 23, 0, 16, 12, 16, 31, 69, 71, 555], ["+", 15, 23, 0, 16, 12, 16, 31, 69, 71, 555], ["-", 15, 23, 0, 16, 12, 16, 12, 69, 71, 555], ["+", 15, 23, 0, 16, 12, 16, 12, 69, 71, 555]] | 2 | 79 |
S = int(input())
check = S[2] == S[3] and S[4] == S[5]
print("Yes" if check else "No") | S = input()
check = S[2] == S[3] and S[4] == S[5]
print("Yes" if check else "No") | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 41 |
from sys import stdin
inp = stdin.readline
t = inp().strip()
if t[2] == t[3] and t[4] == t[5]:
print("YES")
else:
print("NO")
| from sys import stdin
inp = stdin.readline
t = inp().strip()
if t[2] == t[3] and t[4] == t[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 | 53 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
string a;
if (a.at(2) == a.at(3) && a.at(4) == a.at(5)) {
cout << "Yes" << endl;
return 0;
}
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
string a;
cin >> a;
if (a.at(2) == a.at(3) && a.at(4) == a.at(5)) {
cout << "Yes" << endl;
return 0;
}
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 | 72 |
#include <iostream>
using namespace std;
int main(void) {
// Your code here!
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 <iostream>
using namespace std;
int main(void) {
// Your code here!
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, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 72 |
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, 656, 0, 1, 0, 662, 12, 206, 0, 70], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25], ["-", 0, 656, 0, 1, 0, 662, 12, 206, 0, 73]] | 5 | 43 |
S = list(input())
if (S[2] == S[3]) or (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") | [["-", 36, 36, 0, 656, 0, 57, 15, 679, 17, 354], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 47 |
S = list(input())
if S[-1] == S[-2]:
if S[-3] == S[-4]:
print("Yes")
else:
print("No")
| S = list(input())
if S[-1] == S[-2] and S[-3] == S[-4]:
print("Yes")
else:
print("No")
| [["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 102], ["-", 0, 656, 0, 57, 64, 196, 0, 57, 0, 121], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 48 |
#include <iostream>
#include <string>
using namespace std;
int main() {
string str;
if (str[2] == str[3] && str[4] == str[5]) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string str;
cin >> str;
if (str[2] == str[3] && str[4] == str[5]) {
cout << "Yes";
} else {
cout << "No";
}
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 | 59 |
a = str(input())
if (a[2] == a[3] or a[4] == a[5]):
print("Yes")
else:
print("No")
| a = str(input())
if (a[2] == a[3] and a[4] == a[5]):
print("Yes")
else:
print("No")
| [["-", 0, 656, 0, 57, 15, 23, 0, 679, 17, 354], ["+", 0, 656, 0, 57, 15, 23, 0, 679, 17, 355]] | 5 | 45 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
string S;
cin >> S;
if (!(S.substr(2, 1).compare(S.substr(3, 1)) &&
S.substr(4, 1).compare(S.substr(5, 1)))) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
string S;
cin >> S;
if (!S.substr(2, 1).compare(S.substr(3, 1)) &&
!S.substr(4, 1).compare(S.substr(5, 1))) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | [["-", 0, 57, 15, 339, 51, 91, 28, 23, 0, 24], ["+", 0, 57, 15, 339, 51, 16, 12, 91, 17, 111], ["-", 12, 2, 3, 4, 0, 2, 3, 4, 0, 25]] | 1 | 96 |
#include <bits/stdc++.h>
using namespace std;
#define debug(x) cerr << #x << " = " << (x) << endl
#define IOS \
ios::sync_with_stdio(false); \
cin.tie(NULL)
// Greate commom divisor
#define gcd(a, b) _... | #include <bits/stdc++.h>
using namespace std;
#define debug(x) cerr << #x << " = " << (x) << endl
#define IOS \
ios::sync_with_stdio(false); \
cin.tie(NULL)
// Greate commom divisor
#define gcd(a, b) _... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 91 |
#include <bits/stdc++.h>
#define int long long
#define INT_MAX INT64_MAX
#define INT_MIN INT64_MIN
#define CLK clock_t clk = clock(); // Start of main
#define OCLK \
cerr << "Time (in ms): " \
... | #include <bits/stdc++.h>
#define int long long
#define INT_MAX INT64_MAX
#define INT_MIN INT64_MIN
#define CLK clock_t clk = clock(); // Start of main
#define OCLK \
cerr << "Time (in ms): " \
... | [["-", 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 | 434 |
#include <stdio.h>
int strlen(char *s) {
int i = 0;
while (s[i])
i++;
return i;
}
int cheackstr(char *s) {
for (int i = 3, cnt = 0; cnt < 2; i += 2, cnt++) {
if (s[i] != s[i])
return 0;
}
return 1;
}
int main(void) {
char s[7] = {};
scanf("%s", s);
if (strlen(s) != 6)
return 0;
... | #include <stdio.h>
int strlen(char *s) {
int i = 0;
while (s[i])
i++;
return i;
}
int cheackstr(char *s) {
for (int i = 3, cnt = 0; cnt < 2; i += 2, cnt++) {
if (s[i] != s[i - 1])
return 0;
}
return 1;
}
int main(void) {
char s[7] = {};
scanf("%s", s);
if (strlen(s) != 6)
return 0... | [["+", 51, 16, 12, 69, 341, 342, 0, 16, 17, 33], ["+", 51, 16, 12, 69, 341, 342, 0, 16, 12, 13]] | 1 | 142 |
##A
s = input()
if s[2] == s[3] and s[4] == s[5]:
print("yes")
else:
print("No") | ##A
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 | 41 |
S = input()
print('Yes' if S[2] == S[3] or S[4] == S[5] else 'No') | S = input()
print('Yes' if S[2] == S[3] and S[4] == S[5] else 'No') | [["-", 0, 652, 3, 4, 0, 41, 0, 679, 17, 354], ["+", 0, 652, 3, 4, 0, 41, 0, 679, 17, 355]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, cc, n) for (int i = cc; i < n; ++i)
#define lrep(i, cc, n) for (long long i = cc; i < n; ++i)
#define rrep(i, cc, n) for (long i = cc; i > n; --i)
using ll = long long;
int main() {
string s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes" << endl;
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, cc, n) for (int i = cc; i < n; ++i)
#define lrep(i, cc, n) for (long long i = cc; i < n; ++i)
#define rrep(i, cc, n) for (long i = cc; i > n; --i)
using ll = long long;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes... | [["+", 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 | 90 |
#include <stdio.h>
int main(void) {
char name[5];
int flag;
scanf("%s", name);
if (name[2] == name[3])
if (name[4] == name[5])
flag = 1;
if (flag == 1)
printf("Yes");
else
printf("No");
return 0;
} | #include <stdio.h>
int main(void) {
char name[6];
int flag = 0;
scanf("%s", name);
if (name[2] == name[3])
if (name[4] == name[5])
flag = 1;
if (flag == 1)
printf("Yes");
else
printf("No");
return 0;
}
| [["-", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]] | 0 | 79 |
#include <stdio.h>
int main(void) {
char str[6];
scanf("%s", str);
if ((str[2] == str[3]) && (str[4] == str[5]))
puts("yes");
else
puts("no");
return 0;
} | #include <stdio.h>
int main(void) {
char str[6];
scanf("%s", str);
if ((str[2] == str[3]) && (str[4] == str[5]))
puts("Yes");
else
puts("No");
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]] | 0 | 68 |
#include <stdio.h>
int main(void) {
char s[6];
scanf("%s", s);
if (s[2] == s[3]) {
if (s[4] = s[5]) {
printf("Yes");
} else {
printf("No");
}
} else {
printf("No");
}
} | #include <stdio.h>
int main(void) {
char s[6];
scanf("%s", s);
if (s[2] == s[3]) {
if (s[4] == s[5]) {
printf("Yes");
} else {
printf("No");
}
} else {
printf("No");
}
} | [["-", 64, 9, 0, 57, 15, 23, 0, 11, 17, 32], ["+", 64, 9, 0, 57, 15, 23, 0, 16, 17, 60]] | 0 | 79 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
bool ans = false;
if (s[2] != s[3])
ans = false;
if (s[4] != s[5])
ans = false;
cout << (ans ? "Yes" : "No") << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
bool ans = true;
if (s[2] != s[3])
ans = false;
if (s[4] != s[5])
ans = false;
cout << (ans ? "Yes" : "No") << endl;
return 0;
}
| [["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 147], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 146]] | 1 | 75 |
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
#define rep2(i, n) for (int i = 0; i <= n; i++)
#define repr(i, a, n) for (int i = a; i < n; i++)
#define all(a) a.begin(), a.end()
#de... | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
#define rep2(i, n) for (int i = 0; i <= n; i++)
#define repr(i, a, n) for (int i = a; i < n; i++)
#define all(a) a.begin(), a.end()
#de... | [["-", 51, 16, 31, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 31, 16, 12, 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 | 199 |
#include <bits/stdc++.h>
const unsigned int M = 1000000007;
#define all(v) (v).begin(), (v).end()
#define rall(v) v.rbegin(), v.rend()
#define pb push_back
#define mpp make_pair
#define int long long
#define N 998244353
#define endl "\n"
#define fr(i, n) for (int i = 0; i < n; i++)
int power(int x, int y) {
int res =... | #include <bits/stdc++.h>
const unsigned int M = 1000000007;
#define all(v) (v).begin(), (v).end()
#define rall(v) v.rbegin(), v.rend()
#define pb push_back
#define mpp make_pair
#define int long long
#define N 998244353
#define endl "\n"
#define fr(i, n) for (int i = 0; i < n; i++)
int power(int x, int y) {
int res =... | [["-", 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 | 296 |
#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';
} | #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";
} | [["-", 75, 76, 0, 1, 0, 16, 12, 103, 0, 104], ["-", 75, 76, 0, 1, 0, 16, 12, 103, 0, 125], ["-", 0, 1, 0, 16, 12, 103, 0, 42, 0, 22], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 69 |
#include <bits/stdc++.h>
#define ALL(A) (A).begin(), (A).end()
#define ll long long
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> inline bool chmin(T &a, T b) {
if (a ... | #include <bits/stdc++.h>
#define ALL(A) (A).begin(), (A).end()
#define ll long long
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> inline bool chmin(T &a, T b) {
if (a ... | [["-", 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 | 266 |
s = input()
S = list(s)
if S[2] == S[3] and S[4] == S[5]:
print('Yes')
else:
print('No)')
| s = input()
S = list(s)
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 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if ((s[i + 2] == s[i + 3]) && (s[i + 4] == s[i + 5])) {
cout << "YES" << endl;
break;
} else {
cout << "NO" << endl;
break;
}
return 0;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if ((s[i + 2] == s[i + 3]) && (s[i + 4] == s[i + 5])) {
cout << "Yes" << endl;
break;
} else {
cout << "No" << endl;
break;
}
return 0;
}
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 101 |
s = list(input().split())
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') | [["-", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["-", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 47 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
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(void) {
string s;
cin >> s;
if ((s[2] == s[3]) && (s[4] == s[5]))
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
| [["-", 15, 339, 51, 16, 12, 23, 0, 16, 17, 98], ["+", 15, 339, 51, 16, 12, 23, 0, 16, 17, 60]] | 1 | 64 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.at(3) == S.at(4) && S.at(5) == S.at(6)) {
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(5) == S.at(4)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [["-", 51, 16, 31, 16, 31, 2, 3, 4, 0, 13], ["+", 51, 16, 31, 16, 31, 2, 3, 4, 0, 13], ["-", 51, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 51, 16, 31, 16, 12, 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 | 70 |
s = gets.chomp
if s[2] == s[3] || s[4] == s[5]
puts 'Yes'
else
puts 'No'
end | s = gets.chomp
if s[2] == s[3] && s[4] == s[5]
puts 'Yes'
else
puts 'No'
end | [["-", 36, 36, 0, 493, 0, 121, 15, 738, 17, 106], ["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 98]] | 4 | 35 |
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
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 <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
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 | 77 |
import java.io.*;
import java.util.*;
/**
* Main
*/
public class Main {
static int mod = 1000000007;
static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));
public static void main(String[] args) {
MyScanner ms = new MyScanner();
String s = ms.nextLine();
if (s.charAt(2) == s.ch... | import java.io.*;
import java.util.*;
/**
* Main
*/
public class Main {
static int mod = 1000000007;
static PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));
public static void main(String[] args) {
MyScanner ms = new MyScanner();
String s = ms.nextLine();
if (s.charAt(2) == s.ch... | [["+", 0, 195, 8, 196, 0, 1, 0, 492, 500, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 0, 131], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 24], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 25], ["+", 8, 498, 0, 195, 8, 196, 0, 1, 0, 35]] | 3 | 295 |
#include <stdio.h>
int main() {
char line[6];
fgets(line, sizeof(line), stdin);
if (line[2] == line[3] && line[4] == line[5]) {
printf("Yes");
return 0;
}
printf("No");
return 0;
} | #include <stdio.h>
int main() {
char line[128];
fgets(line, sizeof(line), stdin);
if (line[2] == line[3] && line[4] == line[5]) {
printf("Yes");
return 0;
}
printf("No");
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 80, 81, 13]] | 0 | 70 |
A = input().strip()
if(A[2] == A[3] and A[4] == A[5]):
print("Yes")
else:
print ("no")
| A = input().strip()
if(A[2] == A[3] and A[4] == A[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 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
getline(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() {
string S;
getline(cin, S);
if (S[2] == S[3] && S[4] == S[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 | 64 |
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define ini(a, i) memset(a, i, sizeof(a))
#define pb push_back
#define ll long long
int main() {
std::ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
// ll tt; cin>>tt; while(tt--)
{
ll n, i;
string str;
cin >> str;
co... | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define ini(a, i) memset(a, i, sizeof(a))
#define pb push_back
#define ll long long
int main() {
std::ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
// ll tt; cin>>tt; while(tt--)
{
ll n, i;
string str;
cin >> str;
co... | [["-", 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 | 127 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
static int ans[];
static int count = 0;
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str[] = ... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
static int ans[];
static int count = 0;
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str[] = ... | [["-", 49, 200, 51, 492, 3, 4, 0, 5, 0, 491]] | 3 | 140 |
#include <bits/stdc++.h>
typedef long long ll;
#define pll pair<ll, ll>
#define ff first
#define snd second
#define pb push_back
#define vll vector<ll>
#define vpll vector<pll>
#define endl "\n"
#define MOD 1000000007
using namespace std;
ll const N = 1e5 + 1;
void solve() {
string s;
cin >> s;
if (s[2] != s[... | #include <bits/stdc++.h>
typedef long long ll;
#define pll pair<ll, ll>
#define ff first
#define snd second
#define pb push_back
#define vll vector<ll>
#define vpll vector<pll>
#define endl "\n"
#define MOD 1000000007
using namespace std;
ll const N = 1e5 + 1;
void solve() {
string s;
cin >> s;
if (s[2] != s[... | [["-", 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 | 134 |
#include <iostream>
#include <stdio.h>
#include <string.h>
int main() {
std::string strS;
std::cin >> strS;
bool isOK = false;
if (strS[2] == strS[3]) {
if (strS[4] == strS[5]) {
isOK = true;
}
}
if (isOK == true) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "safe" << st... | #include <iostream>
#include <stdio.h>
#include <string.h>
int main() {
std::string strS;
std::cin >> strS;
bool isOK = false;
if (strS[2] == strS[3] && strS[4] == strS[5]) {
isOK = true;
}
if (isOK == true) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
re... | [["-", 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, 14, 8, 9, 0, 57, 64, 9, 0, 46], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31,... | 1 | 98 |
S = list(input())
print(S)
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')
| [["-", 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;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep_s(i, s, n) for (int i = (int)(s); i < (int)(n); i++)
using ll = long long;
int main() {
string S;
cin >> S;
string ans = "No";
if (S[2] == S[3] || S[4] == S[5]) {
ans = "Yes";
}
cout << ans ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep_s(i, s, n) for (int i = (int)(s); i < (int)(n); i++)
using ll = long long;
int main() {
string S;
cin >> S;
string ans = "No";
if (S[2] == S[3] && S[4] == S[5]) {
ans = "Yes";
}
cout << ans ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 86 |
#! env/bin/local python3
# -*- coding: utf-8 -*-
s = input()
if s[2] == s[3] and s[4] == 2[6]:
print('Yes')
else:
print('No') | #! env/bin/local python3
# -*- coding: utf-8 -*-
s = input()
if s[2] == s[3] and s[4] == s[5]:
print('Yes')
else:
print('No') | [["-", 0, 57, 15, 679, 12, 666, 0, 206, 51, 612], ["+", 0, 57, 15, 679, 12, 666, 0, 206, 51, 22], ["-", 0, 57, 15, 679, 12, 666, 0, 206, 206, 612], ["+", 0, 57, 15, 679, 12, 666, 0, 206, 206, 612]] | 5 | 42 |
#include <bits/stdc++.h>
using namespace std;
#define inf INT_MAX
#define INF LLONG_MAX
#define ll long long
#define ull unsigned long long
#define M (int)(1e9 + 7)
#define P pair<int, int>
#define FOR(i, m, n) for (int i = (int)m; i < (int)n; i++)
#define RFOR(i, m, n) for (int i = (int)m; i >= (int)n; i--)
#define ... |
#include <bits/stdc++.h>
using namespace std;
#define inf INT_MAX
#define INF LLONG_MAX
#define ll long long
#define ull unsigned long long
#define M (int)(1e9 + 7)
#define P pair<int, int>
#define FOR(i, m, n) for (int i = (int)m; i < (int)n; i++)
#define RFOR(i, m, n) for (int i = (int)m; i >= (int)n; i--)
#define ... | [["+", 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 | 196 |
#include <iostream>
using namespace std;
int main() {
string str;
cin >> str;
if ((str[2] == str[3]) && (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;
} | [["-", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13]] | 1 | 69 |
<?php
fscanf(STDIN, "%s", $str);
$array = str_split($str);
if($array[2] && $array[3] && $array[4] === $array[5]){
echo 'Yes';
}else{
echo 'No';
}
?> | <?php
fscanf(STDIN, "%s", $str);
$array = str_split($str);
if($array[2] === $array[3] && $array[4] === $array[5]){
echo 'Yes';
}else{
echo 'No';
}
?> | [["-", 0, 57, 15, 23, 0, 16, 31, 16, 17, 98], ["+", 0, 57, 15, 23, 0, 16, 31, 16, 17, 565]] | 6 | 64 |
s = input
print("Yes" if s[2]==s[3] and s[4]==s[5] else "No") | s = input()
print("Yes" if s[2]==s[3] and s[4]==s[5] else "No") | [["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 33 |
#include <stdio.h>
#include <string.h>
int main() {
char s[7];
scanf("%s", s);
if (s[2] == s[3] & s[4] == s[5])
printf("Yes\n");
else
printf("NO\n");
} | #include <stdio.h>
#include <string.h>
int main() {
char s[7];
scanf("%s", s);
if (s[2] == s[3] & s[4] == s[5])
printf("Yes\n");
else
printf("No\n");
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 64 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
bool a = true;
if (s.at(2) != s.at(3)) {
a = false;
}
if (s.at(4) != s.at(5)) {
a = false;
}
if (a = true)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
bool a = true;
if (s.at(2) != s.at(3)) {
a = false;
}
if (s.at(4) != s.at(5)) {
a = false;
}
if (a == true)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60]] | 1 | 91 |
#include <algorithm>
#include <climits>
#include <iomanip>
#include <iostream>
#include <random>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
using std::lower_bound;
using std::make_pair;
using ... | #include <algorithm>
#include <climits>
#include <iomanip>
#include <iostream>
#include <random>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
using std::lower_bound;
using std::make_pair;
using ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 148 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
int YesFlag = 0;
if (S.at(2) == S.at(3)) {
YesFlag++;
}
if (S.at(4) == S.at(5)) {
YesFlag++;
}
if (YesFlag == 2) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
int YesFlag = 0;
if (S.at(2) == S.at(3)) {
YesFlag++;
}
if (S.at(4) == S.at(5)) {
YesFlag++;
}
if (YesFlag == 2) {
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 | 89 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
if (s.charAt(2) == s.charAt(3) || s.charAt(4) == s.charAt(5)) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
} | /******************************************************************************
Online Java Compiler.
Code, Compile, Run and Debug java program online.
Write your code in this editor and press "Run" button to execute it.
*****************************************************... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 106], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 98]] | 3 | 101 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.size() != 6) {
cout << "No" << endl;
} else if (S[2] == S[3] || S[4] == S[5]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
if (S.size() != 6) {
cout << "No" << endl;
} else if (S[2] == S[3] && S[4] == S[5]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 83 |
#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";
else {
cout << "No";
}
}
| #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";
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 |
package main
import "fmt"
func main(){
// Your code here!
var input string
fmt.Scan(&input)
if (input[2] == input[3] && input[4] == input[5]){
fmt.Println("Yes")
}else{
fmt.Println("No")
}
fmt.Println(input)
}
| package main
import "fmt"
func main(){
// Your code here!
var input string
fmt.Scan(&input)
if (input[2] == input[3] && input[4] == input[5]){
fmt.Println("Yes")
}else{
fmt.Println("No")
}
}
| [["-", 8, 196, 0, 1, 0, 2, 63, 438, 439, 22], ["-", 8, 196, 0, 1, 0, 2, 63, 438, 0, 131], ["-", 8, 196, 0, 1, 0, 2, 63, 438, 119, 120], ["-", 8, 196, 0, 1, 0, 2, 3, 4, 0, 24], ["-", 8, 196, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 2, 3, 4, 0, 25], ["-", 36, 36, 0, 434, 0, 435, 8, 196, 0, 165]] | 7 | 81 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
void solve() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes";
} else
cout << "No";
}
int main() {
int t;
cin >> t;
while (t--) {
solve();
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define ll long long
void solve() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5]) {
cout << "Yes";
} else
cout << "No";
}
int main() {
int t = 1;
while (t--) {
solve();
}
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 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, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]] | 1 | 86 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
string S;
cin >> S;
if (S[2] == S[3] && S[4] == S[5]) {
cout << "Yes";
} else {
cout << "No";
}
cout << S;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
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, 151], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 76 |
#include <bits/stdc++.h>
// definitions
#define F first
#define S second
#define all(x) x.begin(), x.end()
#define clr(x) memset(x, 0, sizeof(x))
#define rep(i, l, r) for (long long i = (l); i < (long long)(r); i++)
#define repb(i, r, l) for (long long i = (r); i > (long long)(l); i--)
#define pb push_back
#define mod... | #include <bits/stdc++.h>
// definitions
#define F first
#define S second
#define all(x) x.begin(), x.end()
#define clr(x) memset(x, 0, sizeof(x))
#define rep(i, l, r) for (long long i = (l); i < (long long)(r); i++)
#define repb(i, r, l) for (long long i = (r); i > (long long)(l); i--)
#define pb push_back
#define mod... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 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, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]] | 1 | 802 |
#include <bits/stdc++.h>
using namespace std;
int main() {
char s[6];
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() {
char s[6];
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], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 60 |
#include "bits/stdc++.h"
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long INT;
double PI = 3.14159265;
const long long INF = 1LL << 60;
//---//
INT dp[2010][2010], mx = 0;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "yes" << endl;
else
... | #include "bits/stdc++.h"
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long INT;
double PI = 3.14159265;
const long long INF = 1LL << 60;
//---//
INT dp[2010][2010], mx = 0;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes" << endl;
else
... | [["-", 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 | 104 |
#include <cstdio>
#include <iostream>
int main() {
char ch[10];
scanf(" %s", ch);
if (ch[2] == ch[3] && ch[4] == ch[4])
printf("Yes\n");
else
printf("No\n");
return 0;
} | #include <cstdio>
#include <iostream>
int main() {
char ch[10];
scanf(" %s", ch);
if (ch[2] == ch[3] && ch[4] == ch[5])
printf("Yes\n");
else
printf("No\n");
return 0;
}
| [["-", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 12, 16, 12, 69, 341, 342, 0, 13]] | 1 | 67 |
#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;
} | #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;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60]] | 1 | 60 |
s=input();print('YNeos'[(s[2]!=s[3] and s[4]!=s[5])::2]) | s=input()
print('YNeos'[(s[2]!=s[3])|(s[4]!=s[5])::2]) | [["-", 36, 36, 36, 36, 36, 36, 0, 656, 0, 35], ["-", 0, 206, 206, 663, 0, 23, 0, 679, 17, 355], ["+", 0, 206, 206, 663, 0, 657, 31, 23, 0, 25], ["+", 3, 4, 0, 206, 206, 663, 0, 657, 17, 139], ["+", 0, 206, 206, 663, 0, 657, 12, 23, 0, 24]] | 5 | 38 |
#include <bits/stdc++.h>
#include <limits>
#define ll long long
#define F first
#define S second
#define pb push_back
#define oo (1LL << 63 - 1)
#define endl '\n'
#define si size()
#define all(v) v.begin(), v.end()
#define FASTIO ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
#define Matrix vector<vector<long l... | #include <bits/stdc++.h>
#include <limits>
#define ll long long
#define F first
#define S second
#define pb push_back
#define oo (1LL << 63 - 1)
#define endl '\n'
#define si size()
#define all(v) v.begin(), v.end()
#define FASTIO ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
#define Matrix vector<vector<long l... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 158 |
#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;
}
} | #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;
}
}
| [["+", 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 | 58 |
S = input()
if S[2] == S[3] or 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") | [["-", 36, 36, 0, 656, 0, 57, 15, 679, 17, 354], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 40 |
list=input().rstrip
if list[2]==list[3] and list[4]==list[5]:
print("Yes")
else:
print("No")
| list=input().rstrip()
if list[2]==list[3] and list[4]==list[5]:
print("Yes")
else:
print("No") | [["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 42 |
#include <bits/stdc++.h>
using namespace std;
#ifdef DEBUG
#define FPEN freopen("in.txt", "r", stdin);
#define TEST(...) \
{ printf("! "), printf(__VA_ARGS__); }
#else
#define TEST(...)
#define FPEN
#endif
const int maxn = 200009;
typedef long long i64;
typ... | #include <bits/stdc++.h>
using namespace std;
#ifdef DEBUG
#define FPEN freopen("in.txt", "r", stdin);
#define TEST(...) \
{ printf("! "), printf(__VA_ARGS__); }
#else
#define TEST(...)
#define FPEN
#endif
const int maxn = 200009;
typedef long long i64;
typ... | [["-", 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 | 162 |
s = list(input())
if s[2] == s[3] and s[4] == s[5]:
"Yes"
else:
"No"
| s = list(input())
if s[2] == s[3] and s[4] == s[5]:
print("Yes")
else:
print("No") | [["+", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 25], ["+", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 37 |
#include <bits/stdc++.h>
typedef long long int lli;
using namespace std;
int main() {
string s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
cout << "No";
return 0;
} | #include <bits/stdc++.h>
typedef long long int lli;
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[4] == s[5])
cout << "Yes";
else
cout << "No";
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 | 59 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
char a[6];
for (int i = 0; i < 6; i++) {
a[i] = S[i];
}
if (a[2] == a[3] || a[4] == a[5]) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
char a[6];
for (int i = 0; i < 6; i++) {
a[i] = S[i];
}
if (a[2] == a[3] && a[4] == a[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 | 97 |
#include <bits/stdc++.h>
#include <iostream>
#include <math.h>
#include <string.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
#define sf scanf
#define pf printf
#define srev reverse(s.begin(), s.end())
#define sortstr sort(s.begin(), s.end());
#define gtl(x) getl... | #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
#include <string.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
#define sf scanf
#define pf printf
#define srev reverse(s.begin(), s.end())
#define sortstr sort(s.begin(), s.end());
#define gtl(x) getl... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 401 |
s = input()
if s[2]==s[3] and s[4]==s[5]:
print(Yes)
else:
print(No) | s = str(input())
if s[2]==s[3] and s[4]==s[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, 25], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 36 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.ti... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.ti... | [["-", 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 | 125 |
import numpy as np
def solve():
if s[2]==s[3] and s[4]==s[5]:
print("YES")
else:
print("NO")
return
s = str(input())
solve()
#a = [int(i) for i in input().split(" ")] | import numpy as np
def solve():
if s[2]==s[3] and s[4]==s[5]:
print("Yes")
else:
print("No")
return
s = str(input())
solve()
#a = [int(i) for i in input().split(" ")] | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 57 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String moji = sc.nextLine();
boolean flag = false;
String[] mojiretu = new String[moji.length()];
for (int i = 0; i < moji.length(); i++) {
String moji2 = String.valueOf(mo... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String moji = sc.nextLine();
boolean flag = false;
String[] mojiretu = new String[moji.length()];
for (int i = 0; i < moji.length(); i++) {
String moji2 = String.valueOf(mo... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 173 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define INF 1000000000000 // 10^12
int main() {
string s;
cin >> s;
if (s.substr(2, 1) == s.substr(3, 1) && s.substr(4, 1) == s.substr(5, 1))
cout << "yes" << endl;
else
cout << "no" <... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define INF 1000000000000 // 10^12
int main() {
string s;
cin >> s;
if (s.substr(2, 1) == s.substr(3, 1) && s.substr(4, 1) == s.substr(5, 1))
cout << "Yes" << endl;
else
cout << "No" <... | [["-", 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 | 90 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[3] == s[4] && s[5] == s[6])
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if (s[2] == s[3] && s[5] == s[4])
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [["-", 51, 16, 31, 16, 31, 69, 341, 342, 0, 13], ["+", 51, 16, 31, 16, 31, 69, 341, 342, 0, 13], ["-", 51, 16, 31, 16, 12, 69, 341, 342, 0, 13], ["+", 51, 16, 31, 16, 12, 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[2] == s[3]) && (s[4] == s[5]))
cout << "YES\n";
else
cout << "NO\n";
} | // Bismillahir Rahmanir Rahim
// AtCoder-Coffee
#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";
} | [["-", 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 | 60 |
#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";
} | [["-", 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 | 60 |
a = input()
b = list(a)
if b[2] == b[3] and b[4] == b[5]:
print('Yes')
else:
cofff
print('No') | a = input()
b = list(a)
if b[2] == b[3] and b[4] == b[5]:
print('Yes')
else:
print('No') | [["-", 0, 57, 75, 76, 8, 196, 0, 1, 0, 22]] | 5 | 47 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.