結果
| 問題 | No.1070 Missing a space | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2022-06-03 16:26:08 | 
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 164 bytes | 
| コンパイル時間 | 825 ms | 
| コンパイル使用メモリ | 86,272 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-09-21 02:19:58 | 
| 合計ジャッジ時間 | 1,510 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
ソースコード
#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main(){
	string c;
	cin>>c;
	cout<<c.size()-1-count(c.begin(),c.end(),'0')<<endl;
}
            
            
            
        