Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
57850 张老师 【选】邮费计算 Python3 Wrong Answer 40 44 MS 4456 KB 139 2025-06-24 16:08:49

Tests(2/5):


n = int(input()) x = input() ans = 8 if x == "y": ans = ans + 8 if n >1000: ans = ans + (n-1000+499)//500*4 print(ans)


Judgement Protocol: