CS计算机代考程序代写 /*

/*
* max_profit.h
* Univeristy of Michigan, Ann Arbor
* EECS 281 F19E1 Q26.
* DO NOT SUBMIT TO GRADESCOPE.
* If submitted, this file will be ignored.
*/

#ifndef MAX_PROFIT_H
#define MAX_PROFIT_H

#include

double max_profit(std::istream &stock_in, int k);

#endif