nkiesel
05/23/2019, 8:25 AMfun main() {
readLine()!!.toInt()
val doggies = readLine()!!.toCharArray().groupBy { it }.mapValues { it.value.size }
println(if (doggies.any { it.value >= 2 }) "Yes" else "No")
}
nkiesel
05/23/2019, 8:44 AMSerVB
05/23/2019, 5:53 PMDima Avdeev
05/24/2019, 8:12 PMvadzim
05/25/2019, 2:05 PMstkent
05/25/2019, 6:52 PMTo optimize testing process you will be given multitest.I see that we're given all test inputs in a single batch, not sure if we're meant to parallelize our code based on that?
elizarov
05/26/2019, 8:12 AMPere Casafont
05/26/2019, 4:55 PMdector
05/28/2019, 12:16 AMfun
in the future for those who can't participate today? ☺️waqas
05/28/2019, 2:03 PMstkent
05/28/2019, 3:55 PMGautam Roy
05/28/2019, 4:02 PMSerVB
05/28/2019, 5:10 PMstkent
05/28/2019, 5:11 PMamadeu01
05/28/2019, 5:16 PMamadeu01
05/28/2019, 5:16 PMamadeu01
05/28/2019, 5:16 PMamadeu01
05/28/2019, 5:17 PMamadeu01
05/28/2019, 5:17 PMamadeu01
05/28/2019, 5:17 PMamadeu01
05/28/2019, 5:17 PMamadeu01
05/28/2019, 5:17 PMamadeu01
05/28/2019, 5:17 PMelizarov
05/28/2019, 5:33 PMbezrukov
05/31/2019, 5:18 PMamadeu01
06/01/2019, 2:57 AMSam
09/01/2019, 12:36 PMD. Divide by three, multiply by two
?amadeu01
09/07/2019, 7:28 PMamadeu01
09/07/2019, 8:26 PMamadeu01
09/09/2019, 6:46 PMamadeu01
09/09/2019, 6:46 PMelizarov
09/10/2019, 12:25 PM