結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー Minami53Minami53
提出日時 2018-08-26 10:05:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 249 ms / 2,000 ms
コード長 152 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 10,568 KB
実行使用メモリ 20,036 KB
最終ジャッジ日時 2023-09-10 22:33:33
合計ジャッジ時間 3,298 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,840 KB
testcase_01 AC 15 ms
7,976 KB
testcase_02 AC 15 ms
7,788 KB
testcase_03 AC 15 ms
7,840 KB
testcase_04 AC 16 ms
7,784 KB
testcase_05 AC 15 ms
7,916 KB
testcase_06 AC 16 ms
7,800 KB
testcase_07 AC 22 ms
9,192 KB
testcase_08 AC 49 ms
14,176 KB
testcase_09 AC 81 ms
20,036 KB
testcase_10 AC 202 ms
15,900 KB
testcase_11 AC 211 ms
15,944 KB
testcase_12 AC 214 ms
16,184 KB
testcase_13 AC 217 ms
16,156 KB
testcase_14 AC 223 ms
16,504 KB
testcase_15 AC 225 ms
15,996 KB
testcase_16 AC 249 ms
18,768 KB
testcase_17 AC 15 ms
7,732 KB
testcase_18 AC 15 ms
7,792 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
A = input()
sum = 0

split_A = A.split()
int_A = [int(s) for s in split_A]

while len(int_A) >> 0 :
    sum = sum + int_A.pop()

print (sum)
0