結果

問題 No.395 永遠の17歳
ユーザー rkyrky
提出日時 2017-11-16 14:12:34
言語 Ruby
(3.3.0)
結果
AC  
実行時間 73 ms / 1,000 ms
コード長 50 bytes
コンパイル時間 121 ms
コンパイル使用メモリ 11,232 KB
実行使用メモリ 15,356 KB
最終ジャッジ日時 2023-08-16 16:51:32
合計ジャッジ時間 2,069 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
15,144 KB
testcase_01 AC 72 ms
15,036 KB
testcase_02 AC 73 ms
15,272 KB
testcase_03 AC 72 ms
15,108 KB
testcase_04 AC 69 ms
15,028 KB
testcase_05 AC 68 ms
15,032 KB
testcase_06 AC 67 ms
15,356 KB
testcase_07 AC 69 ms
15,044 KB
testcase_08 AC 70 ms
15,148 KB
testcase_09 AC 68 ms
15,152 KB
testcase_10 AC 66 ms
15,044 KB
testcase_11 AC 71 ms
15,076 KB
testcase_12 AC 68 ms
15,260 KB
testcase_13 AC 67 ms
15,148 KB
testcase_14 AC 66 ms
15,036 KB
testcase_15 AC 68 ms
15,248 KB
testcase_16 AC 67 ms
15,076 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

num = gets.chomp.to_i
puts num < 15 ? -1 : num - 7
0