My code is “Time Limit Exceeded”--How can I improve the speed?(Python3)

前端 未结 0 513
广开言路
广开言路 2021-02-06 14:02

The problem is:

10 Kinds of People in kattis (https://tamu.kattis.com/problems/10kindsofpeople)

I used disjoint set, which seems to be the best ap

相关标签:
回答
  • 消灭零回复
提交回复
热议问题