結果

問題 No.395 永遠の17歳
ユーザー mmmpppmmmppp
提出日時 2016-09-26 13:47:10
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 59 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 12,288 KB
最終ジャッジ日時 2024-04-29 12:03:39
合計ジャッジ時間 2,394 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 94 ms
12,160 KB
testcase_02 AC 93 ms
12,032 KB
testcase_03 AC 93 ms
11,904 KB
testcase_04 WA -
testcase_05 AC 94 ms
12,160 KB
testcase_06 AC 89 ms
12,160 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 94 ms
11,904 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 92 ms
12,032 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 92 ms
12,160 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a=gets.to_i
8.upto(100){|i|break(puts(i)) if a%i==7}&&p(-1)
0