結果
問題 |
No.1070 Missing a space
|
ユーザー |
|
提出日時 | 2025-01-12 22:45:57 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 4,144 ms |
コンパイル使用メモリ | 77,104 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-12 22:46:04 |
合計ジャッジ時間 | 1,902 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 7 |
ソースコード
#include <iostream> using namespace std; int main(){ unsigned int input; unsigned int len = 0; unsigned int zero = 0; cin >> input; while (input!=0){ input /= 10; len++; if(input % 10 == 0){ zero++; } } cout << len - zero - 1 << endl; return 0; }