結果

問題 No.8062 A + B
コンテスト
ユーザー shop_one
提出日時 2020-04-01 21:38:33
言語 C++14
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=c++14 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 699 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 6,252 ms
コンパイル使用メモリ 395,012 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2026-03-15 00:38:54
合計ジャッジ時間 6,543 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 3 WA * 5
権限があれば一括ダウンロードができます
コンパイルメッセージ
In file included from /usr/local/include/boost/none_t.hpp:17,
                 from /usr/local/include/boost/none.hpp:17,
                 from /usr/local/include/boost/optional/optional.hpp:53,
                 from /usr/local/include/boost/optional.hpp:15,
                 from main.cpp:14:
/usr/local/include/boost/math/common_factor_rt.hpp:14:1: note: '#pragma message: This header is deprecated. Use <boost/integer/common_factor_rt.hpp> instead.'
   14 | BOOST_MATH_HEADER_DEPRECATED("<boost/integer/common_factor_rt.hpp>");
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

ソースコード

diff #
raw source code

// I SELL YOU...! 
#include<iostream>
#include<vector>
#include<algorithm>
#include<functional>
#include<queue>
#include<chrono>
#include<iomanip>
#include<map>
#include<set>
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/multi_array.hpp>
#include <boost/optional.hpp>
#include <boost/math/common_factor_rt.hpp>
#include <boost/multiprecision/cpp_dec_float.hpp>
namespace mp = boost::multiprecision;

using namespace std;
using ll = long long;
using P = pair<ll,ll>;
void init_io(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << setprecision(10);
}
signed main(){
  init_io();
  mp::cpp_dec_float_50 a,b;
  cin >> a >> b;
  cout << a + b <<endl; 
}
0