Preliminary solutions for AtCoder Beginner Contest 064

Problem A: Check multiples of 4 Given three digits a, b, c (most significant first), form the three-digit number n = 100*a + 10*b + c. Determine whether n is divisible by 4. int a, b, c; cin >> a >> b >> c; int n = a * 100 + b * 10 + c; cout << (n % 4 == 0 ? "YES" : "NO") << "\n"; Pro ...

Posted on Mon, 11 May 2026 07:02:20 +0000 by lostsoul111455