riorita.cpp