quartile.cpp