結果

問題 No.671 1000000007
ユーザー sashimingsashiming
提出日時 2018-05-12 13:18:00
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 173 bytes
コンパイル時間 1,672 ms
コンパイル使用メモリ 157,664 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-28 09:33:26
合計ジャッジ時間 2,003 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
  string s;
  cin >> s;
  int zero = s.size() - 2;
  int ans = abs(8 - zero);
  cout << ans << "\n";
  return 0;
}
0