結果

問題 No.2322 MMA文字列
ユーザー kobaryo222
提出日時 2023-05-28 13:33:52
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 448 bytes
コンパイル時間 1,882 ms
コンパイル使用メモリ 192,232 KB
最終ジャッジ日時 2025-02-13 09:52:00
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 14 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

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

using ll = long long;
#define rep(i, n) for (int i = 0; i < n; i++)
#define INF (1LL << 60)
#define all(v) (v).begin(), (v).end()

template <class T>
void chmin(T &a, T b) {
    if (a > b) a = b;
}

template <class T>
void chmax(T &a, T b) {
    if (a < b) a = b;
}

int main() {
    string S;
    cin >> S;
    if (S[0] == S[1])
        cout << "Yes" << endl;
    else
        cout << "No" << endl;
}
0