C++程序  |  3行  |  60 B

Vector3d v(2,3,4), w(4,2,3);
cout << v.cwiseMax(w) << endl;