本文共 521 字,大约阅读时间需要 1 分钟。
题意:n个数,给出A的分数,B的分数,对一题得一分,然后给出每个人每道题的选择,每个题目有ABC三个选项,问是否存在这种可能
#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define lowbit(x) (x&-x)#define e exp(1.0)//ios::sync_with_stdio(false);typedef long long ll;typedef long long LL;using namespace std;int n,x,y;string a,b;int main(){ int T; cin>>T; while(T--) { cin>>n>>x>>y; cin>>a>>b; int ans=0; for(int i=0;i
转载地址:http://vlali.baihongyu.com/