結果
| 問題 | No.779 Heisei | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2024-04-29 23:51:48 | 
| 言語 | Go (1.23.4) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 407 bytes | 
| コンパイル時間 | 15,800 ms | 
| コンパイル使用メモリ | 223,228 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-19 09:11:37 | 
| 合計ジャッジ時間 | 13,599 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 23 | 
ソースコード
// No.779 Heisei
package main
import (
	"fmt"
	"time"
)
func main() {
	var y, m, d int
	fmt.Scan(&y, &m, &d)
	t := time.Date(y, time.Month(m), d, 0, 0, 0, 0, time.Local)
	hs := time.Date(1989, time.Month(1), 8, 0, 0, 0, 0, time.Local)
	he := time.Date(2019, time.Month(4), 30, 0, 0, 0, 0, time.Local)
	if t.Compare(hs) >= 0 && t.Compare(he) <= 0 {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}
            
            
            
        