摘要:
链接 挺好一道题 我们设理想时间为 所有饼的总时长之和/锅数 向上取整 饼最大值和理想时间取最大值为答案,设答案为t 方案是顺序烙饼,每t时间切割一次放入新的锅里 #include<bits/stdc++.h> #define int long long using namespace std; i 阅读全文
摘要:
表达式有多种表示方式 例如: Exp = a * b + (c * d / e) * f 前缀式: + * a b * * c / d e f 中缀式: a * b + c * d / e * f 后缀式: a b * c d e / * f * + 得到后缀表达式后可以用栈得到结果 如何得到后缀表 阅读全文