結果
| 問題 |
No.2079 aaabbc
|
| コンテスト | |
| ユーザー |
rieaaddlreiuu
|
| 提出日時 | 2022-10-22 08:47:43 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 308 bytes |
| コンパイル時間 | 1,459 ms |
| コンパイル使用メモリ | 165,228 KB |
| 実行使用メモリ | 13,756 KB |
| 最終ジャッジ日時 | 2024-07-01 12:58:22 |
| 合計ジャッジ時間 | 9,261 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 2 TLE * 2 -- * 7 |
ソースコード
#include <bits/stdc++.h>
#include <vector>
#include <tuple>
#include <regex>
#include <string>
#include <stack>
#include <algorithm>
using namespace std;
int main(){
int N;
long ans = 1;
scanf("%d",&N);
for(int i=0;i<N;i++){
ans = (ans * 3) % 998244353;
}
printf("%d",ans);
}
rieaaddlreiuu