結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー はむ吉🐹はむ吉🐹
提出日時 2017-11-19 18:55:29
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 341 ms / 3,000 ms
コード長 129 bytes
コンパイル時間 28 ms
コンパイル使用メモリ 5,296 KB
実行使用メモリ 37,168 KB
最終ジャッジ日時 2023-08-26 18:05:38
合計ジャッジ時間 4,274 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
15,488 KB
testcase_01 AC 50 ms
15,556 KB
testcase_02 AC 49 ms
15,464 KB
testcase_03 AC 49 ms
15,488 KB
testcase_04 AC 54 ms
15,628 KB
testcase_05 AC 51 ms
15,600 KB
testcase_06 AC 51 ms
15,652 KB
testcase_07 AC 59 ms
17,148 KB
testcase_08 AC 101 ms
18,708 KB
testcase_09 AC 131 ms
21,524 KB
testcase_10 AC 280 ms
35,596 KB
testcase_11 AC 293 ms
30,204 KB
testcase_12 AC 295 ms
30,184 KB
testcase_13 AC 312 ms
36,648 KB
testcase_14 AC 307 ms
37,168 KB
testcase_15 AC 325 ms
36,752 KB
testcase_16 AC 341 ms
36,864 KB
testcase_17 AC 51 ms
15,600 KB
testcase_18 AC 51 ms
15,492 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(use srfi-42)

(define (solve)
    (let* ((n (read)) (xs (list-ec (:range v n) (read))))
        (print (apply + xs))))

(solve)
0