結果
問題 |
No.671 1000000007
|
ユーザー |
![]() |
提出日時 | 2018-09-30 16:59:38 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 117 ms |
コンパイル使用メモリ | 29,184 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-12 09:13:05 |
合計ジャッジ時間 | 660 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 6 WA * 3 |
ソースコード
#include <stdio.h> #include <stdlib.h> #include <string.h> int main(){ char N[20]; int n = 0; int i; scanf("%s", N); for(i = 0; i < strlen(N); i++){ if(N[i] == '0') n++; } printf("%d\n", 8 - n); return 0; }