結果

問題 No.841 8/32
ユーザー GodNegotoGodNegoto
提出日時 2019-11-07 17:12:09
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 452 bytes
コンパイル時間 3,360 ms
コンパイル使用メモリ 71,200 KB
実行使用メモリ 55,956 KB
最終ジャッジ日時 2023-10-13 03:02:14
合計ジャッジ時間 7,599 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
39,428 KB
testcase_01 WA -
testcase_02 AC 115 ms
39,148 KB
testcase_03 AC 115 ms
39,328 KB
testcase_04 AC 116 ms
39,312 KB
testcase_05 AC 117 ms
39,168 KB
testcase_06 AC 116 ms
40,276 KB
testcase_07 AC 118 ms
39,700 KB
testcase_08 AC 115 ms
39,348 KB
testcase_09 AC 116 ms
39,052 KB
testcase_10 AC 118 ms
39,416 KB
testcase_11 AC 116 ms
39,320 KB
testcase_12 AC 128 ms
52,176 KB
testcase_13 AC 123 ms
55,816 KB
testcase_14 AC 123 ms
55,768 KB
testcase_15 AC 121 ms
55,416 KB
testcase_16 AC 120 ms
55,820 KB
testcase_17 AC 121 ms
55,692 KB
testcase_18 AC 122 ms
55,648 KB
testcase_19 AC 122 ms
55,956 KB
testcase_20 AC 122 ms
55,872 KB
testcase_21 AC 121 ms
55,404 KB
testcase_22 AC 123 ms
55,600 KB
testcase_23 AC 121 ms
55,856 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)) || ("Sat".equals(s2))) {
				System.out.println("8/33");
			}
			else {
				System.out.println("8/32");
			}
		}
		else {
			System.out.println("8/31");
		}
	}
}
0