📌  相关文章
📜  Polycarp 和 Coins codeforces 解决方案 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:04.530000             🧑  作者: Mango

代码示例1
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)