結果
問題 | No.395 永遠の17歳 |
ユーザー |
![]() |
提出日時 | 2016-11-10 13:11:48 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 189 bytes |
コンパイル時間 | 738 ms |
コンパイル使用メモリ | 92,672 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-12 05:00:35 |
合計ジャッジ時間 | 1,477 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 |
ソースコード
import std.stdio, std.conv, std.string; void main(){ auto input = readln.strip.to!int; int x = input - 7; if(x < 8){ writeln(-1); return; } x.writeln; }