結果

問題 No.558 575検出するやつ
ユーザー atuk721atuk721
提出日時 2017-11-20 01:43:33
言語 Go
(1.23.4)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 259 bytes
コンパイル時間 16,221 ms
コンパイル使用メモリ 233,488 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-26 00:45:07
合計ジャッジ時間 17,000 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import (
  "bufio"
  "fmt"
  "os"
  "strings"
)

func main() {
  scaner := bufio.NewScanner(os.Stdin)
  scaner.Scan()
  input := scaner.Text()

  if strings.Contains(input, "575") {
    fmt.Printf("YES\n")
  } else {
    fmt.Printf("NO\n")
  }
}
0