結果
問題 | No.2322 MMA文字列 |
ユーザー |
![]() |
提出日時 | 2023-05-28 13:32:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 349 bytes |
コンパイル時間 | 1,992 ms |
コンパイル使用メモリ | 192,192 KB |
最終ジャッジ日時 | 2025-02-13 09:47:19 |
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 14 WA * 5 |
ソースコード
#include <bits/stdc++.h>#define mrep(i, s, n) for (int i = (s); i < (int)(n); i++)#define rep(i, n) mrep(i, 0, n)using namespace std;using ll = long long;const int INF = int(1e+9)+1;const ll INFL = ll(1e+18)+1;int main() {string s;cin >> s;string ans = "No";if (s[0] == s[1]) {ans = "Yes";}cout << ans << endl;}