結果
問題 |
No.779 Heisei
|
ユーザー |
![]() |
提出日時 | 2019-03-18 11:55:48 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 34 ms / 1,000 ms |
コード長 | 353 bytes |
コンパイル時間 | 2,218 ms |
コンパイル使用メモリ | 109,312 KB |
実行使用メモリ | 27,452 KB |
最終ジャッジ日時 | 2024-11-06 05:22:02 |
合計ジャッジ時間 | 3,785 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class Program { public void Solve() { DateTime YMD = DateTime.Parse(Console.ReadLine().Replace(' ', '/')); Console.WriteLine(new DateTime(1989, 1, 8) <= YMD && YMD <= new DateTime(2019, 4, 30) ? "Yes" : "No"); } static void Main() { var solver = new Program(); solver.Solve(); } }