結果

問題 No.1070 Missing a space
ユーザー neterukunneterukun
提出日時 2020-06-05 21:21:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 1,000 ms
コード長 103 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 87,044 KB
実行使用メモリ 71,360 KB
最終ジャッジ日時 2023-08-22 13:51:35
合計ジャッジ時間 1,814 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,132 KB
testcase_01 AC 75 ms
71,308 KB
testcase_02 AC 76 ms
71,132 KB
testcase_03 AC 76 ms
71,360 KB
testcase_04 AC 74 ms
71,324 KB
testcase_05 AC 75 ms
71,360 KB
testcase_06 AC 75 ms
71,272 KB
testcase_07 AC 76 ms
71,184 KB
testcase_08 AC 76 ms
71,156 KB
testcase_09 AC 76 ms
70,984 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

c = input()
ans = 0
for i in c:
    if i == "0":
        pass
    else:
        ans += 1
print(ans - 1)
0