結果

問題 No.1070 Missing a space
ユーザー raven7959raven7959
提出日時 2021-08-07 23:41:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 1,000 ms
コード長 117 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 81,824 KB
実行使用メモリ 51,580 KB
最終ジャッジ日時 2023-10-18 23:42:01
合計ジャッジ時間 1,181 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
51,504 KB
testcase_01 AC 37 ms
51,504 KB
testcase_02 AC 36 ms
51,504 KB
testcase_03 AC 37 ms
51,500 KB
testcase_04 AC 36 ms
51,512 KB
testcase_05 AC 37 ms
51,516 KB
testcase_06 AC 37 ms
51,572 KB
testcase_07 AC 40 ms
51,572 KB
testcase_08 AC 37 ms
51,564 KB
testcase_09 AC 36 ms
51,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

C=input()
ans=0
for i in range(len(C)-1):
  A=C[:i+1]
  B=C[i+1:]
  if A[0]!="0" and B[0]!="0":
    ans+=1
print(ans)
0