Kangokutou Exodus

View as PDF

Submit solution

Points: 1.00
Time limit: 2.0s
Memory limit: 512M

Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch

In case the statement didn't load correctly, you can download the statement here: Statement

Sample Input 1

2
6
12 24 9 12 6 12
4
27 12 38 36

Sample Output 1

9
7

Comments

Please read the guidelines before commenting.


There are no comments at the moment.