摘要:
A. Ehab Fails to Be Thanos 题目链接: 题意: 给你 2n 个数的数组,重新排列,使得前 n 和不等于后 n 项和. 题解: 如果元素都相等,不可能,输出" 1" 否则 sort 后输出 C++ include define P pair define fir first 阅读全文
摘要:
A. Eating Soup The three friends, Kuro, Shiro, and Katie, met up again! It's time for a party... What the cats do when they unite? Right, they have a 阅读全文
摘要:
A,B相对比较简单,就直接贴代码了. A Who's better? B Number include using namespace std; int main(){ int t; cin t; while(t ){ int n; cin n; int ans=0; while(n 1){ ans 阅读全文