結果

問題 No.1070 Missing a space
ユーザー pypypymi
提出日時 2021-12-22 08:21:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 1,000 ms
コード長 139 bytes
コンパイル時間 239 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 51,840 KB
最終ジャッジ日時 2024-09-16 00:18:19
合計ジャッジ時間 1,370 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
count=0
for i in range(1,len(s)):
    s1 = s[:i]
    s2 = s[i:]
    if s1[0]!="0" and s2[0]!="0":
        count+=1
print(count)
0