結果

問題 No.841 8/32
ユーザー fal_rndfal_rnd
提出日時 2019-11-22 00:49:32
言語 Java21
(openjdk 21)
結果
AC  
実行時間 111 ms / 2,000 ms
コード長 278 bytes
コンパイル時間 2,240 ms
コンパイル使用メモリ 76,664 KB
実行使用メモリ 41,788 KB
最終ジャッジ日時 2024-04-19 10:06:59
合計ジャッジ時間 5,168 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
41,304 KB
testcase_01 AC 108 ms
41,360 KB
testcase_02 AC 107 ms
41,500 KB
testcase_03 AC 103 ms
41,456 KB
testcase_04 AC 105 ms
41,736 KB
testcase_05 AC 102 ms
41,392 KB
testcase_06 AC 103 ms
41,440 KB
testcase_07 AC 94 ms
41,788 KB
testcase_08 AC 108 ms
41,372 KB
testcase_09 AC 106 ms
41,508 KB
testcase_10 AC 109 ms
41,180 KB
testcase_11 AC 111 ms
41,380 KB
testcase_12 AC 105 ms
41,076 KB
testcase_13 AC 103 ms
41,484 KB
testcase_14 AC 103 ms
41,660 KB
testcase_15 AC 106 ms
41,504 KB
testcase_16 AC 99 ms
41,288 KB
testcase_17 AC 106 ms
41,184 KB
testcase_18 AC 105 ms
41,244 KB
testcase_19 AC 99 ms
41,200 KB
testcase_20 AC 91 ms
41,392 KB
testcase_21 AC 106 ms
41,496 KB
testcase_22 AC 104 ms
41,452 KB
testcase_23 AC 105 ms
41,544 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.function.*;

class Main{
	public static void main(String[] $) {
		Scanner s=new Scanner(System.in);
		Predicate<String>f=t->"Sat".equals(t)||"Sun".equals(t);
		System.out.println(f.test(s.next())?f.test(s.next())?"8/33":"8/32":"8/31");
	}
}
0