Triple-Free Sets

Problem Name:
Triple-Free Sets
Site:Spoj
Links:
Tags:
Problem setters: