Description: Xiaowei enroll CCTV intellectual big surf program, The Challenge has attracted many participants, we commend the courage to host first award each participant m, respectively. Let us not be too happy! Because these are not necessarily paying the money you! Then the host announced the rules of the game:
First, the game is divided into n time periods (n ≤ 500), it also gives a lot of games, each game must be completed before the specified period ti (1 ≤ ti ≤ n). If a game could not be completed before the specified period, the deduction from the fee m-ary part of the money in reward wi, wi is a natural number, different game deduct money is not the same. Of course, every game itself is very simple, to ensure that each participant can be completed within a period of time, but must start from the entire period. Moderator just want to quiz each participant how to make their own arrangements for the organization of the game in order. As a participant, Xiaowei wanted to win, of course, want t
To Search:
File list (Check if you may need any files):
gameScheme\test_1.cpp
..........\test_1.exe
..........\test_2.cpp
..........\test_2.exe
gameScheme