結果

問題 No.721 Die tertia (ディエ・テルツィア)
ユーザー curryudon08curryudon08
提出日時 2020-06-16 14:05:28
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 421 bytes
コンパイル時間 2,098 ms
コンパイル使用メモリ 100,900 KB
実行使用メモリ 23,424 KB
最終ジャッジ日時 2023-09-16 10:57:58
合計ジャッジ時間 4,623 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
21,300 KB
testcase_01 AC 73 ms
23,204 KB
testcase_02 AC 73 ms
21,364 KB
testcase_03 AC 72 ms
23,280 KB
testcase_04 AC 73 ms
21,268 KB
testcase_05 AC 73 ms
21,316 KB
testcase_06 AC 72 ms
21,208 KB
testcase_07 AC 73 ms
23,292 KB
testcase_08 AC 73 ms
23,424 KB
testcase_09 AC 74 ms
21,196 KB
testcase_10 AC 74 ms
21,220 KB
testcase_11 AC 74 ms
23,284 KB
testcase_12 AC 73 ms
23,276 KB
testcase_13 AC 72 ms
21,256 KB
testcase_14 AC 72 ms
21,264 KB
testcase_15 AC 73 ms
21,344 KB
testcase_16 AC 74 ms
21,212 KB
testcase_17 AC 73 ms
23,284 KB
testcase_18 AC 73 ms
21,240 KB
testcase_19 AC 73 ms
21,220 KB
testcase_20 AC 74 ms
23,300 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 _0721
{
    class Program
    {
        static void Main(string[] args)
        {
            var _ = Console.ReadLine().Split('/');
            var y = int.Parse(_[0]);
            var m = int.Parse(_[1]);
            var d = int.Parse(_[2]);

            var d1 = new DateTime(y,m,d);
            var d2 = d1.AddDays(2);
            Console.WriteLine(d2.ToShortDateString());
        }
    }
}
0