1

Board Game Sequences Advanced - A possible New Problem

 1 year ago
source link: https://www.codeabbey.com/index/forum_topic/65aa73a6d7cbfa8f8bdb9ec6e4970cdc
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Board Game Sequences Advanced - A possible New Problem

Back to General discussions forum

CSFPython     2022-09-14 09:47:00

You should have solved the Board Game Sequences problem before attempting this one. The problem description remains exactly the same. The only difference is that the board sizes are now considerably larger. You may need to find a more sophisticated approach to solve this version of the problem.

Example:

input:
1 2 5 9 18 23
6
100000000
1000000000
100000000000000
10000000000000000
100000000000000000
1000000000000000000

answer:
100135026 468319036 178877739 365242738 229053783 947435429
Please login and solve 5 problems to be able to post at forum

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK