No older revisions available
No older revisions available
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);
}