結果

問題 No.998 Four Integers
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2020-11-06 20:23:58
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 108 bytes
コンパイル時間 51 ms
コンパイル使用メモリ 11,396 KB
実行使用メモリ 15,428 KB
最終ジャッジ日時 2023-09-29 17:54:48
合計ジャッジ時間 3,721 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 76 ms
15,320 KB
testcase_02 AC 82 ms
15,368 KB
testcase_03 AC 78 ms
15,168 KB
testcase_04 AC 78 ms
15,300 KB
testcase_05 AC 78 ms
15,256 KB
testcase_06 AC 78 ms
15,252 KB
testcase_07 AC 77 ms
15,104 KB
testcase_08 AC 78 ms
15,248 KB
testcase_09 AC 78 ms
15,320 KB
testcase_10 AC 76 ms
15,252 KB
testcase_11 AC 78 ms
15,320 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 75 ms
15,316 KB
testcase_18 AC 75 ms
15,172 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 75 ms
15,044 KB
testcase_22 AC 75 ms
15,076 KB
testcase_23 AC 75 ms
15,112 KB
testcase_24 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

v = gets.split.map(&:to_i).sort
puts v[0] == v[1] + 1 && v[1] == v[2] + 1 && v[2] == v[3] + 1 ? "Yes" : "No"
0