Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
57857 张晴伊 【选】邮费计算 Python3 Accepted 100 44 MS 4444 KB 138 2025-06-24 16:16:16

Tests(5/5):


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


Judgement Protocol: