結果
| 問題 |
No.2450 99-like Number
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-02-04 03:49:21 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 177 bytes |
| コンパイル時間 | 1,573 ms |
| コンパイル使用メモリ | 165,508 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-28 11:09:03 |
| 合計ジャッジ時間 | 2,147 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 18 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
string s;
cin>>s;
int f=1;
for(int i=0;i<s.size();i++) if(s[i]!='9') f=0;
if(f==1) cout<<"yes";
else cout<<"no";
}