提交代码
t = int(input())
for _ in range(t):
x, y, z = map(int, input().split())
if x > z or (x == z and y != 0):
print('Merry')
elif y > (z - 1 + z - x) * x / 2 + z - x:
print('Merry')
else:
print('Renko')
评测结果:subtask 1-3 AC,subtask 4全wa
感觉和题解是一样的,为什么会这样