結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
16,148 KB
testcase_01 AC 82 ms
16,116 KB
testcase_02 AC 79 ms
16,116 KB
testcase_03 AC 79 ms
16,116 KB
testcase_04 AC 79 ms
16,116 KB
testcase_05 AC 79 ms
16,116 KB
testcase_06 AC 81 ms
16,372 KB
testcase_07 AC 81 ms
16,640 KB
testcase_08 TLE -
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