結果
問題 | No.2450 99-like Number |
ユーザー | ゆうP |
提出日時 | 2024-05-12 00:48:49 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 206 bytes |
コンパイル時間 | 11,661 ms |
コンパイル使用メモリ | 246,108 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-20 08:56:49 |
合計ジャッジ時間 | 12,622 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 |
ソースコード
// No.2450 99-like Number package main import ( "fmt" "strings" ) func main() { var n string fmt.Scan(&n) if strings.Count(n, "9") == len(n) { fmt.Println("Yes") } else { fmt.Println("No") } }