結果
| 問題 |
No.2679 MODice
|
| コンテスト | |
| ユーザー |
eve__fuyuki
|
| 提出日時 | 2024-03-21 00:11:15 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 323 bytes |
| コンパイル時間 | 1,898 ms |
| コンパイル使用メモリ | 195,040 KB |
| 最終ジャッジ日時 | 2025-02-20 10:17:38 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 WA * 10 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/modint>
using namespace std;
using mint = atcoder::modint998244353;
void fast_io() {
ios::sync_with_stdio(false);
std::cin.tie(nullptr);
}
int main() {
fast_io();
int n, k;
cin >> n >> k;
mint ans = mint(6).pow(n).inv();
cout << ans.val() << endl;
}
eve__fuyuki