ArenaRating

2023 KSA Automata Summer Contest

Solution

Since kk is given up to eight decimal places, 109×k10^9 \times k must be an integer. Therefore, kk can be represented as k=109×k109k = \cfrac{10^9 \times k}{10^9}.