結果

問題 No.2079 aaabbc
ユーザー keisuke6
提出日時 2022-09-25 21:12:00
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
TLE  
実行時間 -
コード長 206 bytes
コンパイル時間 1,944 ms
コンパイル使用メモリ 192,064 KB
最終ジャッジ日時 2025-02-07 15:10:22
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 5 TLE * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
  int ans = 1;
  int N;
  cin>>N;
  for(int i=0;i<N;i++){
      ans *= 3;
      ans %= 998244353;
  }
  cout<<ans<<endl;
}
0