AtCoder Beginners Contest 083[A to C]

Tasks

 

A. Libra … Basic if…else structure

 

B. Some Sums … I used brute force as the expected N is up to 10^4. So I just iterate all the numbers from 1 to N.

 

C. Multiple Gift … I used kind of brute force here as well. Multiply current number by 2, 3, 4… and check if modulus is 0 each time.