摘要:
#include <bits/stdc++.h> using namespace std; const int N = 55; #define ll long long char c[N], o[N], a[N], b[N]; int n, m, val; ll d[N][N], f[N][N]; 阅读全文
摘要:
upd:更多CF题目看这里吧 收录了一些比较有趣的题,只要这个菜鸡还没退役就会持续更新~~~ CF1321E World of Darkraft: Battle for Azathoth CF1311E Construct the Binary Tree CF1296F Berland Beauty 阅读全文
摘要:
"题面" 先将所有盒子按苹果数排序,由于一共有奇数个盒子,此时取下标为奇数的盒子1、3、5、7...2 n 1 一定可以使苹果满足条件(2 n 1比2 n 2大(或等于),2 n 3比2 n 4大,...3比2大,最后还多下1,因此苹果树一定大于等于一半) 然后判断橘子数是否大于等于总数一半,如果大 阅读全文