結果

問題 No.841 8/32
ユーザー GodNegotoGodNegoto
提出日時 2019-11-07 17:13:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 452 bytes
コンパイル時間 3,235 ms
コンパイル使用メモリ 72,332 KB
実行使用メモリ 55,980 KB
最終ジャッジ日時 2023-10-13 03:02:22
合計ジャッジ時間 7,563 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
55,624 KB
testcase_01 AC 118 ms
55,520 KB
testcase_02 AC 118 ms
55,628 KB
testcase_03 AC 118 ms
55,816 KB
testcase_04 AC 120 ms
55,388 KB
testcase_05 AC 119 ms
55,544 KB
testcase_06 AC 118 ms
55,488 KB
testcase_07 AC 118 ms
55,844 KB
testcase_08 AC 119 ms
55,476 KB
testcase_09 AC 119 ms
55,308 KB
testcase_10 AC 117 ms
55,608 KB
testcase_11 AC 119 ms
55,696 KB
testcase_12 AC 117 ms
55,808 KB
testcase_13 AC 118 ms
55,744 KB
testcase_14 AC 122 ms
55,656 KB
testcase_15 AC 119 ms
55,540 KB
testcase_16 AC 117 ms
55,676 KB
testcase_17 AC 119 ms
55,868 KB
testcase_18 AC 120 ms
55,980 KB
testcase_19 AC 119 ms
55,368 KB
testcase_20 AC 119 ms
55,316 KB
testcase_21 AC 119 ms
55,860 KB
testcase_22 AC 119 ms
55,600 KB
testcase_23 AC 118 ms
55,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package algo;

import java.util.Scanner;

//import algo.*;

public class sample7 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s1 = sc.next();
		String s2 = sc.next();
		if (("Sun".equals(s1)) || ("Sat".equals(s1))) {
			if (("Sat".equals(s2)) || ("Sun".equals(s2))) {
				System.out.println("8/33");
			}
			else {
				System.out.println("8/32");
			}
		}
		else {
			System.out.println("8/31");
		}
	}
}
0