結果
| 問題 |
No.1591 Two Digits
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-09 21:21:20 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 1,000 ms |
| コード長 | 624 bytes |
| コンパイル時間 | 3,978 ms |
| コンパイル使用メモリ | 230,396 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-01 14:42:31 |
| 合計ジャッジ時間 | 4,420 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#include<bits/stdc++.h>
#include <atcoder/all>
#define ll long long int
#define vec vector<ll>
#define mat vector<vector<ll>>
#define pll pair<ll,ll>
#define count __builtin_popcountll
using namespace std;
using namespace atcoder;
//using mint = modint1000000007;
const ll mod=1000000007;//998244353;
const ll inf=1000000000000000000;
ll dx4[4]={1,0,-1,0};
ll dy4[4]={0,-1,0,1};
ll dx8[8]={1,0,-1,1,-1,1,0,-1};
ll dy8[8]={1,1,1,0,0,-1,-1,-1};
int main(){
cout << fixed << setprecision(15);
ll m;
cin >> m;
string s=to_string(m);
if(s.size()==2)cout << "Yes" << endl;
else cout << "No" << endl;
return 0;
}