結果

問題 No.1070 Missing a space
ユーザー lam6er
提出日時 2025-03-31 17:24:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 1,000 ms
コード長 194 bytes
コンパイル時間 145 ms
コンパイル使用メモリ 82,616 KB
実行使用メモリ 53,492 KB
最終ジャッジ日時 2025-03-31 17:24:36
合計ジャッジ時間 1,128 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

C = input().strip()
count = 0
n = len(C)
for split_pos in range(1, n):
    a = C[:split_pos]
    b = C[split_pos:]
    if a[0] == '0' or b[0] == '0':
        continue
    count += 1
print(count)
0