結果

問題 No.406 鴨等間隔の法則
ユーザー mmmpppmmmppp
提出日時 2017-02-16 02:09:32
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 86 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 24,192 KB
最終ジャッジ日時 2024-04-25 00:48:31
合計ジャッジ時間 6,520 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
17,024 KB
testcase_01 WA -
testcase_02 AC 97 ms
12,160 KB
testcase_03 WA -
testcase_04 AC 172 ms
23,168 KB
testcase_05 AC 123 ms
16,000 KB
testcase_06 AC 124 ms
16,384 KB
testcase_07 AC 123 ms
16,640 KB
testcase_08 AC 169 ms
23,168 KB
testcase_09 AC 178 ms
24,192 KB
testcase_10 AC 127 ms
17,280 KB
testcase_11 AC 163 ms
21,888 KB
testcase_12 AC 133 ms
18,304 KB
testcase_13 AC 135 ms
17,792 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 104 ms
12,544 KB
testcase_17 AC 102 ms
12,288 KB
testcase_18 AC 103 ms
12,672 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 112 ms
13,056 KB
testcase_22 WA -
testcase_23 AC 139 ms
18,688 KB
testcase_24 WA -
testcase_25 AC 176 ms
24,064 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 173 ms
21,248 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 179 ms
23,936 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n,*c=`dd`.split.map &:to_i
puts (n-1).times.map{|i|c[i+1]-c[i]}.uniq.size==1?:YES: :NO
0