I encountered a problem at work and now post it on the forum to ask everyone to help solve it.
There is test.txt, the content is:
I want to find out which numbers among them add up to 171780
Requirement: If there are multiple combinations, list them in turn; each number in these 72 numbers in each combination can only be used once.
There is test.txt, the content is:
4816
4776
4498
4616
4948
4684
4710
5266
4760
5168
4770
5134
5076
4784
5174
4732
4782
4746
4730
5224
5164
4742
4724
4730
4762
4162
4188
4830
4942
4072
4270
4520
4808
5130
4272
4262
4238
4240
4828
4168
4754
4720
4896
4824
5206
4322
3800
4826
4632
5104
5134
4838
3858
5008
4828
5234
4324
5282
5348
5150
4724
4682
4720
5218
4744
4742
4760
5194
4792
4712
4754
4704
I want to find out which numbers among them add up to 171780
Requirement: If there are multiple combinations, list them in turn; each number in these 72 numbers in each combination can only be used once.
三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。


