結果
問題 | No.671 1000000007 |
ユーザー |
![]() |
提出日時 | 2020-08-29 15:20:23 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 254 bytes |
コンパイル時間 | 616 ms |
コンパイル使用メモリ | 29,568 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-14 13:29:01 |
合計ジャッジ時間 | 881 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
#include<stdio.h> #include<stdlib.h> int main(void){ char d[100]; scanf("%s",&d); int count=0; for(int i=0;i<sizeof(d);i++){ if(d[i]=='0'){ count++; } } printf("%d\n",abs(count-8)); return 0; }