結果
問題 |
No.1476 esreveR dna esreveR
|
ユーザー |
![]() |
提出日時 | 2021-04-16 21:06:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 229 bytes |
コンパイル時間 | 639 ms |
コンパイル使用メモリ | 63,232 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-03 00:05:25 |
合計ジャッジ時間 | 12,680 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 3 TLE * 3 |
ソースコード
#include <iostream> using namespace std; using ll = long long; int main(){ ll n; cin >> n; int a=(n/2)%998244352; ll ans = 1; for(ll i = 0; i < a; i++){ ans=(ans*6)%998244353; } cout<<ans<<endl; }