Codeforces Beta Round 85 (Div. 1 Only) B. Petya and Divisors
- Time : O(n∗√xi)
- Space : O(max(xi))
c++
1 |
|