結果

問題 No.779 Heisei
ユーザー fal_rndfal_rnd
提出日時 2019-02-19 14:28:18
言語 Scala(Beta)
(3.3.1)
結果
AC  
実行時間 958 ms / 1,000 ms
コード長 232 bytes
コンパイル時間 11,145 ms
コンパイル使用メモリ 241,132 KB
実行使用メモリ 65,084 KB
最終ジャッジ日時 2023-12-20 01:01:32
合計ジャッジ時間 34,317 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 915 ms
65,028 KB
testcase_01 AC 930 ms
65,072 KB
testcase_02 AC 926 ms
65,028 KB
testcase_03 AC 895 ms
65,076 KB
testcase_04 AC 893 ms
65,060 KB
testcase_05 AC 895 ms
65,064 KB
testcase_06 AC 901 ms
65,064 KB
testcase_07 AC 895 ms
65,040 KB
testcase_08 AC 907 ms
65,084 KB
testcase_09 AC 889 ms
65,048 KB
testcase_10 AC 906 ms
65,072 KB
testcase_11 AC 918 ms
65,064 KB
testcase_12 AC 911 ms
65,068 KB
testcase_13 AC 929 ms
65,052 KB
testcase_14 AC 899 ms
64,976 KB
testcase_15 AC 899 ms
65,052 KB
testcase_16 AC 903 ms
65,024 KB
testcase_17 AC 910 ms
65,032 KB
testcase_18 AC 898 ms
65,052 KB
testcase_19 AC 895 ms
65,080 KB
testcase_20 AC 925 ms
65,040 KB
testcase_21 AC 958 ms
65,048 KB
testcase_22 AC 911 ms
65,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

object Main {
	def main(A:Array[String])={
		val s = new java.util.Scanner(System.in)
		val c=Ordering[(Int,Int,Int)]
		val d=(s.nextInt,s.nextInt,s.nextInt)
		println(if(c.lt((1989,1,7),d)&&c.lt(d,(2019,5,1))) "Yes" else "No")
	}
}
0