結果

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

ソースコード

diff #

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

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