結果

問題 No.33 アメーバがたくさん
ユーザー mmmpppmmmppp
提出日時 2017-02-23 20:04:17
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 88 bytes
コンパイル時間 41 ms
コンパイル使用メモリ 11,960 KB
実行使用メモリ 27,088 KB
最終ジャッジ日時 2023-10-24 20:20:49
合計ジャッジ時間 7,755 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
16,124 KB
testcase_01 WA -
testcase_02 AC 86 ms
16,124 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
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.size
0