# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
209762 | Alexa2001 | Solar Storm (NOI20_solarstorm) | C++17 | 221 ms | 113248 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 ll = long long;
const int Nmax = 1e6 + 5, lg = 20;
// 15 : 38
int go[lg+1][Nmax], n, S, deploy[Nmax];
ll coef[Nmax], d[Nmax], K;
const int bsize = 1 << 18;
char buffer[bsize+2]; int cursor;
static inline void init_read()
{
fread(buffer, 1, bsize, stdin), cursor = 0;
}
template<typename T>
void read(T &x)
{
x = 0;
while(!isdigit(buffer[cursor]))
{
++cursor;
if(cursor == bsize) init_read();
Compilation message (stderr)
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |