結果
問題 | No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用) |
ユーザー | Kato |
提出日時 | 2023-06-07 22:46:14 |
言語 | Bash (Bash 5.1.16) |
結果 |
WA
|
実行時間 | - |
コード長 | 73 bytes |
コンパイル時間 | 53 ms |
コンパイル使用メモリ | 5,380 KB |
実行使用メモリ | 8,760 KB |
最終ジャッジ日時 | 2023-08-28 19:02:51 |
合計ジャッジ時間 | 6,266 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 11 ms
7,872 KB |
testcase_01 | AC | 24 ms
7,552 KB |
testcase_02 | AC | 15 ms
7,524 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | TLE | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
ソースコード
read n; read s; echo $s | xargs -n1 | awk 'BEGIN{a=0}{a+=$1}END{print a}'