結果

問題 No.1070 Missing a space
ユーザー pypypymipypypymi
提出日時 2021-12-22 08:21:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 1,000 ms
コード長 139 bytes
コンパイル時間 398 ms
コンパイル使用メモリ 87,244 KB
実行使用メモリ 71,540 KB
最終ジャッジ日時 2023-10-14 04:53:36
合計ジャッジ時間 1,931 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,484 KB
testcase_01 AC 70 ms
71,300 KB
testcase_02 AC 74 ms
71,540 KB
testcase_03 AC 70 ms
71,308 KB
testcase_04 AC 73 ms
71,288 KB
testcase_05 AC 70 ms
71,496 KB
testcase_06 AC 70 ms
71,536 KB
testcase_07 AC 69 ms
71,072 KB
testcase_08 AC 70 ms
71,284 KB
testcase_09 AC 71 ms
71,336 KB
権限があれば一括ダウンロードができます

ソースコード

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