結果
問題 |
No.395 永遠の17歳
|
ユーザー |
![]() |
提出日時 | 2016-11-10 13:03:27 |
言語 | D (dmd 2.109.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 198 bytes |
コンパイル時間 | 1,648 ms |
コンパイル使用メモリ | 93,192 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-12 05:00:01 |
合計ジャッジ時間 | 2,319 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 17 |
ソースコード
import std.stdio, std.conv, std.string; void main(){ "ok".writeln; auto input = readln.strip.to!int; if(input < 17){ writeln(-1); return; } writeln(input - 7); }