Skip to content
bradendubois edited this page Oct 7, 2021 · 7 revisions

Bijele

ID: bijele

Difficulty: 1.4

CPU Time: 1 second

Memory: 1024 MB

Solution

For this one, one can simply hard-code an array of the "ideal" chess set, in the ordering king-queen-rook-bishop-knight-pawn (1, 1, 2, 2, 2, 8) and read in the array of pieces given, and simply output the difference at each point, standard[i] minus given[i].

Clone this wiki locally