結果
問題 | No.1349 Subset Product Queries |
ユーザー |
![]() |
提出日時 | 2021-01-13 19:21:20 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 527 bytes |
コンパイル時間 | 3,659 ms |
コンパイル使用メモリ | 126,892 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-25 23:42:10 |
合計ジャッジ時間 | 7,718 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 19 RE * 11 |
ソースコード
#include <iostream>#include <vector>#include <array>#include <algorithm>#include <cassert>constexpr int MAX_N = 5000;constexpr int MAX_Q = 200000;constexpr int MAX_V = 5000;int main() {int N, Q;std::cin >> N >> Q;assert(1 <= N && N <= MAX_N);assert(1 <= Q && Q <= MAX_Q);for (int i = 0; i < N; ++i) {int x;std::cin >> x;assert(1 <= x && x <= MAX_V);}for (int i = 0; i < Q; ++i) {int l, r, k;std::cin >> l >> r >> k;}return 0;}