結果
| 問題 | No.2450 99-like Number |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-02-04 03:48:57 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 175 bytes |
| 記録 | |
| コンパイル時間 | 1,098 ms |
| コンパイル使用メモリ | 185,396 KB |
| 実行使用メモリ | 7,976 KB |
| 最終ジャッジ日時 | 2026-04-15 02:39:14 |
| 合計ジャッジ時間 | 2,108 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 19 |
ソースコード
#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";
}