結果
問題 | No.1349 Subset Product Queries |
ユーザー |
![]() |
提出日時 | 2021-01-13 19:22:03 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 489 bytes |
コンパイル時間 | 1,478 ms |
コンパイル使用メモリ | 127,272 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-25 23:43:25 |
合計ジャッジ時間 | 6,194 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 30 |
ソースコード
#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;}for (int i = 0; i < Q; ++i) {int l, r, k;std::cin >> l >> r >> k;}return 0;}