結果
| 問題 | No.1476 esreveR dna esreveR |
| コンテスト | |
| ユーザー |
se1ka2
|
| 提出日時 | 2021-04-16 20:02:17 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 228 bytes |
| 記録 | |
| コンパイル時間 | 276 ms |
| コンパイル使用メモリ | 72,704 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-04 06:38:27 |
| 合計ジャッジ時間 | 5,157 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 1 TLE * 1 -- * 4 |
ソースコード
#include <iostream>
using namespace std;
typedef long long ll;
const ll MOD = 998244353;
int main()
{
int n;
cin >> n;
ll ans = 1;
for(int i = 0; i < n / 2; i++) ans = ans * 6 % MOD;
cout << ans << endl;
}
se1ka2