# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1133741 | Aviansh | Progression (NOI20_progression) | C++20 | 94 ms | 38984 KiB |
#include <bits/stdc++.h>
using namespace std;
struct node{
int lval,rval,lcn,rcn,len,best;
bool operator==(node a){
return (a.lval==lval&&a.rval==rval&&lcn==a.lcn&&a.rcn==rcn&&a.len==len&&a.best==best);
}
};
struct lazynode{
int add,fix;
bool toadd,tofix;
};
void print(node a){
cout << a.lval << " " << a.lcn << " " << a.rval << " " << a.rcn << " " << a.len << " " << a.best << "\n";
}
struct segTree{
node *st;
lazynode *laz;
node defnode;
lazynode lazdef;
int n;
node unite(node a, node b){
if(a==defnode){
return b;
# | 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... |