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