# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
680567 | nutella | Bubble Sort 2 (JOI18_bubblesort2) | C++17 | 901 ms | 26568 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>
#include "bubblesort2.h"
using namespace std;
mt19937 rnd(228);
struct Info {
int mx = 0;
Info() = default;
explicit Info(int x) : mx(x) {}
};
Info operator+(Info a, Info b) {
return Info{max(a.mx, b.mx)};
}
struct Tag {
int add = 0;
Tag() = default;
explicit Tag(int x) : add(x) {}
};
void apply(Info &a, Tag &b) {
a.mx += b.add;
}
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... |