結果

問題 No.841 8/32
ユーザー funakoshifunakoshi
提出日時 2019-07-02 11:07:48
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 743 bytes
コンパイル時間 1,884 ms
コンパイル使用メモリ 103,808 KB
実行使用メモリ 22,604 KB
最終ジャッジ日時 2023-09-27 07:18:52
合計ジャッジ時間 4,220 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
22,484 KB
testcase_01 AC 51 ms
20,576 KB
testcase_02 AC 51 ms
22,604 KB
testcase_03 AC 51 ms
18,340 KB
testcase_04 AC 50 ms
20,472 KB
testcase_05 AC 50 ms
20,532 KB
testcase_06 AC 49 ms
18,580 KB
testcase_07 AC 54 ms
22,580 KB
testcase_08 AC 52 ms
20,440 KB
testcase_09 AC 50 ms
20,476 KB
testcase_10 AC 51 ms
22,456 KB
testcase_11 AC 50 ms
20,424 KB
testcase_12 AC 53 ms
22,536 KB
testcase_13 AC 51 ms
20,500 KB
testcase_14 AC 51 ms
22,488 KB
testcase_15 AC 50 ms
22,576 KB
testcase_16 AC 50 ms
20,520 KB
testcase_17 AC 50 ms
20,532 KB
testcase_18 AC 50 ms
20,448 KB
testcase_19 AC 50 ms
22,536 KB
testcase_20 AC 49 ms
20,464 KB
testcase_21 AC 50 ms
20,476 KB
testcase_22 AC 51 ms
20,520 KB
testcase_23 AC 50 ms
20,568 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace yukicoderTest
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] str = Console.ReadLine().Split(' ') ;
            string s1 = str[0];
            string s2 = str[1];
            if(s1.Substring(0,1)=="S")
            {
                if(s2.Substring(0,1)=="S")
                {
                    Console.WriteLine("8/33");
                }
                else
                {
                    Console.WriteLine("8/32");
                }
            }
            else
            {
                Console.WriteLine("8/31");
            }
        }
    }
}
0