結果
| 問題 | No.8110 WIP Editorial |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-01 22:45:03 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 672 bytes |
| 記録 | |
| コンパイル時間 | 2,205 ms |
| コンパイル使用メモリ | 230,240 KB |
| 実行使用メモリ | 12,004 KB |
| 最終ジャッジ日時 | 2026-07-04 09:13:38 |
| 合計ジャッジ時間 | 3,496 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 8 |
コンパイルメッセージ
In file included from /home/linuxbrew/.linuxbrew/Cellar/gcc/15.2.0_1/include/c++/15/cassert:46,
from /home/linuxbrew/.linuxbrew/Cellar/gcc/15.2.0_1/include/c++/15/x86_64-pc-linux-gnu/bits/stdc++.h:108,
from main.cpp:6:
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;
| ^
ソースコード
#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();
}