# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1117116 | SonicML | Floppy (RMI20_floppy) | C++14 | 70 ms | 17488 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 <stdlib.h>
#include <string>
#include <vector>
#include "floppy.h"
using namespace std;
int n;
int const INF = 1e9+7;
int const NMAX = 40000;
int arr[1 + NMAX];
string ans1;
int ind = 0;
bool compareArr(int a, int b) {
return (arr[a] < arr[b]);
}
int const KMAX = 16;
int rmq[1 + KMAX][1 + NMAX];
void buildRMQ() {
for(int i = 1;i <= n;i++) {
rmq[0][i] = i;
}
for(int k = 1;k < KMAX;k++) {
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... |