結果

問題 No.2600 Avator Height
ユーザー hitonanode
提出日時 2024-01-12 22:49:30
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 348 ms / 2,000 ms
コード長 207 bytes
コンパイル時間 3,884 ms
コンパイル使用メモリ 83,604 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-27 23:35:28
合計ジャッジ時間 12,253 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
using namespace std;

int main() {
    int Q;
    cin >> Q;

    while (Q--) {
        int n;
        cin >> n;
        cout << (n % 2 ? 4 : 998244349) << '\n';
    }
}
0