結果

問題 No.358 も~っと!門松列
ユーザー syarosyaro
提出日時 2017-12-01 11:56:26
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 94 bytes
コンパイル時間 65 ms
コンパイル使用メモリ 11,268 KB
実行使用メモリ 15,368 KB
最終ジャッジ日時 2023-08-18 15:14:00
合計ジャッジ時間 3,099 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
15,144 KB
testcase_01 AC 79 ms
15,204 KB
testcase_02 AC 79 ms
15,104 KB
testcase_03 AC 79 ms
15,148 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 80 ms
15,124 KB
testcase_07 WA -
testcase_08 AC 79 ms
15,216 KB
testcase_09 WA -
testcase_10 AC 81 ms
15,116 KB
testcase_11 AC 80 ms
15,168 KB
testcase_12 AC 80 ms
15,104 KB
testcase_13 AC 79 ms
15,204 KB
testcase_14 WA -
testcase_15 AC 79 ms
15,120 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!ruby -pa
k=->i{(a,b,c=$F.map{|e|e.to_i%i}).sort[1]!=b&&a!=c}
$_=k[$$]?:INF:(1..$$).count(&k)
0