結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー 👑 tatt61880tatt61880
提出日時 2020-03-18 23:15:19
言語 Kuin
(KuinC++ v.2021.9.17)
結果
AC  
実行時間 202 ms / 2,000 ms
コード長 198 bytes
コンパイル時間 2,227 ms
コンパイル使用メモリ 155,024 KB
実行使用メモリ 75,812 KB
最終ジャッジ日時 2023-10-14 15:55:14
合計ジャッジ時間 4,768 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,352 KB
testcase_01 AC 2 ms
4,348 KB
testcase_02 AC 2 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
testcase_06 AC 3 ms
4,348 KB
testcase_07 AC 10 ms
5,308 KB
testcase_08 AC 44 ms
12,876 KB
testcase_09 AC 56 ms
18,628 KB
testcase_10 AC 163 ms
61,448 KB
testcase_11 AC 169 ms
62,804 KB
testcase_12 AC 171 ms
64,072 KB
testcase_13 AC 174 ms
65,792 KB
testcase_14 AC 179 ms
66,968 KB
testcase_15 AC 183 ms
68,540 KB
testcase_16 AC 202 ms
75,812 KB
testcase_17 AC 2 ms
4,352 KB
testcase_18 AC 2 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

func main()
	var N: int :: cui@input().toInt(&)
	var ss: [][]char :: cui@input().split(" ")
	var ans: int :: 0
	for i(0, N - 1)
		do ans :+ ss[i].toInt(&)
	end for
	do cui@print("\{ans}\n")
end func
0