結果

問題 No.3110 WIP Editorial
ユーザー 👑 nu50218nu50218
提出日時 2024-04-01 22:45:03
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
RE  
実行時間 -
コード長 672 bytes
コンパイル時間 3,253 ms
コンパイル使用メモリ 215,180 KB
実行使用メモリ 6,548 KB
最終ジャッジ日時 2024-04-01 22:45:08
合計ジャッジ時間 4,960 ms
ジャッジサーバーID
(参考情報)
judge15 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function 'void solve(int)':
main.cpp:25:19: warning: 't' is used uninitialized [-Wuninitialized]
   25 |     assert(1 <= t && t <= 3);
      |                   ^~
main.cpp:24:9: note: 't' was declared here
   24 |     int t;
      |         ^

ソースコード

diff #

#ifdef LOCAL
#include <local.hpp>
#else
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx2,popcnt,lzcnt,abm,bmi,bmi2")
#include <bits/stdc++.h>
#define debug(...) ((void)0)
#define postprocess(...) ((void)0)
#endif

using namespace std;
using ll = long long;
using ld = long double;

void solve([[maybe_unused]] int test) {
    int N, Q;
    cin >> N >> Q;

    for (int i = 0; i < N; i++) {
        int x;
        cin >> x;
    }

    int t;
    assert(1 <= t && t <= 3);
}

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    int t = 1;
    // cin >> t;
    for (int i = 1; i <= t; i++) {
        solve(i);
    }

    postprocess();
}
0