摘要: A median of an array of integers of length nn is the number standing on the ⌈n2⌉⌈n2⌉ (rounding up) position in the non-decreasing ordering of its elem 阅读全文
posted @ 2021-05-04 15:57 TYoUer 阅读(67) 评论(0) 推荐(0)
摘要: 看转换的钱加买转换后的钱与另一种比较,多就不转,少就转。 https://vjudge.net/contest/436484#problem/D 代码 #include<stdio.h> #include<string.h> int main(){ int n; scanf("%d",&n); fo 阅读全文
posted @ 2021-05-04 14:08 TYoUer 阅读(76) 评论(0) 推荐(0)