結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー 👑 tatt61880tatt61880
提出日時 2019-02-19 02:39:39
言語 Kuin
(KuinC++ v.2021.9.17)
結果
AC  
実行時間 197 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 2,175 ms
コンパイル使用メモリ 154,680 KB
実行使用メモリ 75,564 KB
最終ジャッジ日時 2023-10-14 15:11:51
合計ジャッジ時間 5,188 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,368 KB
testcase_01 AC 1 ms
4,368 KB
testcase_02 AC 2 ms
4,372 KB
testcase_03 AC 1 ms
4,372 KB
testcase_04 AC 2 ms
4,372 KB
testcase_05 AC 2 ms
4,368 KB
testcase_06 AC 2 ms
4,368 KB
testcase_07 AC 10 ms
5,328 KB
testcase_08 AC 40 ms
13,012 KB
testcase_09 AC 49 ms
18,484 KB
testcase_10 AC 154 ms
61,292 KB
testcase_11 AC 161 ms
62,856 KB
testcase_12 AC 164 ms
64,228 KB
testcase_13 AC 171 ms
65,612 KB
testcase_14 AC 178 ms
66,908 KB
testcase_15 AC 197 ms
68,484 KB
testcase_16 AC 197 ms
75,564 KB
testcase_17 AC 2 ms
4,372 KB
testcase_18 AC 2 ms
4,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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