結果

問題 No.1249 小学校1年生の夢
ユーザー 1644吉田英陽1644吉田英陽
提出日時 2020-11-02 22:04:36
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 56 ms / 2,000 ms
コード長 673 bytes
コンパイル時間 2,054 ms
コンパイル使用メモリ 101,708 KB
実行使用メモリ 22,876 KB
最終ジャッジ日時 2023-09-29 13:51:06
合計ジャッジ時間 4,698 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
20,832 KB
testcase_01 AC 45 ms
22,816 KB
testcase_02 AC 45 ms
20,760 KB
testcase_03 AC 44 ms
20,800 KB
testcase_04 AC 44 ms
20,820 KB
testcase_05 AC 45 ms
22,768 KB
testcase_06 AC 44 ms
20,840 KB
testcase_07 AC 45 ms
20,744 KB
testcase_08 AC 47 ms
22,876 KB
testcase_09 AC 47 ms
22,756 KB
testcase_10 AC 45 ms
22,796 KB
testcase_11 AC 45 ms
20,800 KB
testcase_12 AC 47 ms
20,732 KB
testcase_13 AC 46 ms
20,908 KB
testcase_14 AC 45 ms
20,912 KB
testcase_15 AC 44 ms
20,916 KB
testcase_16 AC 44 ms
22,812 KB
testcase_17 AC 44 ms
22,752 KB
testcase_18 AC 44 ms
22,848 KB
testcase_19 AC 44 ms
20,708 KB
testcase_20 AC 45 ms
20,916 KB
testcase_21 AC 44 ms
20,828 KB
testcase_22 AC 44 ms
20,712 KB
testcase_23 AC 45 ms
22,828 KB
testcase_24 AC 46 ms
20,644 KB
testcase_25 AC 45 ms
22,756 KB
testcase_26 AC 44 ms
20,772 KB
testcase_27 AC 46 ms
20,868 KB
testcase_28 AC 56 ms
22,816 KB
testcase_29 AC 45 ms
20,760 KB
testcase_30 AC 45 ms
22,760 KB
testcase_31 AC 45 ms
22,740 KB
testcase_32 AC 44 ms
22,800 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 ConsoleApp83
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] str = Console.ReadLine().Split();
            int a = int.Parse(str[0]);
            int b = int.Parse(str[1]);
            int c = int.Parse(str[2]);
            if (a + b == c)
            {
                Console.WriteLine("Correct");
                Console.ReadLine();
            }
            else
            {
                Console.WriteLine("Incorrect");
                Console.ReadLine();
            }
        }
    }
}
0