結果
問題 | No.1476 esreveR dna esreveR |
ユーザー |
|
提出日時 | 2021-04-16 21:00:30 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 321 bytes |
コンパイル時間 | 984 ms |
コンパイル使用メモリ | 68,224 KB |
最終ジャッジ日時 | 2025-01-20 19:12:02 |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 6 |
ソースコード
#include <atcoder/modint> #include <iostream> using namespace std; using lint = long long; using mint = atcoder::modint998244353; void solve() { lint n; cin >> n; cout << mint(6).pow(n / 2).val() << "\n"; } int main() { cin.tie(nullptr); ios::sync_with_stdio(false); solve(); return 0; }