結果
| 問題 | 
                            No.2450 99-like Number
                             | 
                    
| コンテスト | |
| ユーザー | 
                             kolvlmam3
                         | 
                    
| 提出日時 | 2023-09-01 21:21:52 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 299 bytes | 
| コンパイル時間 | 1,812 ms | 
| コンパイル使用メモリ | 193,236 KB | 
| 最終ジャッジ日時 | 2025-02-16 16:07:09 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 18 | 
ソースコード
#include <bits/stdc++.h>
#define endl '\n'
typedef long long ll;
using namespace std;
int main(void) {
	ios::sync_with_stdio(false);
	cin.tie(0);
	string n;
	cin >> n;
	string ans = "Yes";
	for (int i = 0; i < n.size(); i++) {
		if (n[i] != '9') ans = "No";
	}
	cout << ans << endl;
	return 0;
}
            
            
            
        
            
kolvlmam3