Update triangle/triangle.cc