[Question] — Sum of value of GCD for all possible pairs

Правка en1, от AshutoshChoudhary, 2024-02-22 14:58:09

Q: Given an array of n integers, find the sum of value of GCD for all possible pairs.

2 <= n <= 10 ^ 5

1 <= a[i] <= 10 ^ 5

Теги gcd

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский AshutoshChoudhary 2024-02-22 14:58:09 184 Initial revision (published)