题目:链接:https://ac.nowcoder.com/acm/contest/65955/B链接:https://ac.nowcoder.com/acm/contest/65955/B来源:牛客网思路:思路一:结构:数组函数:sort构建一个数组储存不舒适度,按照从小到大的顺序排列,并且随着佩戴次数增多对数组元素进行翻倍处理。代码: #include<iostream> #include<vector> #include<algorithm> using namespace std; int main() { int n, k, day = 0, s...