0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

私が見た気がするライブラリ

Posted at

私のライブラリ

#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_int.hpp>
#include <boost/multiprecision/cpp_dec_float.hpp>
using namespace std;
#ifndef ONLINE_JUDGE
#define _GLIBCXX_DEBUG
#endif
#if __has_include(<atcoder/all>)
#include <atcoder/all>
#endif
using iint = boost::multiprecision::cpp_int;
using int128_t = boost::multiprecision::int128_t;
using flont1024_t = boost::multiprecision::number<boost::multiprecision::cpp_dec_float<1024>>;
#define v(type) vector<type>
template<class T>istream&operator>>(istream&i,vector<T>&v){for(auto&x:v){i>>x;};return i;}
template<class T>istream&operator>>(istream&i,vector<vector<T>>&v){for(auto&x:v){i>>x;};return i;}
template<class T>ostream&operator<<(ostream&o,const vector<T>&v){for(auto&x:v){o<<x;if(&x!=&v.back()){o<<' ';};};return o;}
template<class T>ostream&operator<<(ostream&o,const vector<vector<T>>&v){for(auto&x:v){o<<x;if(&x!=&v.back()){o<<'\n';};};return o;}
template<class T,class U>inline basic_ostream<T,U>&endo(basic_ostream<T,U>&o){return o.put('\n');}
template<class T,class U>inline basic_ostream<T,U>&end(basic_ostream<T,U>&o){exit(EXIT_SUCCESS);return o;}
void print(){cout<<'\n';}
template<class T>void print(const vector<T>&v,bool m){if(m){for(auto&x:v){cout<<x;};print();}else{for(auto&x:v){cout<<x<<endo;};};}
template<class T>void print(const vector<vector<T>>&v,bool m){print(v,m);}
template<class T>bool chmax(T&a,T b){if(a<b){a=b;return true;}else{return false;};}
template<class T>bool chmin(T&a,T b){if(a>b){a=b;return true;}else{return false;};}
template<class T>T armax(const vector<T>&v){return *max_element(v.begin(),v.end());}
template<class T>T armin(const vector<T>&v){return *min_element(v.begin(),v.end());}
template<class T>T arsum(const vector<T>&v){return reduce(v.begin(),v.end());}
template<class T>T arsum(const vector<vector<T>>&v){T M=0;for(auto x:v){M+=arsum(x);};return M;}
template<class T>T arfind(const vector<T>&v,T n){for(size_t i=0;i<size(v);++i){if(v.at(i)==n){return i;};};return -1;}
template<class T>void sort_u(vector<T>&v){sort(v.begin(),v.end());}
template<class T,class...U>void sort_u(vector<T>&a,vector<U>&...b){sort_u(a);sort_u(b...);}
template<class T>void sort_d(vector<T>&v){sort(v.rbegin(),v.rend());}
template<class T,class...U>void sort_d(vector<T>&a,vector<U>&...b){sort_d(a);sort_d(b...);}
template<class T>void revolution_l(vector<vector<T>>&v){auto M=v;for(size_t i=0;i<size(M[0]);++i){for(size_t j=0;j<size(M[0]);++j){v[j][i]=M[i][j];};};}
template<class T>void revolution_r(vector<vector<T>>&v){auto M=v;for(size_t i=0;i<size(M[0]);++i){for(size_t j=0;j<size(M[0]);++j){v[size(M[0])-1-j][size(M[0])-1-i]=M[i][j];};};}
int solve() {
    
    cout << "Hello,World!" << endo;

    return 0;
};


int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    cout.setf(ios::fixed);
    cout.precision(16);
    
    int T = 1;
    cin >> T;
    while (T--) {
        solve();
    };
    return 0;
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?