結果

問題 No.3058 M + D Problem
ユーザー keymoonkeymoon
提出日時 2020-04-01 21:39:34
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 643 bytes
コンパイル時間 3,579 ms
コンパイル使用メモリ 103,712 KB
実行使用メモリ 23,888 KB
最終ジャッジ日時 2023-09-09 17:18:43
合計ジャッジ時間 5,627 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
21,776 KB
testcase_01 AC 59 ms
23,860 KB
testcase_02 AC 59 ms
21,716 KB
testcase_03 AC 59 ms
21,804 KB
testcase_04 AC 61 ms
21,780 KB
testcase_05 AC 62 ms
23,780 KB
testcase_06 AC 60 ms
21,848 KB
testcase_07 AC 59 ms
23,760 KB
testcase_08 AC 59 ms
21,652 KB
testcase_09 AC 59 ms
21,664 KB
testcase_10 AC 60 ms
21,748 KB
testcase_11 AC 59 ms
23,888 KB
testcase_12 AC 59 ms
21,868 KB
testcase_13 AC 59 ms
21,712 KB
testcase_14 AC 60 ms
21,832 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;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using MethodImplAttribute = System.Runtime.CompilerServices.MethodImplAttribute;
using MethodImplOptions = System.Runtime.CompilerServices.MethodImplOptions;


public static class P
{
    static void Main()
    {
        var md = Console.ReadLine().Split().Select(int.Parse).ToArray();
        var m = md[0];
        var d = md[1];
        Console.WriteLine(m == 4 && d == 1 ? 0 : m + d);
    }
}
0