結果
問題 | No.395 永遠の17歳 |
ユーザー | bayashiko_r |
提出日時 | 2019-01-16 00:53:53 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 24 ms / 1,000 ms |
コード長 | 281 bytes |
コンパイル時間 | 2,102 ms |
コンパイル使用メモリ | 106,692 KB |
実行使用メモリ | 18,048 KB |
最終ジャッジ日時 | 2024-06-26 09:26:50 |
合計ジャッジ時間 | 3,311 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class Program { static void Main(string[] args) { //入力 int A = int.Parse(Console.ReadLine()); //出力 if (A <= 14) { Console.WriteLine(-1); } else { Console.WriteLine(A - 7); } } }