結果

問題 No.9011 数字を全て足そう(数字だけ)
ユーザー steinnsteinn
提出日時 2023-07-15 19:09:51
言語 Julia
(1.10.2)
結果
AC  
実行時間 419 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 162 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 258,852 KB
最終ジャッジ日時 2024-04-09 14:17:39
合計ジャッジ時間 10,942 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 412 ms
253,948 KB
testcase_01 AC 405 ms
254,676 KB
testcase_02 AC 410 ms
254,008 KB
testcase_03 AC 409 ms
255,316 KB
testcase_04 AC 411 ms
254,084 KB
testcase_05 AC 414 ms
254,872 KB
testcase_06 AC 419 ms
256,752 KB
testcase_07 AC 415 ms
258,852 KB
testcase_08 AC 409 ms
254,484 KB
testcase_09 AC 412 ms
254,448 KB
testcase_10 AC 411 ms
254,708 KB
testcase_11 AC 415 ms
253,696 KB
testcase_12 AC 415 ms
254,620 KB
testcase_13 AC 412 ms
256,556 KB
testcase_14 AC 412 ms
254,764 KB
testcase_15 AC 411 ms
254,560 KB
testcase_16 AC 411 ms
254,032 KB
testcase_17 AC 408 ms
254,248 KB
testcase_18 AC 411 ms
254,100 KB
testcase_19 AC 409 ms
255,228 KB
testcase_20 AC 413 ms
255,048 KB
testcase_21 AC 419 ms
255,492 KB
testcase_22 AC 409 ms
254,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

parseInt(str=readline()) = parse.(Int64, split(str))

function main()
    s = parse.(UInt8, split(readline(), ""))
    println(sum(s))
end

main()
0