[Codeforces#980D] Perfect Groups

Codeforces题号:#980D

出处: Codeforces

主要算法:数学

难度:4.7

思路分析:

       题目由于是英文的,好长时间没读懂,而且还读错。注意he needs to find the number of contiguous subarrays这句,是连续的子序列,所以子序列仅仅只有\(\frac{n(n+1)}{2}\)个

代码注意点:

  细节!!!

猜你喜欢

转载自www.cnblogs.com/qixingzhi/p/9291443.html