我不想做,我要打CF了,第一次有点期待
我拿两个首A(T0和T1)就接着上课了
我是C题首A+首AK
洛谷的 XRCOI Round 1 是什么难度?我滴妈,第一题就难住了
最后一题首A
2 个赞
我也是
https://www.luogu.com.cn/problem/U541834?contestId=234449
为什么AC不了???
样例都过了,这么一个题把我AK的道路卡住了?!
2 个赞
#include<bits/stdc++.h>
#define ll long long
using namespace std;
string a="Mancity Goal!";
string b="Mancity get a red card!";
string c="Brighton Goal!";
string d="Brighton get a red card!";
string e="Mancity have a penalty kick!";
string f="Brighton have a penalty kick!";
int n;
int mcnt,bcnt;
int mred,bred;
int main(){
cin>>n;
while(n--){
string s;
getline(cin,s);
if(s==a){
mcnt++;
}
else if(s==c){
bcnt++;
}
else if(s==b){
mred++;
if(mred>=5){
cout<<"0 3";
return 0;
}
}
else if(s==d){
bred++;
if(bred>=5){
cout<<"3 0";
return 0;
}
}
else if(s!=e&&s!=f){
n++;
}
}
cout<<mcnt<<" "<<bcnt;
return 0;
}
/*
*/
为啥TLE???
为啥?
2 个赞
包难的
我也不会
说句闲话,今天就是曼城打布莱顿
e,我也不知道,而且我还在看回放。。。
AC了
第二个AK有奖励吗
2 个赞
我T1样例过了但是WA0
快点更新公告,我AK了
3 个赞
%%%曼城球迷,有人看西甲嘛qwq
有的,兄弟,有的,我还看巴萨
666,不像我什么都不知道,有什么看什么
太好了!我也爱看巴萨!我还看大巴黎
前2题有点水欸
我这种小菜都能快速一遍AC欸
2 个赞