Paul Hamm and Nastia Liukin treated the Pacific Rim Championships as a training weekend with prizes at the end of it. Two of the United States’ top gymnasts patiently honed their routines and endured mistakes with the goal of eventual perfection in Beijing.