Product of Triples (Hard Version)

Problem Name:
Product of Triples (Hard Version)
Site:CodeForces
Links:
Tags: