結果

問題 No.1591 Two Digits
ユーザー haruki_4936
提出日時 2022-02-12 21:51:03
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 965 bytes
コンパイル時間 4,406 ms
コンパイル使用メモリ 250,536 KB
最終ジャッジ日時 2025-01-27 22:46:13
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

// #define _GLIBCXX_DEBUG
#include<bits/stdc++.h>
#include <atcoder/all>
#define rep(i, n) for (long long i = 0; i < (n); i++)
#define rep1(i, n) for(long long i = 1; i <= (n); i++)
#define all(v) v.begin(),v.end()
#define decimal(n) cout << fixed << setprecision(n);
using namespace std; 
using namespace atcoder;
using ll = long long; using vl = vector<ll>; using P = pair<ll,ll>;
using vvl = vector<vl>; using vc = vector<char>; using vvc = vector<vc>;
using mint = modint998244353;
// using mint = modint1000000007;
const ll MOD = 998244353;
const ll MAX = 2000100; const ll inf = 3e18; const long double pi = acos(-1);
template<class T>bool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; }
template<class T>bool chmin(T& a, const T& b) { if (b < a) { a = b; return 1; } return 0; }
ll lcm(ll a,ll b){ return (a*b) / gcd(a,b); }



int main(){
  string n; cin >> n;
  if(n.size() == 2) cout << "Yes" << endl;
  else cout << "No" << endl;

}
0