![]() |
.. (לתיקייה המכילה) | |
Is there a mistake in the complexity requirements?
|
No.
|
What should the function 'get_money' do if the parameter 'money' is negative?
|
The function should fail.
|
Are you going to publish test files?
|
In this exercise we are not going to publish test files. Since this exercise has less details than the former, we leave the preparation of the test files to you.
|
Can we assume that MAX_INT is not a possible cost for an activist?
|
Yes.
|
What should the function 'Buy_activists' do if the parameter 'act_cost' is not positive?
|
The function should fail.
|
What should the function 'Sell_activists' do if the parameter 'money' is not positive?
|
The function should fail.
|
The file 'main2.cpp' that you gave compiles with warnings. What should we do?
|
The file was updated, and now it should compile without warnings.
|
What should the function 'Find_rich_parties' do if the parameter 'k' is not positive?
|
The function should fail.
|

