結果

問題 No.481 1から10
ユーザー TautCony
提出日時 2017-02-13 17:15:48
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 1,207 bytes
コンパイル時間 1,007 ms
コンパイル使用メモリ 91,984 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-29 18:49:48
合計ジャッジ時間 1,697 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <iostream>
#include <iomanip>
#include <cstring>
#include <cstdlib>
#include <sstream>
#include <cstdio>
#include <string>
#include <vector>
#include <queue>
#include <stack>
#include <cmath>
#include <ctime>
#include <list>
#include <set>
#include <map>
using namespace std;

template<typename T> std::ostream &operator<<(std::ostream &os, const std::vector<T>& v) { bool first = true; os << "["; for (unsigned int i = 0; i < v.size(); i++) { if (!first)os << ", "; os << v[i]; first = false; }return os << "]"; }
template<typename T> std::ostream &operator<<(std::ostream &os, const std::deque<T>& v) { bool first = true; os << "["; for (unsigned int i = 0; i < v.size(); i++) { if (!first)os << ", "; os << v[i]; first = false; }return os << "]"; }
template<typename T1, typename T2> std::ostream& operator << (std::ostream& os, const std::pair<T1, T2>& p) { return os << "(" << p.first << ", " << p.second << ")"; }
const int M = 10000;
const double eps = 1e-5;

int main()
{
    std::ios::sync_with_stdio(false); std::cin.tie();
    int ans = 55, val;
    for(int i = 0; i < 9; ++i) {
        cin >> val;
        ans -= val;
    }
    cout << ans << endl;
    return 0;
}
0