結果

問題 No.289 数字を全て足そう
ユーザー go_boardwalkgo_boardwalk
提出日時 2017-03-31 11:35:48
言語 Scheme
(Gauche-0.9.14)
結果
RE  
実行時間 -
コード長 110 bytes
コンパイル時間 70 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 14,232 KB
最終ジャッジ日時 2023-09-21 10:35:17
合計ジャッジ時間 1,719 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
11,644 KB
testcase_01 RE -
testcase_02 AC 19 ms
11,724 KB
testcase_03 AC 19 ms
11,760 KB
testcase_04 RE -
testcase_05 AC 19 ms
11,808 KB
testcase_06 AC 18 ms
11,784 KB
testcase_07 AC 19 ms
12,324 KB
testcase_08 AC 20 ms
14,116 KB
testcase_09 AC 19 ms
11,824 KB
testcase_10 AC 19 ms
11,936 KB
testcase_11 AC 19 ms
12,088 KB
testcase_12 AC 20 ms
12,232 KB
testcase_13 AC 20 ms
11,988 KB
testcase_14 AC 20 ms
12,320 KB
testcase_15 AC 19 ms
12,136 KB
testcase_16 AC 19 ms
11,928 KB
testcase_17 AC 19 ms
12,132 KB
testcase_18 AC 20 ms
12,272 KB
testcase_19 AC 19 ms
12,144 KB
testcase_20 AC 20 ms
12,288 KB
testcase_21 AC 18 ms
11,848 KB
testcase_22 AC 21 ms
14,232 KB
testcase_23 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

(define s (read))

(print (fold + 0 (filter integer? (map digit->integer (string->list (symbol->string s))))))
0