AcceleratedC++/Chapter6/Code

  • 책에 나온 과제들 코드

상협

  • 먼저 과제라고 나온 optimistic_median_analysis 함수 만들기

~cpp 
double optimistic_median_analysis(const vector<Student_info> &students)
{
	vector<double> medianOfStudents;
	transform(students.begin(), students.end(), back_inserter(medianOfStudents), optimistic_median);
	return median(medianOfStudents);
}



Retrieved from http://wiki.zeropage.org/wiki.php/AcceleratedC++/Chapter6/Code
last modified 2021-02-07 05:22:25