How to find the pairs that are prime between each other in an array?

后端 未结 0 1432
攒了一身酷
攒了一身酷 2021-01-05 06:08

I need to put numbers in an array and take the ones that are at equal distances from the end of the interval

Example: 6 numbers, {3, 4, 6, 36, 45, 97} -> 3 and 97,

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