結果
問題 | No.1672 404 Not Found |
ユーザー |
|
提出日時 | 2024-04-28 01:48:55 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 228 bytes |
コンパイル時間 | 10,635 ms |
コンパイル使用メモリ | 221,868 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-16 09:53:39 |
合計ジャッジ時間 | 10,999 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
// No.1672 404 Not Found package main import ( "fmt" "strings" ) func main() { var s string fmt.Scan(&s) if strings.HasPrefix(s, "4") || strings.HasPrefix(s, "5") { fmt.Println("Yes") } else { fmt.Println("No") } }