Answers for "Polycarp and Coins codeforces solution"

0

Polycarp and Coins codeforces solution

for i in range(0, int(input())):
    n = int(input())
    c1 = n // 3;
    c2 = c1;
    if n % 3 == 1:
        c1 += 1
    elif n % 3 == 2:
        c2 += 1
    print(c1, c2)
Posted by: Guest on August-29-2021

Code answers related to "Polycarp and Coins codeforces solution"

Python Answers by Framework

Browse Popular Code Answers by Language