結果

問題 No.395 永遠の17歳
ユーザー AreTrashAreTrash
提出日時 2016-07-15 23:40:36
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 55 ms / 1,000 ms
コード長 226 bytes
コンパイル時間 2,128 ms
コンパイル使用メモリ 99,732 KB
実行使用メモリ 22,776 KB
最終ジャッジ日時 2023-07-27 22:05:14
合計ジャッジ時間 3,669 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
20,736 KB
testcase_01 AC 53 ms
22,680 KB
testcase_02 AC 53 ms
20,608 KB
testcase_03 AC 52 ms
20,612 KB
testcase_04 AC 53 ms
20,868 KB
testcase_05 AC 55 ms
20,752 KB
testcase_06 AC 55 ms
20,728 KB
testcase_07 AC 54 ms
22,652 KB
testcase_08 AC 53 ms
20,752 KB
testcase_09 AC 54 ms
22,776 KB
testcase_10 AC 54 ms
18,632 KB
testcase_11 AC 52 ms
22,708 KB
testcase_12 AC 52 ms
20,792 KB
testcase_13 AC 53 ms
20,604 KB
testcase_14 AC 54 ms
20,696 KB
testcase_15 AC 55 ms
22,740 KB
testcase_16 AC 52 ms
18,680 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 No395{
    public class Program{
        public static void Main(string[] args){
            var a = int.Parse(Console.ReadLine());
            Console.WriteLine(a < 15 ? -1 : a - 7);
        }
    }
}
0