split array with real numbers in a positive and a negative array

后端 未结 0 1293
忘了有多久
忘了有多久 2020-12-01 02:49

i was wondering if anyone has an elegant idea to split an array A with real numbers into 2 Arrays A_positive and A_negative with, which should contain all positive/negative

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