【Codeforces Round #509 (Div. 2)】A B C D E

A 題意 給你n個數 裏面有最大值和最小值 問你最小值和最大值之間差了幾個數 我們只要 m a x x − m i n n + 1 − n maxx-minn+1-n maxx−minn+1−n就是答案 /* if you can't see the repay Why not just work step by step rubbish is relaxed to ljq */ #include
相關文章
相關標籤/搜索