結果

問題 No.841 8/32
ユーザー curryudon08curryudon08
提出日時 2020-06-20 21:40:03
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 515 bytes
コンパイル時間 2,103 ms
コンパイル使用メモリ 101,136 KB
実行使用メモリ 22,668 KB
最終ジャッジ日時 2023-09-16 17:46:14
合計ジャッジ時間 4,734 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
20,596 KB
testcase_01 AC 51 ms
20,608 KB
testcase_02 AC 52 ms
18,420 KB
testcase_03 AC 52 ms
22,540 KB
testcase_04 AC 51 ms
20,456 KB
testcase_05 AC 51 ms
20,548 KB
testcase_06 AC 52 ms
22,532 KB
testcase_07 AC 50 ms
20,620 KB
testcase_08 AC 52 ms
20,512 KB
testcase_09 AC 52 ms
20,584 KB
testcase_10 AC 52 ms
20,504 KB
testcase_11 AC 51 ms
20,568 KB
testcase_12 AC 52 ms
18,492 KB
testcase_13 AC 52 ms
18,564 KB
testcase_14 AC 53 ms
20,432 KB
testcase_15 AC 54 ms
18,516 KB
testcase_16 AC 53 ms
20,588 KB
testcase_17 AC 52 ms
22,560 KB
testcase_18 AC 52 ms
20,516 KB
testcase_19 AC 53 ms
22,668 KB
testcase_20 AC 52 ms
22,600 KB
testcase_21 AC 52 ms
20,628 KB
testcase_22 AC 52 ms
20,444 KB
testcase_23 AC 51 ms
20,728 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace _0841
{
    class Program
    {
        static void Main(string[] args)
        {
            var s = Console.ReadLine().Split();

            var f1 = s[0].Equals("Sat") || s[0].Equals("Sun");
            var f2 = s[1].Equals("Sat") || s[1].Equals("Sun");

            if(f1 && f2){
                Console.WriteLine("8/33");
            }else if(f1){
                Console.WriteLine("8/32");
            }else{
                Console.WriteLine("8/31");
            }
        }
    }
}
0