Universal Cup Judging System
Universal Cup
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
Time Limit:
1 s
Memory Limit:
1024 MB
The 2nd Universal Cup. Stage 24: Chongqing
B. Tree and Permutation
This problem is prepared by
xiaolilsq .