結果
| 問題 | No.671 1000000007 | 
| コンテスト | |
| ユーザー |  Kutimoti_T | 
| 提出日時 | 2018-05-14 18:00:41 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 269 bytes | 
| コンパイル時間 | 1,228 ms | 
| コンパイル使用メモリ | 161,008 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-06-28 11:47:31 | 
| 合計ジャッジ時間 | 1,787 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 9 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define i64 long long
#define rep(i,s,e) for(int (i) = (s);(i) <= (e);(i)++)
string b;
string s;
int main(){
    i64 m = 1e9 + 7;
    b = to_string(m);
    cin >> s;
    cout << abs((int)s.size() - (int)b.size()) << endl;
}
            
            
            
        