結果

問題 No.2679 MODice
ユーザー cumin
提出日時 2024-03-20 22:05:05
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 2,793 bytes
コンパイル時間 5,196 ms
コンパイル使用メモリ 308,832 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-09-30 07:56:27
合計ジャッジ時間 5,872 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #
プレゼンテーションモードにする

#include<bits/stdc++.h>
#include<atcoder/all>
using namespace std;
using namespace atcoder;
#define ll long long
#define ld long double
#define rep(i, n) for(ll i = 0; i < n; i++)
#define rrep(i, n) for(ll i = n-1; i >= 0; i--)
#define rep2(i, a, b) for(ll i = a; i <= b; i++)
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define UNIQUE(v) v.erase(std::unique(v.begin(), v.end()), v.end());
#define MAX(x) *max_element(all(x))
#define MIN(x) *min_element(all(x))
#define SZ(x) ((ll)(x).size())
#define eb emplace_back
#define fi first
#define se second
#define pii pair<int, int>
#define pll pair<ll, ll>
#define endl '\n'
void Yes(bool i = true){ cout << (i ? "Yes" : "No") << '\n';}
template<class T> using pq = priority_queue< T >;
template<class T> using pqg = priority_queue< T , vector< T >, greater< T >>;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
template<class T>
T ceil_div(T a, T b) {
if(b < 0) a = -a, b = -b;
return (a >= 0 ? (a + b - 1) / b : a / b);
}
template<class T>
T floor_div(T a, T b) {
if(b < 0) a = -a, b = -b;
return (a >= 0 ? a / b : (a - b + 1) / b);
}
const int inf = 1001001001;
const ll INF = 1001001001001001001;
const double PI = acos(-1);
bool range(int y, int x, int h, int w){
return (0 <= y && y < h && 0 <= x && x < w);
}
void OUT() { cout << endl; }
template <class Head, class... Tail> void OUT(const Head &head, const Tail &...tail) {
cout << head;
if(sizeof...(tail)) cout << ' ';
OUT(tail...);
}
int dy[9] = {0, 1, 0, -1, 1, 1, -1, -1, 0};
int dx[9] = {1, 0, -1, 0, 1, -1, -1, 1, 0};
pair<ll, ll> rotate(ll i, ll j, ll n){
return {n-1-j, i};
}
using mint = modint998244353;
const int MOD = 998244353;
//using mint = modint1000000007;
//const int MOD = 1000000007;
// multiseterasefinderase
//
// 0.5 cast
//
// 0
//
// 3→1bit×2
//
// s[l, r] → s[l, l+cnt[i]] i cnt[i]
//
// dp
// INF continue
// mod
//
//
// iin-place
signed main(){
cout << fixed << setprecision(15);
int n, k;
cin >> n >> k;
OUT(166374059);
return 0;
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
0