結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー PE11PE11
提出日時 2017-07-03 10:37:35
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 25 ms / 2,000 ms
コード長 360 bytes
コンパイル時間 828 ms
コンパイル使用メモリ 106,432 KB
実行使用メモリ 26,068 KB
最終ジャッジ日時 2024-04-15 13:59:37
合計ジャッジ時間 3,194 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
21,688 KB
testcase_01 AC 24 ms
23,520 KB
testcase_02 AC 25 ms
23,728 KB
testcase_03 AC 24 ms
23,648 KB
testcase_04 AC 25 ms
26,068 KB
testcase_05 AC 24 ms
24,032 KB
testcase_06 AC 24 ms
23,980 KB
testcase_07 AC 25 ms
25,824 KB
testcase_08 AC 24 ms
25,832 KB
testcase_09 AC 24 ms
23,772 KB
testcase_10 AC 25 ms
25,692 KB
testcase_11 AC 25 ms
23,780 KB
testcase_12 AC 24 ms
21,988 KB
testcase_13 AC 24 ms
23,780 KB
testcase_14 AC 24 ms
23,860 KB
testcase_15 AC 24 ms
23,648 KB
testcase_16 AC 25 ms
21,820 KB
testcase_17 AC 24 ms
23,904 KB
testcase_18 AC 25 ms
25,816 KB
testcase_19 AC 25 ms
23,980 KB
testcase_20 AC 24 ms
22,064 KB
testcase_21 AC 24 ms
24,028 KB
testcase_22 AC 25 ms
23,852 KB
testcase_23 AC 24 ms
23,772 KB
testcase_24 AC 25 ms
25,952 KB
testcase_25 AC 25 ms
25,692 KB
testcase_26 AC 24 ms
24,032 KB
testcase_27 AC 25 ms
25,824 KB
testcase_28 AC 24 ms
23,852 KB
testcase_29 AC 25 ms
25,816 KB
testcase_30 AC 24 ms
21,812 KB
testcase_31 AC 24 ms
24,036 KB
testcase_32 AC 25 ms
23,860 KB
testcase_33 AC 24 ms
23,904 KB
testcase_34 AC 24 ms
23,784 KB
testcase_35 AC 24 ms
23,776 KB
testcase_36 AC 25 ms
23,728 KB
testcase_37 AC 25 ms
23,900 KB
testcase_38 AC 24 ms
24,112 KB
testcase_39 AC 25 ms
23,776 KB
testcase_40 AC 24 ms
23,900 KB
testcase_41 AC 24 ms
23,672 KB
testcase_42 AC 24 ms
23,908 KB
testcase_43 AC 24 ms
23,640 KB
testcase_44 AC 25 ms
23,908 KB
testcase_45 AC 25 ms
25,820 KB
testcase_46 AC 25 ms
23,768 KB
testcase_47 AC 24 ms
23,644 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;

namespace Age
{
    public class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(Calc(Convert.ToInt32(Console.ReadLine())));
        }


        public static int Calc(int Barth)
        {
            return 2017 - Barth;
        }

    }    

}
0