# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
995142 | vjudge1 | Quality Of Living (IOI10_quality) | C++17 | 2063 ms | 251732 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;
using lli = long long;
using ld = long double;
using pii = pair <int, int>;
const int maxn = 3e3 + 1000;
const int mod = 1e9 + 7;
int m, n, h, w, b[maxn][maxn], a[maxn][maxn], pre[maxn][maxn], q[3001][3001];
bool check(lli x)
{
for (lli i = 1; i <= m; i ++)
{
for (lli j = 1; j <= n; j ++)
{
a[i][j] = 0;
}
}
for (lli i = 1; i <= m; i ++)
{
for (lli j = 1; j <= n; j ++)
{
if (b[i][j] <= x)
{
a[i][j] = 1;
}
}
}
for (lli i = 1; i <= m; 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... |