結果
| 問題 | No.1070 Missing a space | 
| コンテスト | |
| ユーザー |  Fuyuru | 
| 提出日時 | 2020-06-15 17:20:41 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 35 ms / 1,000 ms | 
| コード長 | 487 bytes | 
| コンパイル時間 | 150 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 11,520 KB | 
| 最終ジャッジ日時 | 2024-07-03 11:29:43 | 
| 合計ジャッジ時間 | 1,016 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
ソースコード
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7
S = list(s())
N = len(S)
print(N-S.count('0')-1)
            
            
            
        