結果

問題 No.970 数列変換マシン
ユーザー kotatsugamekotatsugame
提出日時 2020-01-17 22:20:07
言語 Ruby
(3.2.2)
結果
AC  
実行時間 216 ms / 2,000 ms
コード長 61 bytes
コンパイル時間 737 ms
コンパイル使用メモリ 11,252 KB
実行使用メモリ 33,756 KB
最終ジャッジ日時 2023-09-08 03:58:26
合計ジャッジ時間 5,022 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
外部呼び出し有り
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 216 ms
33,092 KB
testcase_01 AC 215 ms
33,088 KB
testcase_02 AC 215 ms
33,168 KB
testcase_03 AC 209 ms
33,476 KB
testcase_04 AC 208 ms
33,400 KB
testcase_05 AC 214 ms
33,756 KB
testcase_06 AC 191 ms
32,620 KB
testcase_07 AC 207 ms
33,472 KB
testcase_08 AC 209 ms
33,420 KB
testcase_09 AC 87 ms
15,120 KB
testcase_10 AC 85 ms
15,136 KB
testcase_11 AC 86 ms
15,400 KB
testcase_12 AC 84 ms
15,476 KB
testcase_13 AC 85 ms
15,136 KB
testcase_14 AC 87 ms
15,852 KB
testcase_15 AC 82 ms
15,080 KB
testcase_16 AC 83 ms
15,208 KB
testcase_17 AC 82 ms
15,132 KB
testcase_18 AC 84 ms
15,152 KB
testcase_19 AC 82 ms
15,064 KB
testcase_20 AC 84 ms
15,136 KB
testcase_21 AC 81 ms
15,048 KB
testcase_22 AC 83 ms
15,160 KB
testcase_23 AC 84 ms
15,092 KB
testcase_24 AC 82 ms
15,184 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"N,*A="+`dd`.split*?,
s=A.sum
puts A.map{|a|s-a*=N-1}*?\s
0