結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー DrqYutoDrqYuto
提出日時 2021-09-11 22:37:17
言語 Ruby
(3.3.0)
結果
AC  
実行時間 282 ms / 3,000 ms
コード長 35 bytes
コンパイル時間 43 ms
コンパイル使用メモリ 11,236 KB
実行使用メモリ 50,836 KB
最終ジャッジ日時 2023-09-05 12:10:22
合計ジャッジ時間 4,162 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
外部呼び出し有り
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,228 KB
testcase_01 AC 85 ms
15,056 KB
testcase_02 AC 85 ms
15,296 KB
testcase_03 AC 85 ms
15,156 KB
testcase_04 AC 86 ms
15,140 KB
testcase_05 AC 86 ms
15,032 KB
testcase_06 AC 85 ms
15,488 KB
testcase_07 AC 92 ms
15,472 KB
testcase_08 AC 119 ms
19,108 KB
testcase_09 AC 144 ms
22,992 KB
testcase_10 AC 227 ms
41,748 KB
testcase_11 AC 228 ms
42,328 KB
testcase_12 AC 231 ms
43,284 KB
testcase_13 AC 233 ms
43,812 KB
testcase_14 AC 231 ms
44,240 KB
testcase_15 AC 233 ms
44,800 KB
testcase_16 AC 282 ms
50,836 KB
testcase_17 AC 83 ms
15,268 KB
testcase_18 AC 84 ms
15,204 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - a
Syntax OK

ソースコード

diff #

a,*n=`dd`.split.map(&:to_i)
p n.sum
0