結果

問題 No.2450 99-like Number
ユーザー shojin
提出日時 2024-05-02 22:49:06
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 189 bytes
コンパイル時間 3,246 ms
コンパイル使用メモリ 273,292 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-23 18:08:29
合計ジャッジ時間 4,201 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main(){
  string N;
  cin >> N;
  
  for(char c : N){
    if(c == '9') continue;
    cout << "No";
    return 0;
  }
  
  cout << "Yes";
}
0