結果
| 問題 | No.671 1000000007 | 
| コンテスト | |
| ユーザー |  commy | 
| 提出日時 | 2018-08-10 16:25:52 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 608 bytes | 
| コンパイル時間 | 625 ms | 
| コンパイル使用メモリ | 73,404 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-09-23 05:44:26 | 
| 合計ジャッジ時間 | 1,343 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 9 | 
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <cmath>
#define REP(i, a, b) for (int i = int(a); i < int(b); i++)
#define dump(val) cerr << __LINE__ << ":\t" << #val << " = " << (val) << endl
using namespace std;
typedef long long int lli;
template<typename T>
vector<T> make_v(size_t a, T b) {
    return vector<T>(a, b);
}
template<typename... Ts>
auto make_v(size_t a, Ts... ts) {
    return vector<decltype(make_v(ts...))>(a, make_v(ts...));
}
int main() {
    string s;
    cin >> s;
    cout << abs(static_cast<int>(s.size()) - 10) << endl;
    return 0;
}
            
            
            
        