結果
| 問題 |
No.779 Heisei
|
| コンテスト | |
| ユーザー |
tsuchinaga
|
| 提出日時 | 2019-02-19 12:25:47 |
| 言語 | Go (1.23.4) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 393 bytes |
| コンパイル時間 | 12,954 ms |
| コンパイル使用メモリ | 223,576 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-06 05:16:38 |
| 合計ジャッジ時間 | 13,506 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
package main
import (
"fmt"
"time"
)
func main() {
var y, m, d int
_, _ = fmt.Scan(&y, &m, &d)
date := time.Date(y, time.Month(m), d, 0, 0, 0, 0, time.Local)
l := time.Date(1989, time.Month(1), 8, 0, 0, 0, 0, time.Local)
h := time.Date(2019, time.Month(4), 30, 0, 0, 0, 0, time.Local)
if !date.Before(l) && !date.After(h) {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
tsuchinaga