Alice loves to play game

Limits: 2s, 1.0 GB

Alice loves to play game. Recently, she downloaded a new game from google play store. In this game, a robot transports some bricks from one location to another location and collects some points for each transportation. The details of this game are given below:

This is a companion discussion topic for the original entry at