結果

問題 No.1070 Missing a space
ユーザー koba-e964
提出日時 2020-06-06 00:11:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 1,000 ms
コード長 191 bytes
コンパイル時間 213 ms
コンパイル使用メモリ 82,416 KB
実行使用メモリ 53,360 KB
最終ジャッジ日時 2024-12-17 19:54:02
合計ジャッジ時間 1,054 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3

import sys
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 7)

s = readline().rstrip()
a = 0
for c in s:
    if c != 48:
        a += 1

print(a - 1)
0