結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー fujitafujita
提出日時 2023-05-08 14:29:57
言語 C#
(.NET 8.0.203)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 323 bytes
コンパイル時間 7,432 ms
コンパイル使用メモリ 146,092 KB
実行使用メモリ 163,116 KB
最終ジャッジ日時 2023-08-16 17:19:43
合計ジャッジ時間 10,922 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
27,844 KB
testcase_01 AC 39 ms
29,972 KB
testcase_02 AC 40 ms
27,892 KB
testcase_03 AC 39 ms
29,928 KB
testcase_04 AC 40 ms
28,008 KB
testcase_05 AC 40 ms
27,952 KB
testcase_06 AC 40 ms
28,036 KB
testcase_07 AC 41 ms
27,844 KB
testcase_08 AC 40 ms
27,920 KB
testcase_09 AC 39 ms
28,096 KB
testcase_10 AC 38 ms
28,052 KB
testcase_11 AC 39 ms
27,868 KB
testcase_12 AC 39 ms
27,720 KB
testcase_13 AC 39 ms
27,944 KB
testcase_14 AC 41 ms
28,212 KB
testcase_15 AC 39 ms
27,960 KB
testcase_16 AC 39 ms
29,928 KB
testcase_17 AC 39 ms
28,088 KB
testcase_18 AC 38 ms
27,812 KB
testcase_19 AC 40 ms
28,016 KB
testcase_20 AC 39 ms
28,172 KB
testcase_21 AC 39 ms
30,052 KB
testcase_22 AC 40 ms
27,992 KB
testcase_23 AC 40 ms
27,840 KB
testcase_24 AC 40 ms
27,936 KB
testcase_25 AC 40 ms
27,796 KB
testcase_26 AC 40 ms
30,028 KB
testcase_27 AC 39 ms
29,756 KB
testcase_28 AC 38 ms
28,252 KB
testcase_29 AC 40 ms
27,884 KB
testcase_30 AC 39 ms
27,928 KB
testcase_31 AC 39 ms
28,016 KB
testcase_32 AC 37 ms
27,980 KB
testcase_33 AC 42 ms
28,152 KB
testcase_34 AC 39 ms
27,944 KB
testcase_35 AC 38 ms
27,768 KB
testcase_36 AC 38 ms
29,888 KB
testcase_37 AC 40 ms
27,776 KB
testcase_38 AC 40 ms
27,864 KB
testcase_39 AC 39 ms
28,108 KB
testcase_40 AC 40 ms
27,812 KB
testcase_41 AC 43 ms
28,008 KB
testcase_42 AC 44 ms
27,896 KB
testcase_43 AC 43 ms
27,892 KB
testcase_44 AC 38 ms
28,040 KB
testcase_45 AC 39 ms
30,028 KB
testcase_46 AC 39 ms
28,052 KB
testcase_47 AC 39 ms
163,116 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  Determining projects to restore...
  Restored /home/judge/data/code/main.csproj (in 123 ms).
.NET 向け Microsoft (R) Build Engine バージョン 17.0.0-preview-21470-01+cb055d28f
Copyright (C) Microsoft Corporation.All rights reserved.

  プレビュー版の .NET を使用しています。https://aka.ms/dotnet-core-preview をご覧ください
  main -> /home/judge/data/code/bin/Release/net6.0/main.dll
  main -> /home/judge/data/code/bin/Release/net6.0/publish/

ソースコード

diff #

using System.Collections.Generic;
using System;
using System.Linq;
using System.Drawing;


namespace yukicoder
{
    class Program
    {

        static void Main(string[] args)
        {

            int K = int.Parse(Console.ReadLine());
                       
            Console.WriteLine(2017 - K);
        }
    }
}
0