結果
問題 |
No.289 数字を全て足そう
|
ユーザー |
![]() |
提出日時 | 2021-06-26 00:28:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 185 bytes |
コンパイル時間 | 280 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-06-25 07:46:44 |
合計ジャッジ時間 | 1,936 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 21 |
ソースコード
S = list(input()) n = [0,1,2,3,4,5,6,7,8,9] i,num = 0,0 print(S) for i in range(len(S)): print(S[i]) s = S[i] if s.isnumeric() == True: num = int(s) + num print(num)