結果
問題 | No.1476 esreveR dna esreveR |
ユーザー | Perceval |
提出日時 | 2021-04-16 20:43:48 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 203 bytes |
コンパイル時間 | 429 ms |
コンパイル使用メモリ | 64,712 KB |
実行使用メモリ | 8,764 KB |
最終ジャッジ日時 | 2023-09-15 21:49:06 |
合計ジャッジ時間 | 5,180 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
8,764 KB |
testcase_01 | AC | 2 ms
4,380 KB |
testcase_02 | AC | 1,239 ms
4,376 KB |
testcase_03 | TLE | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
ソースコード
#include <iostream> using namespace std; using ll = int64_t; int main(){ ll n; cin >> n; ll ans = 1; for(ll i = 0; i < n/2; i++){ ans=(ans*6)%998244353; } cout<<ans<<endl; }