[请益] 求这段程式详细的解释

楼主: ms0439883 (睡神阿德)   2019-05-19 01:14:48
#include <iostream>using namespace std;
int parts[101];
void Partition(int limit, int now, int pointer) {
if (now < 0)
return;
if (!now) {
for (int i = 0; i < pointer; i++)
cout << parts[i] << ' ';
cout << '\n';
return;
}
for (int i = limit; i >= 1; i

Links booklink

Contact Us: admin [ a t ] ucptt.com