結果

問題 No.395 永遠の17歳
ユーザー kiridaruma
提出日時 2016-11-10 13:06:02
言語 D
(dmd 2.109.1)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 891 ms
コンパイル使用メモリ 95,440 KB
実行使用メモリ 6,940 KB
最終ジャッジ日時 2024-06-12 05:00:13
合計ジャッジ時間 1,658 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio, std.conv, std.string;

void main(){
    auto input = readln.strip.to!int;
    if(input < 8){
        writeln(-1);
        return;
    }
    writeln(input - 7);
}
0