結果
問題 | No.558 575検出するやつ |
ユーザー |
![]() |
提出日時 | 2017-11-22 15:34:36 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 291 bytes |
コンパイル時間 | 10,425 ms |
コンパイル使用メモリ | 229,920 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-26 11:15:38 |
合計ジャッジ時間 | 11,221 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
other | AC * 15 |
ソースコード
package main import ( "fmt" "strings" ) func strEquals(strList []string, str string) string { if strList[0] == str { return "NO" } else { return "YES" } } func main() { var str string fmt.Scan(&str) strList := strings.Split(str, "575") fmt.Println(strEquals(strList, str)) }