#include "prefix_sum_tools.hpp"
#include "rec_bisect_minmax.hpp"
#include <iostream>
Functions | |
double | pointDiff (int *prefixSum, int low, int high, int leftProc, int rightProc, int point) |
int | slopeAt (int *prefixSum, int low, int high, int leftProc, int rightProc, int point) |
int | bimonsearch (int *prefixSum, int low, int high, int leftProc, int rightProc) |
int | main () |
int bimonsearch | ( | int * | prefixSum, | |
int | low, | |||
int | high, | |||
int | leftProc, | |||
int | rightProc | |||
) |
int main | ( | ) |
double pointDiff | ( | int * | prefixSum, | |
int | low, | |||
int | high, | |||
int | leftProc, | |||
int | rightProc, | |||
int | point | |||
) |
int slopeAt | ( | int * | prefixSum, | |
int | low, | |||
int | high, | |||
int | leftProc, | |||
int | rightProc, | |||
int | point | |||
) |