首页 > Tokitsukaze and New Operation
头像 熊极北
发表于 2023-03-10 23:55:41
按照B站上讲的题解来就是了,但是我不明白的一点,当bad.size<=6时,我不交换(好,好)的时候,就过不了。和B站讲的有点不一样 #include<bits/stdc++.h> using namespace std; template<class T> voi 展开全文
头像 Code_Master_
发表于 2023-03-17 19:26:04
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int M=1e5+100; int t; int n,a,b; //n家店 满a元减b元 int k,x,y; //k个菜品 满x元减 展开全文

等你来战

查看全部