#agc020b. [agc020_b]Ice Rink Game

[agc020_b]Ice Rink Game

nn个人进行游戏,每轮只保留最大的a[i]a[i]倍数的人,最后一轮过后剩余22人,求最小和最大的nn,或1-1

数据范围:n<=105n<=10^5