# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
815858 | christinelynn | Lasers (NOI19_lasers) | C++17 | 249 ms | 39252 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define ull unsigned long long
#define pii pair<int, int>
#define pll pair<ll, ll>
#define fi first
#define se second
const int N = 5e5 + 5;
int x[N], sum[N];
vector<int> a[N];
vector<pair<int, int>> v, ans1, ans2;
int main() {
//ios_base::sync_with_stdio(false); cin.tie(NULL);
int l, r;
cin >> l >> r;
for (int i = 1; i <= r; i++) {
cin >> x[i];
for (int j = 0; j < x[i]; j++) {
int x2;
cin >> x2;
a[i].push_back(x2);
sum[i] += x2;
}
}
for (int i = 1; i <= r; i++) {
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |