# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
827262 | borisAngelov | Sjeckanje (COCI21_sjeckanje) | C++17 | 2050 ms | 7980 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;
const int maxn = 200005;
int n, q;
int a[maxn];
long long dp[maxn];
long long pref[maxn];
long long delta[maxn];
bool is_diff(long long x, long long y)
{
if (x > 0 && y < 0)
{
return true;
}
if (x < 0 && y > 0)
{
return true;
}
return false;
}
void solve()
{
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |