【題解】AtCoder ABC160A – Coffee

【題目敘述】https://atcoder.jp/contests/abc160/tasks/abc160_a

#include <bits/stdc++.h>
using namespace std;

string s;

int main(){
    cin >> s;
    if (s[2] == s[3] && s[4] == s[5]) cout << "Yes\n";
    else cout << "No\n";
}
分享本文 Share with friends