結果

問題 No.33 アメーバがたくさん
ユーザー mmmpppmmmppp
提出日時 2017-02-23 20:05:55
言語 Ruby
(3.3.0)
結果
TLE  
実行時間 -
コード長 93 bytes
コンパイル時間 706 ms
コンパイル使用メモリ 11,892 KB
実行使用メモリ 18,180 KB
最終ジャッジ日時 2023-10-24 20:20:59
合計ジャッジ時間 7,894 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
16,148 KB
testcase_01 AC 77 ms
16,112 KB
testcase_02 AC 75 ms
16,112 KB
testcase_03 AC 74 ms
16,112 KB
testcase_04 AC 72 ms
16,112 KB
testcase_05 AC 73 ms
16,108 KB
testcase_06 AC 553 ms
18,180 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n
Syntax OK

ソースコード

diff #

n,d,t,*x=$<.read.split.map &:to_i
t.times{y=[];x.map{|e|y<<e-d<<e<<e+d|[]};x=y}
p x.uniq.size
0