QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#765004#9268. Basketball Plus-MinusN_z_AC ✓2ms4028kbC++237.1kb2024-11-20 11:36:222024-11-20 11:36:23

Judging History

你现在查看的是最新测评结果

  • [2024-11-20 11:36:23]
  • 评测
  • 测评结果:AC
  • 用时:2ms
  • 内存:4028kb
  • [2024-11-20 11:36:22]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
struct time_helper{
#ifdef LOCAL
clock_t time_last;time_helper(){time_last=clock();}void test(){auto time_now=clock();std::cerr<<"time:"<<1.*(time_now-time_last)/CLOCKS_PER_SEC<<";all_time:"<<1.*time_now/CLOCKS_PER_SEC<<std::endl;time_last=time_now;}~time_helper(){test();}
#else
void test(){}
#endif
}time_helper;
#ifdef LOCAL
#include"dbg.h"
#else
#define dbg(...) (__VA_ARGS__)
#endif
namespace Fread{const int SIZE=1<<16;char buf[SIZE],*S,*T;inline char getchar(){if(S==T){T=(S=buf)+fread(buf,1,SIZE,stdin);if(S==T)return'\n';}return *S++;}}namespace Fwrite{const int SIZE=1<<16;char buf[SIZE],*S=buf,*T=buf+SIZE;inline void flush(){fwrite(buf,1,S-buf,stdout);S=buf;}inline void putchar(char c){*S++=c;if(S==T)flush();}struct NTR{~NTR(){flush();}}ztr;}
#define getchar Fread::getchar
#define putchar Fwrite::putchar
int print_precision=10;bool print_T_endl=1;char print_between=' ';
template<typename T>struct is_char{static constexpr bool value=(std::is_same<T,char>::value||std::is_same<T,signed char>::value||std::is_same<T,unsigned char>::value);};template<typename T>struct is_integral_ex{static constexpr bool value=(std::is_integral<T>::value||std::is_same<T,__int128>::value)&&!is_char<T>::value;};template<typename T>struct is_floating_point_ex{static constexpr bool value=std::is_floating_point<T>::value||std::is_same<T,__float128>::value;};namespace Fastio{struct Reader;struct Writer;template<size_t id>struct read_tuple{template<typename...T>static void read(Reader&stream,std::tuple<T...>&x){read_tuple<id-1>::read(stream,x);stream>>get<id-1>(x);}};template<>struct read_tuple<0>{template<typename...T>static void read([[maybe_unused]]Reader&stream,[[maybe_unused]]std::tuple<T...>&x){}};template<size_t id>struct print_tuple{template<typename...T>static void print(Writer&stream,const std::tuple<T...>&x){print_tuple<id-1>::print(stream,x);putchar(print_between);stream<<get<id-1>(x);}};template<>struct print_tuple<1>{template<typename...T>static void print(Writer&stream,const std::tuple<T...>&x){stream<<get<0>(x);}};template<>struct print_tuple<0>{template<typename...T>static void print([[maybe_unused]]Writer&stream,[[maybe_unused]]const std::tuple<T...>&x){}};
struct Reader{template<typename T>typename std::enable_if_t<std::is_class<T>::value,Reader&>operator>>(T&x){for(auto &y:x)*this>>y;return *this;}template<typename...T>Reader&operator>>(std::tuple<T...>&x){read_tuple<sizeof...(T)>::read(*this,x);return *this;}template<typename T>typename std::enable_if_t<is_integral_ex<T>::value,Reader&>operator>>(T&x){char c=getchar();short f=1;while(c<'0'||c>'9'){if(c=='-')f*=-1;c=getchar();}x=0;while(c>='0'&&c<='9'){x=(x<<1)+(x<<3)+(c^48);c=getchar();}x*=f;return *this;}template<typename T>typename std::enable_if_t<is_floating_point_ex<T>::value,Reader&>operator>>(T&x){char c=getchar();short f=1,s=0;x=0;T t=0;while((c<'0'||c>'9')&&c!='.'){if(c=='-')f*=-1;c=getchar();}while(c>='0'&&c<='9'&&c!='.')x=x*10+(c^48),c=getchar();if(c=='.')c=getchar();else return x*=f,*this;while(c>='0'&&c<='9')t=t*10+(c^48),s++,c=getchar();while(s--)t/=10.0;x=(x+t)*f;return*this;}template<typename T>typename std::enable_if_t<is_char<T>::value,Reader&>operator>>(T&c){c=getchar();while(c=='\n'||c==' '||c=='\r')c=getchar();return *this;}Reader&operator>>(char*str){int len=0;char c=getchar();while(c=='\n'||c==' '||c=='\r')c=getchar();while(c!='\n'&&c!=' '&&c!='\r')str[len++]=c,c=getchar();str[len]='\0';return*this;}template<typename T1,typename T2>Reader&operator>>(std::pair<T1,T2>&x){*this>>x.first>>x.second;return *this;}Reader&operator>>(std::string&str){str.clear();char c=getchar();while(c=='\n'||c==' '||c=='\r')c=getchar();while(c!='\n'&&c!=' '&&c!='\r')str.push_back(c),c=getchar();return*this;}Reader(){}}cin;const char endl='\n';
struct Writer{typedef __int128 mxdouble;template<typename T>typename std::enable_if_t<std::is_class<T>::value,Writer&>operator<<(const T&x){for(auto q:x){*this<<q;if(!is_class<decltype(q)>::value)*this<<print_between;}if(!is_class<typename T::value_type>::value&&print_T_endl)*this<<'\n';return *this;}template<typename...T>Writer&operator<<(const std::tuple<T...>&x){print_tuple<sizeof...(T)>::print(*this,x);if(print_T_endl)*this<<'\n';return *this;}template<typename T>typename std::enable_if_t<is_integral_ex<T>::value,Writer&>operator<<(T x){if(x==0)return putchar('0'),*this;if(x<0)putchar('-'),x=-x;static int sta[45];int top=0;while(x)sta[++top]=x%10,x/=10;while(top)putchar(sta[top]+'0'),--top;return*this;}template<typename T>typename std::enable_if_t<is_floating_point_ex<T>::value,Writer&>operator<<(T x){if(x<0)putchar('-'),x=-x;x+=pow(10,-print_precision)/2;mxdouble _=x;x-=(T)_;static int sta[45];int top=0;while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');while(top)putchar(sta[top]+'0'),--top;putchar('.');for(int i=0;i<print_precision;i++)x*=10;_=x;while(_)sta[++top]=_%10,_/=10;for(int i=0;i<print_precision-top;i++)putchar('0');while(top)putchar(sta[top]+'0'),--top;return*this;}template<typename T>typename std::enable_if_t<is_char<T>::value,Writer&>operator<<(const T&c){putchar(c);return*this;}Writer&operator<<(char*str){int cur=0;while(str[cur])putchar(str[cur++]);return *this;}Writer&operator<<(const char*str){int cur=0;while(str[cur])putchar(str[cur++]);return*this;}template<typename T1,typename T2>Writer&operator<<(const std::pair<T1,T2>&x){*this<<x.first<<print_between<<x.second;if(print_T_endl)*this<<'\n';return *this;}Writer&operator<<(const std::string&str){int st=0,ed=str.size();while(st<ed)putchar(str[st++]);return*this;}Writer(){}}cout;}
#define cin Fastio::cin
#define cout Fastio::cout
#define endl Fastio::endl
template<class Fun>class y_combinator_result{Fun fun_;public:template<class T>explicit y_combinator_result(T &&fun): fun_(std::forward<T>(fun)) {}template<class ...Args>decltype(auto) operator()(Args &&...args){return fun_(std::ref(*this), std::forward<Args>(args)...);}};template<class Fun>decltype(auto) y_combinator(Fun &&fun){return y_combinator_result<std::decay_t<Fun>>(std::forward<Fun>(fun));}

void init();void solve(int tc);
main()
{
	init();int t=1;
	// cin>>t;
	for(int tc=1;tc<=t;tc++)solve(tc);
}
void init()
{
}
void solve([[maybe_unused]]int tc)
{
	map<pair<string,string>,int>score;
	set<pair<string,string>>player;
	vector<pair<string,string>>al;
	for(int _:{0,1})
	{
		string team;
		cin>>team;
		for(int __:{0,1,2,3,4})
		{
			string name;
			cin>>name;
			score[{name,team}]=0;
			player.insert({name,team});
			al.emplace_back(name,team);
		}
	}
	int t;
	cin>>t;
	while(t--)
	{
		string team;
		cin>>team>>team;
		string op;
		cin>>op;
		if(op=="scored")
		{
			int c;
			cin>>c;
			for(auto [name,rteam]:player)score[{name,rteam}]+=c*(rteam==team?1:-1);
		}
		else
		{
			string name1,name2;
			cin>>name1>>name2>>name2;
			player.erase({name1,team});
			player.insert({name2,team});
			al.emplace_back(name2,team);
			if(!score.count({name2,team}))score[{name2,team}]=0;
		}
	}
	for(auto [name,team]:al)
	if(score.count({name,team}))
	{
		int res=score[{name,team}];
		score.erase({name,team});
		cout<<name<<" ("<<team<<") "<<(res>0?"+":"")<<res<<endl;
	}
}

这程序好像有点Bug,我给组数据试试?

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3632kb

input:

Lakers
James
Davis
Howard
Green
ColdwellPope
Clippers
Leonard
George
Zubac
Beverley
Morris
10
Team Lakers scored 2
Team Clippers replaced George with Williams
Team Clippers scored 3
Team Clippers scored 1
Team Lakers replaced Howard with Caruso
Team Lakers replaced Green with Morris
Team Lakers scor...

output:

James (Lakers) +5
Davis (Lakers) +5
Howard (Lakers) -2
Green (Lakers) -2
ColdwellPope (Lakers) +5
Leonard (Clippers) -5
George (Clippers) -7
Zubac (Clippers) 0
Beverley (Clippers) -5
Morris (Clippers) -5
Williams (Clippers) -3
Caruso (Lakers) +7
Morris (Lakers) +7

result:

ok 39 tokens

Test #2:

score: 0
Accepted
time: 0ms
memory: 3800kb

input:

yYdIADTLCOUegMDByFWUrPwBpUVHi
zNOAquudHavrNCwfwuJpCmiggjmCmkKbnjFE
DXKgjGWxtrXiNGIQqUHUwqHDsWXxRXUzzfhkplWUnFagPPCOiLDAgkTgdARveUsJUqfisTulg
glWMFgzrnYXryeTwZHLnfEwczmnooZlqatuGmdjwgZcf
BbKOxYJXkatJMPprswkDkoBdagWdWXSUFEesrVNCbSZCEPiGpbzUzooOToRzf
KcWBQorVwdrMklfdCzatFAR
buAPwyNdmHtqvKgkBhTYtszOtwfl...

output:

zNOAquudHavrNCwfwuJpCmiggjmCmkKbnjFE (yYdIADTLCOUegMDByFWUrPwBpUVHi) -3
DXKgjGWxtrXiNGIQqUHUwqHDsWXxRXUzzfhkplWUnFagPPCOiLDAgkTgdARveUsJUqfisTulg (yYdIADTLCOUegMDByFWUrPwBpUVHi) -3
glWMFgzrnYXryeTwZHLnfEwczmnooZlqatuGmdjwgZcf (yYdIADTLCOUegMDByFWUrPwBpUVHi) -3
BbKOxYJXkatJMPprswkDkoBdagWdWXSUFEesrVN...

result:

ok 30 tokens

Test #3:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

JshzNDPvanNrywFrnrghLjjQrXPXNLkcWDpDkSWVtxGaNWwyOoSxT
zXfOlPcFBLPNCETyHTRwxkbosCCskXBUvCROSaVNpxzOEOyYghbbQKfL
uTPwmHQWkVIrMlFcPiDLQYIKZmNTtAifcBOPnWEzeSomkXHaiAfmV
BjaIsYrBTulTPnxbcjMOrNqUMATseRhiEqGGrivOuwFnBNghDFaLLCPrvNgIkcAmVprzaEa
QmILwKBkGOgO
niAaiSORfQxzJztVcGVZLCEdwnEZBWXmPobmrVXaSKwvVwqUUD...

output:

zXfOlPcFBLPNCETyHTRwxkbosCCskXBUvCROSaVNpxzOEOyYghbbQKfL (JshzNDPvanNrywFrnrghLjjQrXPXNLkcWDpDkSWVtxGaNWwyOoSxT) 0
uTPwmHQWkVIrMlFcPiDLQYIKZmNTtAifcBOPnWEzeSomkXHaiAfmV (JshzNDPvanNrywFrnrghLjjQrXPXNLkcWDpDkSWVtxGaNWwyOoSxT) 0
BjaIsYrBTulTPnxbcjMOrNqUMATseRhiEqGGrivOuwFnBNghDFaLLCPrvNgIkcAmVprzaEa (...

result:

ok 33 tokens

Test #4:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

LcJqOnEPpydpspIWqbKPSuNEDqixlsIFcoKfrCVRsZcVDyF
LcJqOnEPpydpspIWqbKPSuNEDqixlsIFcoKfrCVRsZcVDyF
bHtZptbbNxBHQjoMxRbhjqxVDaseRfFcVKeCqYlQP
Team
scored
replaced
bHtZptbbNxBHQjoMxRbhjqxVDaseRfFcVKeCqYlQP
DOIbqVcYedFVQoPFhKQMHUSXQAcoogJXCOXbfZLwcXFvqaAVfeGKCIrQQGDYHLJMAqZQi
uAOUbuKYpaVebVduJgsUlahkPRFPN...

output:

LcJqOnEPpydpspIWqbKPSuNEDqixlsIFcoKfrCVRsZcVDyF (LcJqOnEPpydpspIWqbKPSuNEDqixlsIFcoKfrCVRsZcVDyF) 0
bHtZptbbNxBHQjoMxRbhjqxVDaseRfFcVKeCqYlQP (LcJqOnEPpydpspIWqbKPSuNEDqixlsIFcoKfrCVRsZcVDyF) 0
Team (LcJqOnEPpydpspIWqbKPSuNEDqixlsIFcoKfrCVRsZcVDyF) 0
scored (LcJqOnEPpydpspIWqbKPSuNEDqixlsIFcoKfrCVRs...

result:

ok 36 tokens

Test #5:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

cqycftaFTUwtGXavEMciUQmXeNpRPMYzREXShnvtesSTwHytmatXbU
EESwYNDfHomcNWjTFrUVzWbhlZBVebYeUcepGCdPm
HcibfxGrvnaCxwlOpxsVZCLWYmWDMOljTaGUWuvHxIFdjQSHlQA
eGLqrbxUWPOZFveGDPvnWmEdxbMxaGimxMxGjLnNFKWbRqS
XfcanWpofLQejaFdkTNlpgvleXCygl
ZbKhcmXVUobYxcxZXQmLswvlmBvcsdtEFcQtmliLWZTBsCfHjt
bPsTPygFxpHpfcKJdBfB
...

output:

EESwYNDfHomcNWjTFrUVzWbhlZBVebYeUcepGCdPm (cqycftaFTUwtGXavEMciUQmXeNpRPMYzREXShnvtesSTwHytmatXbU) 0
HcibfxGrvnaCxwlOpxsVZCLWYmWDMOljTaGUWuvHxIFdjQSHlQA (cqycftaFTUwtGXavEMciUQmXeNpRPMYzREXShnvtesSTwHytmatXbU) 0
eGLqrbxUWPOZFveGDPvnWmEdxbMxaGimxMxGjLnNFKWbRqS (cqycftaFTUwtGXavEMciUQmXeNpRPMYzREXShnv...

result:

ok 39 tokens

Test #6:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

Team
THfcjraAWTbccUrPzpuMcsmQheBHqrFiGAmblZxYcVEvluZcuQxVRJGeKyAoFVRVCOhLDAvKJIykH
CmNJpdhKKIMpSmvCYQxLgwlbHldkJLzWTHkfnIzEbVLGozRnwwVXDCkGNCkQtkQIDHOociw
pKXeslDTGxTAuRglbgmpyqLPzBNSbzHAnbIyPuziqurwRBrBXMHbRDPDrerBobAJuLdLWrPkrT
BlSPNKxyitiohLpGjLCktlaQsAlnOiphBtUYRrghSe
nkmz
with
QJgAQCLpSxNSeRDNr...

output:

THfcjraAWTbccUrPzpuMcsmQheBHqrFiGAmblZxYcVEvluZcuQxVRJGeKyAoFVRVCOhLDAvKJIykH (Team) -4
CmNJpdhKKIMpSmvCYQxLgwlbHldkJLzWTHkfnIzEbVLGozRnwwVXDCkGNCkQtkQIDHOociw (Team) -1
pKXeslDTGxTAuRglbgmpyqLPzBNSbzHAnbIyPuziqurwRBrBXMHbRDPDrerBobAJuLdLWrPkrT (Team) -1
BlSPNKxyitiohLpGjLCktlaQsAlnOiphBtUYRrghSe (T...

result:

ok 36 tokens

Test #7:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

scored
kmIHMoxQTqlXvlSSsIsvqVVZOToyqRYuyQWOKnnQc
gGYSRqpKRCcvYhXsjmHoQoyoCwcRIpLArJOYIQrMmpMuEQbsbljdDwrUmauCZfZiOdpuDheEx
Team
scored
replaced
replaced
W
bYdUusBdHBGGAWqVLR
MPgKnZvlKEeAVEklvqUTZzdRQONoWwvwjfxXlTxmxKkpZKyFZsVYvk
NYcvPNPQBrIbpeMMayFPnIwA
hBjEZmEnVesSyppaSifgSsfWveuXASvKMp
10
Team rep...

output:

kmIHMoxQTqlXvlSSsIsvqVVZOToyqRYuyQWOKnnQc (scored) -1
gGYSRqpKRCcvYhXsjmHoQoyoCwcRIpLArJOYIQrMmpMuEQbsbljdDwrUmauCZfZiOdpuDheEx (scored) 0
Team (scored) -1
scored (scored) -1
replaced (scored) -1
W (replaced) +1
bYdUusBdHBGGAWqVLR (replaced) +1
MPgKnZvlKEeAVEklvqUTZzdRQONoWwvwjfxXlTxmxKkpZKyFZsVYvk ...

result:

ok 42 tokens

Test #8:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

mUxYybvCiuRGyAptmPVlcnYuHaYTABVKspWIsdsDsp
AxUOOomPkySokVzzhdpmVNURNaUlfUTcuKwGtxNQxMukBXnlIDvySeWbwMSnSRfpX
FtMjUEDKSdMnBKlsrnJpWVPqWMxxTfFGtBdBjifnrvwZTbdJRbAzxotGFQ
YqPgRdOjjG
VqIWLDvjInoEebScjCisYvUtvhVmiyCOYszfEXxAFMKA
SxwkTfCfailjABWuNylERKsnhsAQNhOvLThJVSUmbzqsJhrLlOVOyubXMXbyuNvaaDrVBEJOorBY...

output:

AxUOOomPkySokVzzhdpmVNURNaUlfUTcuKwGtxNQxMukBXnlIDvySeWbwMSnSRfpX (mUxYybvCiuRGyAptmPVlcnYuHaYTABVKspWIsdsDsp) -9
FtMjUEDKSdMnBKlsrnJpWVPqWMxxTfFGtBdBjifnrvwZTbdJRbAzxotGFQ (mUxYybvCiuRGyAptmPVlcnYuHaYTABVKspWIsdsDsp) -9
YqPgRdOjjG (mUxYybvCiuRGyAptmPVlcnYuHaYTABVKspWIsdsDsp) -9
VqIWLDvjInoEebScjCis...

result:

ok 30 tokens

Test #9:

score: 0
Accepted
time: 0ms
memory: 3516kb

input:

IvTGgzHBpvlxFkIsdNEogdSeenjlEWrObjHppPJczyXEAiQanazT
EIcscdhRyzvRHtoprRATXUfCithOKIoguDggZpvjCTBAHNZdWtOKiaTSr
qzwEdRRFZbrKGvYnBbFOmoiawWMMjiqVHdLNS
wNwBKtEHyKEVhaCVdflmNkrlJMIJVFxdvdYdmVkJSBpMCgMNFtSEUMHbDIOHzCJvPayxqWdp
chqCtuDlkeDTbjdUqBzwXVOXj
AjstaO
bNPfwyhDJvIpGwzZnmNnxwr
jFtErgJsZLzwcihWcuEgF...

output:

EIcscdhRyzvRHtoprRATXUfCithOKIoguDggZpvjCTBAHNZdWtOKiaTSr (IvTGgzHBpvlxFkIsdNEogdSeenjlEWrObjHppPJczyXEAiQanazT) 0
qzwEdRRFZbrKGvYnBbFOmoiawWMMjiqVHdLNS (IvTGgzHBpvlxFkIsdNEogdSeenjlEWrObjHppPJczyXEAiQanazT) 0
wNwBKtEHyKEVhaCVdflmNkrlJMIJVFxdvdYdmVkJSBpMCgMNFtSEUMHbDIOHzCJvPayxqWdp (IvTGgzHBpvlxFkIs...

result:

ok 54 tokens

Test #10:

score: 0
Accepted
time: 0ms
memory: 3828kb

input:

scored
ogTNigdrXaslq
oLBToMefRtOCgsyYXMmsoessJmKvhskPloEETlFVcjLilCemzwtvjIlgdVb
aFaeqQoJYPxJdYxDzxbTKcCESyMpAxXHzCAqjdoixJIIvINpIdpfjHVavBWPCKqNcjwYGBbD
bQJvDEhKeVsnTanowleRsAPprUokyWNEG
CMJVJXCSAlrMiUszJmKAPbWDVDNJXNxRNLmirlmEHSaYUHjPAjKUXsYRIrKPMGZCyUpoiGwsDq
replaced
ogTNigdrXaslq
oLBToMefRtOCgs...

output:

ogTNigdrXaslq (scored) +11
oLBToMefRtOCgsyYXMmsoessJmKvhskPloEETlFVcjLilCemzwtvjIlgdVb (scored) +11
aFaeqQoJYPxJdYxDzxbTKcCESyMpAxXHzCAqjdoixJIIvINpIdpfjHVavBWPCKqNcjwYGBbD (scored) +4
bQJvDEhKeVsnTanowleRsAPprUokyWNEG (scored) +11
CMJVJXCSAlrMiUszJmKAPbWDVDNJXNxRNLmirlmEHSaYUHjPAjKUXsYRIrKPMGZCyUpo...

result:

ok 39 tokens

Test #11:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

with
KjuMwValsqmcoiIjVwChnenikRlIZwKHktDxTQVxiBcTBNbxFUdIViCNlJlnZPGHkVJcosVFnrY
piIYlOTXanMKCLJvy
CmRtscndzIvGhXAigwxskRkSq
oK
ncECTsfXpgYOrkUFsaACIQgnCV
replaced
ySOubmIAFJBZxuIwSZuOvqeWcoleJflivckBBWdjgmzvfKxzXfDCXBAyMmNtI
lKJnZKodDCPfEpdQhGyRAWgYMAMlJWNBIeawIufaepoCJmCSOynmiUpLaEKaXeX
YjfHhGXEqP...

output:

KjuMwValsqmcoiIjVwChnenikRlIZwKHktDxTQVxiBcTBNbxFUdIViCNlJlnZPGHkVJcosVFnrY (with) -5
piIYlOTXanMKCLJvy (with) -3
CmRtscndzIvGhXAigwxskRkSq (with) -5
oK (with) -6
ncECTsfXpgYOrkUFsaACIQgnCV (with) -6
ySOubmIAFJBZxuIwSZuOvqeWcoleJflivckBBWdjgmzvfKxzXfDCXBAyMmNtI (replaced) +6
lKJnZKodDCPfEpdQhGyRAWgY...

result:

ok 45 tokens

Test #12:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

pyTbEypcoSWmpdCBdcmjsfZy
iccYHiigrNJMXyaFNxnF
VnBnSXBKAmPSWFmooFLQwWDnSaJuzIsGRz
zdGNhHuAiBGyCTPYQHCxChHYgIHqaERMsPSGomQKYltMRfGQb
HiLOYXfITYhewgMVCAkCxuNuxoGdvurUmqOGWljLFHYsyJVvefPKBYIbzeQfJHzyMhDkdz
EqdHNYvQtunon
bHDZYudjoUkiOwfCM
iccYHiigrNJMXyaFNxnF
VnBnSXBKAmPSWFmooFLQwWDnSaJuzIsGRz
zdGNhHuAiB...

output:

iccYHiigrNJMXyaFNxnF (pyTbEypcoSWmpdCBdcmjsfZy) 0
VnBnSXBKAmPSWFmooFLQwWDnSaJuzIsGRz (pyTbEypcoSWmpdCBdcmjsfZy) 0
zdGNhHuAiBGyCTPYQHCxChHYgIHqaERMsPSGomQKYltMRfGQb (pyTbEypcoSWmpdCBdcmjsfZy) 0
HiLOYXfITYhewgMVCAkCxuNuxoGdvurUmqOGWljLFHYsyJVvefPKBYIbzeQfJHzyMhDkdz (pyTbEypcoSWmpdCBdcmjsfZy) 0
EqdHNYv...

result:

ok 54 tokens

Test #13:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

scored
pFtUCREJBrlpnQHMCCqJnYvegKvpeatDZWcWABGkZeKkDyFgUbjdFdJnIlUmMWxGVHhCF
rziNRodtIDTVlUobAWqmXeAMUMkscVLHmIvFUBjcMbLwKOXsKIrGq
NiLLTztieaIpFRRsHtqlhxXiBaq
qHmBKaImRKzvgEWnjpEVfqgywzPpbiEigzKkMpplSYWcofxblCyjVEs
hOvqVUYGo
replaced
XtXg
ZkkBXMkUHDOMJnrftoJTRFYUPnVUOjdBUycZoahW
UuVvzapUnXuYpbQqXrya...

output:

pFtUCREJBrlpnQHMCCqJnYvegKvpeatDZWcWABGkZeKkDyFgUbjdFdJnIlUmMWxGVHhCF (scored) +5
rziNRodtIDTVlUobAWqmXeAMUMkscVLHmIvFUBjcMbLwKOXsKIrGq (scored) -5
NiLLTztieaIpFRRsHtqlhxXiBaq (scored) -1
qHmBKaImRKzvgEWnjpEVfqgywzPpbiEigzKkMpplSYWcofxblCyjVEs (scored) +9
hOvqVUYGo (scored) +14
XtXg (replaced) -10
Z...

result:

ok 57 tokens

Test #14:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

CPYakjCxKBoPxM
YQVSJrqByebEbCBaaEJcjNO
vYrcJUnqyaGazPgLNZyrZwMOuNbiIvr
fAlQdkMiVhixJQOdzcMCgUQqyXtNoUarYQcMAEIdiQvRDuELohdq
aGtNMiWeUgtlgUGDBg
RIKE
bKiaWlyibCDHBxeuNrsVHWSveyywAWnfpjKPbcPSSA
xqszwgEVpGJisnxePRdYQqdffIoAGLkBVXVMQobeAXnfVerArXq
pt
VrNeTghETGLsKmdXuVoOCGPXLDyKtWUjxbbUvLnFbdC
cXDVGxVbvl...

output:

YQVSJrqByebEbCBaaEJcjNO (CPYakjCxKBoPxM) -10
vYrcJUnqyaGazPgLNZyrZwMOuNbiIvr (CPYakjCxKBoPxM) -10
fAlQdkMiVhixJQOdzcMCgUQqyXtNoUarYQcMAEIdiQvRDuELohdq (CPYakjCxKBoPxM) -10
aGtNMiWeUgtlgUGDBg (CPYakjCxKBoPxM) -10
RIKE (CPYakjCxKBoPxM) -10
xqszwgEVpGJisnxePRdYQqdffIoAGLkBVXVMQobeAXnfVerArXq (bKiaWlyib...

result:

ok 30 tokens

Test #15:

score: 0
Accepted
time: 1ms
memory: 3600kb

input:

enkrbjuwCMllBkPrLUFjlJoKyNPPxbkyiSxMmAnlXUyeidfZveFWwcDkRPIIUtrWMInfzXGETxt
pfGvhepIMGRQoLQYiBjphsJKMDkAqBKywTbQEHRmyBEvNQUtDlyQpogemUUdzxbh
lbGvDnZuNU
uEPbcSJBPCyd
HBRGjpPiqebgXHdTQxwIZICHYtsCEwaOUdJzEvUodgdGqFdzvRbOXoPVfDBOYSKoLrvDfOirkqPiw
WgypyBcHBmWtBEaolSrXQCoxWntbYimAjfpauYmwJWiBOTkZiUttJqcNH...

output:

pfGvhepIMGRQoLQYiBjphsJKMDkAqBKywTbQEHRmyBEvNQUtDlyQpogemUUdzxbh (enkrbjuwCMllBkPrLUFjlJoKyNPPxbkyiSxMmAnlXUyeidfZveFWwcDkRPIIUtrWMInfzXGETxt) 0
lbGvDnZuNU (enkrbjuwCMllBkPrLUFjlJoKyNPPxbkyiSxMmAnlXUyeidfZveFWwcDkRPIIUtrWMInfzXGETxt) 0
uEPbcSJBPCyd (enkrbjuwCMllBkPrLUFjlJoKyNPPxbkyiSxMmAnlXUyeidfZve...

result:

ok 54 tokens

Test #16:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

Team
DupxavnnJtReLAQIKmVGRpyshcSTaHTzdbrvchPt
AdvZuAIKcSZEGarOqjNjhmjcUMbxgsZktQfruOStVEvhHheCiOMzzkFfNHMlkyETbkVNvDoiMakKOLl
Team
scored
replaced
with
BGYWrVmsGfCFYuXPphVmYydZPOhGdICOXbTjnsbyhoIdNKrialoWVlVmJpXc
eyGQzPHmBcjkUPOJsMMUqlYDIxbalUwEZVnfaSjFXilbyLLWYipSMovDzOsUwoTCxERZcFuvXpRt
IsEsHJFcos...

output:

DupxavnnJtReLAQIKmVGRpyshcSTaHTzdbrvchPt (Team) +67
AdvZuAIKcSZEGarOqjNjhmjcUMbxgsZktQfruOStVEvhHheCiOMzzkFfNHMlkyETbkVNvDoiMakKOLl (Team) +64
Team (Team) +66
scored (Team) +38
replaced (Team) +49
BGYWrVmsGfCFYuXPphVmYydZPOhGdICOXbTjnsbyhoIdNKrialoWVlVmJpXc (with) -110
eyGQzPHmBcjkUPOJsMMUqlYDIxbalU...

result:

ok 45 tokens

Test #17:

score: 0
Accepted
time: 0ms
memory: 3816kb

input:

anIHPDsVmWVjqtSlqELnWXTOqfviVirnIAKtvzbMVeWgHuaCGV
GfMueYturfhBhzdUAYmBaWLRfJDfhmMoCROUswmPYXfPXWWyxyKjUvOctgkzzIIU
YtvXHkjRFDSqNtsjudLMxJlKWIaQEoJUeFCCNpJyIxmzsM
QQjOTEoDiatBBSRvbBvlthDDpQFcYqRyuUgbsDGNIaxThiHcysJBoUqncpfLccYQKbUvjLjIJl
sUnVfITIWICvfYbjYQpGtQnkRMwUNVImJrWfTnqMOkixFhapmSi
yYKypUJlmA...

output:

GfMueYturfhBhzdUAYmBaWLRfJDfhmMoCROUswmPYXfPXWWyxyKjUvOctgkzzIIU (anIHPDsVmWVjqtSlqELnWXTOqfviVirnIAKtvzbMVeWgHuaCGV) -86
YtvXHkjRFDSqNtsjudLMxJlKWIaQEoJUeFCCNpJyIxmzsM (anIHPDsVmWVjqtSlqELnWXTOqfviVirnIAKtvzbMVeWgHuaCGV) -102
QQjOTEoDiatBBSRvbBvlthDDpQFcYqRyuUgbsDGNIaxThiHcysJBoUqncpfLccYQKbUvjLjIJ...

result:

ok 33 tokens

Test #18:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

YQrnYZuTycvspzBJmMEsobVhsHt
NNkpORRbCMLopgtknlmsStZkigrEqwgsvAGmvbrVWYPoxttMZZSGM
cVDbKoXbNlqRSjeBzaCzQhFycbGLSGiVeaufgDatPPvTXHE
pgEZFqYViFACqsdaIXdvPkTaleGiyXZkMZC
vkvpGmazEgBVSAugicBNlbATBTMRhIOLcfNxVvsMCJsiPCjxZjcYhoDprnOPAllYDGTbPqCRHf
RJXSedImVmjclpeqopkUDAPpRsRQUU
brytZTy
wjbkKiwOhvo
vRDJSPZg...

output:

NNkpORRbCMLopgtknlmsStZkigrEqwgsvAGmvbrVWYPoxttMZZSGM (YQrnYZuTycvspzBJmMEsobVhsHt) 0
cVDbKoXbNlqRSjeBzaCzQhFycbGLSGiVeaufgDatPPvTXHE (YQrnYZuTycvspzBJmMEsobVhsHt) 0
pgEZFqYViFACqsdaIXdvPkTaleGiyXZkMZC (YQrnYZuTycvspzBJmMEsobVhsHt) 0
vkvpGmazEgBVSAugicBNlbATBTMRhIOLcfNxVvsMCJsiPCjxZjcYhoDprnOPAllYDG...

result:

ok 60 tokens

Test #19:

score: 0
Accepted
time: 1ms
memory: 3684kb

input:

DcdOIsYQfKFZaGlzzoXpNJPoBGTwoAPzGSqgyInepQWUJJxpwYfBRUwKyyOxYNEpBluHpXEdXl
BRUwrgcSbmTDOnMdcCekOZjHtpHhTtvgPuXmgOrazLhGHPoHjBgu
yqvvqBvTjLgHJSAorqKLdPLDTJBCfkmzkzg
XBckGGCygcYbHpSOaCeLrCIhoWaVHRjakbmUovynfW
ZGkREoVaLkleRYVMjUGDPQYTBQsojwzZpVUva
hhzElmVWBJTFxweMwMwyABchAPsfDJTglyuJ
b
VNsxYngJluGWF
mH...

output:

BRUwrgcSbmTDOnMdcCekOZjHtpHhTtvgPuXmgOrazLhGHPoHjBgu (DcdOIsYQfKFZaGlzzoXpNJPoBGTwoAPzGSqgyInepQWUJJxpwYfBRUwKyyOxYNEpBluHpXEdXl) +13
yqvvqBvTjLgHJSAorqKLdPLDTJBCfkmzkzg (DcdOIsYQfKFZaGlzzoXpNJPoBGTwoAPzGSqgyInepQWUJJxpwYfBRUwKyyOxYNEpBluHpXEdXl) +9
XBckGGCygcYbHpSOaCeLrCIhoWaVHRjakbmUovynfW (DcdOIs...

result:

ok 60 tokens

Test #20:

score: 0
Accepted
time: 1ms
memory: 3828kb

input:

ryAWiKwwtHZNToNCzhNDaksnSOpIaucLBAseFUKOIUjoZcBDBwhUaOkCiWvyZIZcwahgaPKLlY
UxvlPIbFzjHJQLM
VkwSaa
oeRzNwH
CkrdCyatXedXaaNVbVbRygMVIIeNFFyywiMDBlJCbAUclitGcRAhohlVQIpWsAbAFBGBcFkhpxU
OHNajZafZxrpMEW
bqumkPdYINT
UxvlPIbFzjHJQLM
VkwSaa
oeRzNwH
CkrdCyatXedXaaNVbVbRygMVIIeNFFyywiMDBlJCbAUclitGcRAhohlVQIp...

output:

UxvlPIbFzjHJQLM (ryAWiKwwtHZNToNCzhNDaksnSOpIaucLBAseFUKOIUjoZcBDBwhUaOkCiWvyZIZcwahgaPKLlY) +16
VkwSaa (ryAWiKwwtHZNToNCzhNDaksnSOpIaucLBAseFUKOIUjoZcBDBwhUaOkCiWvyZIZcwahgaPKLlY) +16
oeRzNwH (ryAWiKwwtHZNToNCzhNDaksnSOpIaucLBAseFUKOIUjoZcBDBwhUaOkCiWvyZIZcwahgaPKLlY) +16
CkrdCyatXedXaaNVbVbRygMVII...

result:

ok 30 tokens

Test #21:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

scored
adgrhQallNkJLEMWA
nTWfYWjNrXdKGRNCzlwZjyEYfKTduzDJnIvclDJJArFZmmdBYYTvIpBBNJQOlfNL
jpiDoTxXfoBGtGPvJmpddcydDWDCJSx
uMUoYZnhPVPQccGqnUouzOJnTAnfWCTThCGyNrukcVShsUUQrxfDvqQgGaatWytIKJdfpddEJH
FxcYSbvPkQQGnqCJTVJDdjtZtZQGbaIN
Team
KBWzLyhYNVfakSXnhwfGtWftlqupEqFgBPGjNCciRXNehFyyzmPtDSLTdyHaVHDes...

output:

adgrhQallNkJLEMWA (scored) 0
nTWfYWjNrXdKGRNCzlwZjyEYfKTduzDJnIvclDJJArFZmmdBYYTvIpBBNJQOlfNL (scored) 0
jpiDoTxXfoBGtGPvJmpddcydDWDCJSx (scored) 0
uMUoYZnhPVPQccGqnUouzOJnTAnfWCTThCGyNrukcVShsUUQrxfDvqQgGaatWytIKJdfpddEJH (scored) 0
FxcYSbvPkQQGnqCJTVJDdjtZtZQGbaIN (scored) 0
KBWzLyhYNVfakSXnhwfGtW...

result:

ok 60 tokens

Test #22:

score: 0
Accepted
time: 1ms
memory: 3692kb

input:

SLFJgfbWghEeCdvhiuCkjJCCrNyxrGgCnBelAUQVGHsooaaaelBBC
GTGrfiSkeXmBQWGSkwJJIUOTSjVgrYXsXUuxaiRSLZLPgRqUXVqcIAzCYblbKKAvASZzpClI
UQdUrwnBHMlaBYQtUIVzOpTPoIFviCTbuRxsOGAKGXRiMstHwpr
UjKDFdOdsCeWvadYdSKFdMKbkXQchDHitegnwRkCuLWPhvSRcghkdBdtBbWWIkDSEaqlKhem
SbeexdjMRaRqAjML
mPVsRZpWTDHMgqISIHDXZFsBhBUceFS...

output:

GTGrfiSkeXmBQWGSkwJJIUOTSjVgrYXsXUuxaiRSLZLPgRqUXVqcIAzCYblbKKAvASZzpClI (SLFJgfbWghEeCdvhiuCkjJCCrNyxrGgCnBelAUQVGHsooaaaelBBC) +219
UQdUrwnBHMlaBYQtUIVzOpTPoIFviCTbuRxsOGAKGXRiMstHwpr (SLFJgfbWghEeCdvhiuCkjJCCrNyxrGgCnBelAUQVGHsooaaaelBBC) +286
UjKDFdOdsCeWvadYdSKFdMKbkXQchDHitegnwRkCuLWPhvSRcghkd...

result:

ok 45 tokens

Test #23:

score: 0
Accepted
time: 1ms
memory: 3640kb

input:

XWqjmhMVDYrugHyQGkaJjXbfzxPBAPkLyBdqZtP
BweFycTOUIea
yNuZwFimm
cIVFqNmfcZ
OFHAHM
gJKXwWzixULviSUmwfqZGRmrczoTRGzKHKzcWZcmChFuAHUCzRRyMjWYfSelxmFeYWd
bOubEzkYzKjQL
xQyXIglgrtQqmegacKvTxOgVtKybnsnYdLZuHlNQXhZ
vhzsCnREOecAwkpknjHc
NOf
segRJfOHVlrUqFVHdrSfTUWrCrHZWDxiRQQuMLPxIGnh
RpAzmRvsOQVeoBBRuALPQjp...

output:

BweFycTOUIea (XWqjmhMVDYrugHyQGkaJjXbfzxPBAPkLyBdqZtP) -296
yNuZwFimm (XWqjmhMVDYrugHyQGkaJjXbfzxPBAPkLyBdqZtP) -215
cIVFqNmfcZ (XWqjmhMVDYrugHyQGkaJjXbfzxPBAPkLyBdqZtP) -253
OFHAHM (XWqjmhMVDYrugHyQGkaJjXbfzxPBAPkLyBdqZtP) -289
gJKXwWzixULviSUmwfqZGRmrczoTRGzKHKzcWZcmChFuAHUCzRRyMjWYfSelxmFeYWd (XW...

result:

ok 45 tokens

Test #24:

score: 0
Accepted
time: 1ms
memory: 3764kb

input:

OCqEXcmWeKaRkQMnzUUHeZkmhZElncDaiFldWYtujxrMPPKcqSgcgUyvWrXvzYirSj
OCqEXcmWeKaRkQMnzUUHeZkmhZElncDaiFldWYtujxrMPPKcqSgcgUyvWrXvzYirSj
bJPsmslNaAdOevBhhovrvuGNyCNrnaQlLwwryPhbnyGTJDqMJgKxIwEpWkrYieBqRsOyWquqq
Team
scored
replaced
bJPsmslNaAdOevBhhovrvuGNyCNrnaQlLwwryPhbnyGTJDqMJgKxIwEpWkrYieBqRsOyWqu...

output:

OCqEXcmWeKaRkQMnzUUHeZkmhZElncDaiFldWYtujxrMPPKcqSgcgUyvWrXvzYirSj (OCqEXcmWeKaRkQMnzUUHeZkmhZElncDaiFldWYtujxrMPPKcqSgcgUyvWrXvzYirSj) 0
bJPsmslNaAdOevBhhovrvuGNyCNrnaQlLwwryPhbnyGTJDqMJgKxIwEpWkrYieBqRsOyWquqq (OCqEXcmWeKaRkQMnzUUHeZkmhZElncDaiFldWYtujxrMPPKcqSgcgUyvWrXvzYirSj) 0
Team (OCqEXcmWeKa...

result:

ok 60 tokens

Test #25:

score: 0
Accepted
time: 1ms
memory: 3728kb

input:

WzUTofOwcVXFrMNTIwaPiKghHvFjBDkcdEqvzwlSZc
WzUTofOwcVXFrMNTIwaPiKghHvFjBDkcdEqvzwlSZc
bNJQdWNB
Team
scored
replaced
bNJQdWNB
OFYsHWcHHTadxEJHQBueBBZUReUvsdNkktGagQYdkOwWmvxTHwwxUSbYBvCvzRIfThsTmtkgo
aCZuIAWOwgPIvPxMPALEmbimPiaJpQNtCvTlUwwiCMRHbGpI
QQsNcrPFAnIfqNIYWTgqyARmZSbcjhji
NqHMscstaOqMWEDeaKx...

output:

WzUTofOwcVXFrMNTIwaPiKghHvFjBDkcdEqvzwlSZc (WzUTofOwcVXFrMNTIwaPiKghHvFjBDkcdEqvzwlSZc) -59
bNJQdWNB (WzUTofOwcVXFrMNTIwaPiKghHvFjBDkcdEqvzwlSZc) -27
Team (WzUTofOwcVXFrMNTIwaPiKghHvFjBDkcdEqvzwlSZc) -95
scored (WzUTofOwcVXFrMNTIwaPiKghHvFjBDkcdEqvzwlSZc) -28
replaced (WzUTofOwcVXFrMNTIwaPiKghHvFjBD...

result:

ok 60 tokens

Test #26:

score: 0
Accepted
time: 1ms
memory: 3700kb

input:

YWYCcSVZmfjNISNAKfjZxaJBFdpjJaqjkXy
QoEdOOmuGJHIcMUJsoWWFRPFtRgjAwIDbLYCIjCPcNAgS
eh
TxLUKDBgsYiDbSIMPdWNYnntb
sbyiXHRyfkhGdwngxnkBqyQYChJGJVsdxMElZmLDI
RieRqotRY
bq
AXLgimznCUWctvDMVjFVqayfKxZszeG
jLiCEyOPukXgsyIAPlWPXuqplxyLmAE
BTaqoofEJZU
gREteozqo
deCkrYDwnWFHEonECqMDLGovwPxZLkCHBtACVSeRgNEfMEOP...

output:

QoEdOOmuGJHIcMUJsoWWFRPFtRgjAwIDbLYCIjCPcNAgS (YWYCcSVZmfjNISNAKfjZxaJBFdpjJaqjkXy) -21
eh (YWYCcSVZmfjNISNAKfjZxaJBFdpjJaqjkXy) -21
TxLUKDBgsYiDbSIMPdWNYnntb (YWYCcSVZmfjNISNAKfjZxaJBFdpjJaqjkXy) -21
sbyiXHRyfkhGdwngxnkBqyQYChJGJVsdxMElZmLDI (YWYCcSVZmfjNISNAKfjZxaJBFdpjJaqjkXy) -21
RieRqotRY (YWYC...

result:

ok 30 tokens

Test #27:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

ltqXxOBayhzBVkogCeUyvSnsWOHISnmkYsJFHXolTPDvKBnpMyjiCsu
FTUaStyozkytKBFtmTjrhCKHmUNJMdrYOBfgLNPMN
WkDdjwtaqKNzdVAxgwKzCyCKeZWJrNwDsmLdFydFiFZemnYTV
xayYXlJnsrBlvFaymxdTPNtwlRmWLjBmFcklTbIHQRZzfDlxcxNPmGNidWLNhIYcODvKyXDZZS
TEtJH
ZtWfbDZSYpMaPSzBBktmWxZlpJONOyoSRfRmUgTuKOfRPbm
bZWCaNSeD
riWFxZzWogQkQ...

output:

FTUaStyozkytKBFtmTjrhCKHmUNJMdrYOBfgLNPMN (ltqXxOBayhzBVkogCeUyvSnsWOHISnmkYsJFHXolTPDvKBnpMyjiCsu) 0
WkDdjwtaqKNzdVAxgwKzCyCKeZWJrNwDsmLdFydFiFZemnYTV (ltqXxOBayhzBVkogCeUyvSnsWOHISnmkYsJFHXolTPDvKBnpMyjiCsu) 0
xayYXlJnsrBlvFaymxdTPNtwlRmWLjBmFcklTbIHQRZzfDlxcxNPmGNidWLNhIYcODvKyXDZZS (ltqXxOBayhzB...

result:

ok 60 tokens

Test #28:

score: 0
Accepted
time: 1ms
memory: 3976kb

input:

scored
onHqsKKDsDPZvRqXyIDbrPyEPHyyEmzMvGqMBnwINMwofbZ
EzsJfSb
Team
scored
replaced
Team
xHJLwosbKaXSuVrNubOpjAWsQpO
qGcYnqmkxifkSihlxHleTqGPQiLsqBJKlF
UQOSLbYDcuyfATLBaZSYqZuxmxjjVAzaDoBxmcPS
CcVQIEQgIZyqa
i
1000
Team scored replaced replaced with ayRsutTMpDtNGQOWgAKrIVbUkxhlSNAMrDEmM
Team scored s...

output:

onHqsKKDsDPZvRqXyIDbrPyEPHyyEmzMvGqMBnwINMwofbZ (scored) +420
EzsJfSb (scored) +528
Team (scored) +546
scored (scored) +537
replaced (scored) +433
xHJLwosbKaXSuVrNubOpjAWsQpO (Team) -968
qGcYnqmkxifkSihlxHleTqGPQiLsqBJKlF (Team) -968
UQOSLbYDcuyfATLBaZSYqZuxmxjjVAzaDoBxmcPS (Team) -968
CcVQIEQgIZyqa...

result:

ok 45 tokens

Test #29:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

Team
WsipMQqu
oUAZaczEIijqjwUdLjjKjbmmWWZoZaurDYqCMWIgqSiGDJMsoaXzOHHeJOcJVlaLoIwsGU
BPKaoR
jhqntPkdUuMMLZBTdLfP
nhTYUjbwgASONfqRyVFqxtYgRsRdXgKhbQum
with
iQfdEexKTrVFvPOkHcQmBvxOhvfYhaolBviFmHhSsQaMTNVwyzbqozinpcPtfon
mzyXtGEsRPVDNuVmrVhfKGJAjlXyCF
TzQjbmCkqFMjIFxxhNmiwDgaWjubRxLxrLBGmxwzRWyHMMXHnX...

output:

WsipMQqu (Team) -508
oUAZaczEIijqjwUdLjjKjbmmWWZoZaurDYqCMWIgqSiGDJMsoaXzOHHeJOcJVlaLoIwsGU (Team) -543
BPKaoR (Team) -494
jhqntPkdUuMMLZBTdLfP (Team) -515
nhTYUjbwgASONfqRyVFqxtYgRsRdXgKhbQum (Team) -503
iQfdEexKTrVFvPOkHcQmBvxOhvfYhaolBviFmHhSsQaMTNVwyzbqozinpcPtfon (with) +997
mzyXtGEsRPVDNuVmrVh...

result:

ok 45 tokens

Test #30:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

BElkRZt
UoDpWcEOTIvKwbDtLvFERdRYJXOqXUDNpkrOAmAJmpcQsHZtjTU
BXtYKedFtfsnJtNeYUpHnxlOsflGJCCkGBjibRVLfkEnOEqJKPSxQM
kjWbnlaNoDXwRCluvkBMyeJQOndEmHGBydcmpHRZhtFktxJUcJMUgSvtHOJPTGTHpn
jPDIYWmQjrGnscVNPkCbkHQDabjGFHAZOmgOPlBPkLKZcGdvWqGxhKowyjwAZN
VixwBjlHyUQFAaOzVwXGxAoCfHGipJAZgcVlLzWOKO
blsTfBDwRQon...

output:

UoDpWcEOTIvKwbDtLvFERdRYJXOqXUDNpkrOAmAJmpcQsHZtjTU (BElkRZt) 0
BXtYKedFtfsnJtNeYUpHnxlOsflGJCCkGBjibRVLfkEnOEqJKPSxQM (BElkRZt) 0
kjWbnlaNoDXwRCluvkBMyeJQOndEmHGBydcmpHRZhtFktxJUcJMUgSvtHOJPTGTHpn (BElkRZt) 0
jPDIYWmQjrGnscVNPkCbkHQDabjGFHAZOmgOPlBPkLKZcGdvWqGxhKowyjwAZN (BElkRZt) 0
VixwBjlHyUQFAaO...

result:

ok 60 tokens

Test #31:

score: 0
Accepted
time: 2ms
memory: 3752kb

input:

gAaIMoEpiQRvUzIrhsLFKpatL
gAaIMoEpiQRvUzIrhsLFKpatL
bLIroCGrGjGJmxJcfXeQDSQkreTQugalycjlocwBGNDmuIJkV
Team
scored
replaced
bLIroCGrGjGJmxJcfXeQDSQkreTQugalycjlocwBGNDmuIJkV
T
agjbfPUpGoNCoiBGRTdMIhQHXtHhaiwP
AkYKnRJKIFKDyFerNykwpJVbmbPElIFbOhQtcmzmPeqfxyKuhchOUgYoRGHrdHIMQfkrHQ
mjsrMydEtGCkoXimkTgp
...

output:

gAaIMoEpiQRvUzIrhsLFKpatL (gAaIMoEpiQRvUzIrhsLFKpatL) +10
bLIroCGrGjGJmxJcfXeQDSQkreTQugalycjlocwBGNDmuIJkV (gAaIMoEpiQRvUzIrhsLFKpatL) -9
Team (gAaIMoEpiQRvUzIrhsLFKpatL) +63
scored (gAaIMoEpiQRvUzIrhsLFKpatL) +4
replaced (gAaIMoEpiQRvUzIrhsLFKpatL) +70
T (bLIroCGrGjGJmxJcfXeQDSQkreTQugalycjlocwBGN...

result:

ok 60 tokens

Test #32:

score: 0
Accepted
time: 2ms
memory: 3992kb

input:

gYzElTyqkYXEQigNexWqHcWBcaogPkACUawVcdGfSwyGymWuacendQWtXjTRYNxhSXwXapjWTCKOcx
jUpEgxBWOrmhximsvEBtHCDh
DeXwMfMkQztEANIgUrCmYbSvZBAWcjwclwJbqusozChTmnqvPbrbKClRidbViymnDvSWF
utfEdwZIDipDMbjOfxOWHtoYwkycMs
vKtlIHYXDEPuCIPHTvzbOxeXcIMmOluOtFdYyBmseNIuvBdiDXKfjPPeDaAzxXiULzFSzRaGKNuhUy
lgzULkjQtBFawJjY...

output:

jUpEgxBWOrmhximsvEBtHCDh (gYzElTyqkYXEQigNexWqHcWBcaogPkACUawVcdGfSwyGymWuacendQWtXjTRYNxhSXwXapjWTCKOcx) +44
DeXwMfMkQztEANIgUrCmYbSvZBAWcjwclwJbqusozChTmnqvPbrbKClRidbViymnDvSWF (gYzElTyqkYXEQigNexWqHcWBcaogPkACUawVcdGfSwyGymWuacendQWtXjTRYNxhSXwXapjWTCKOcx) +64
utfEdwZIDipDMbjOfxOWHtoYwkycMs (gYz...

result:

ok 60 tokens

Test #33:

score: 0
Accepted
time: 2ms
memory: 3972kb

input:

XmYneiDLgzmxCbArodxnqtZSwfvWtiASMGgwCJevQPlWSQYKiLg
YYmRR
opcjHluTTshKuDGJOEpQZw
FzsLEyDoNZbhuFtWwSapJpFaQTjbUBiwOUCtXZyXrdgdZOrbHJZyksJYdqD
avFVQmeusxpVxzUiPaCBEsUVkwYXuZUmlyiMRiNqAJFzRoPbgxQPKCHcZkyk
hSqabQymMVmSylYJEd
behLRVNRu
wgtRZXduIrdfe
xFhRKWWpKNcmYbkRQRsFLytruFaMqVOdZtuBoOlmgcIBGoGGrVBJRDc...

output:

YYmRR (XmYneiDLgzmxCbArodxnqtZSwfvWtiASMGgwCJevQPlWSQYKiLg) -57
opcjHluTTshKuDGJOEpQZw (XmYneiDLgzmxCbArodxnqtZSwfvWtiASMGgwCJevQPlWSQYKiLg) -45
FzsLEyDoNZbhuFtWwSapJpFaQTjbUBiwOUCtXZyXrdgdZOrbHJZyksJYdqD (XmYneiDLgzmxCbArodxnqtZSwfvWtiASMGgwCJevQPlWSQYKiLg) -14
avFVQmeusxpVxzUiPaCBEsUVkwYXuZUmlyiMR...

result:

ok 60 tokens

Test #34:

score: 0
Accepted
time: 2ms
memory: 4028kb

input:

wfsxXwcBmaHExTtVhtsEQWK
wfsxXwcBmaHExTtVhtsEQWK
bObGWMUHGgqcHTtasGMyFdGLQionAuRqBHDzqiDDXhtgfRbrvmseGyJaYMHIGn
Team
scored
replaced
bObGWMUHGgqcHTtasGMyFdGLQionAuRqBHDzqiDDXhtgfRbrvmseGyJaYMHIGn
hXIpUuuSoaaLXZBzBypgteNkLykvhzeYhDuuTpYBZnKOPmfAhRsxEXLlxlKNJVAVOLbgHxKRLYvcEuVF
SwZNAGElyucdo
U
WXsDTzJS...

output:

wfsxXwcBmaHExTtVhtsEQWK (wfsxXwcBmaHExTtVhtsEQWK) -33
bObGWMUHGgqcHTtasGMyFdGLQionAuRqBHDzqiDDXhtgfRbrvmseGyJaYMHIGn (wfsxXwcBmaHExTtVhtsEQWK) -47
Team (wfsxXwcBmaHExTtVhtsEQWK) -1
scored (wfsxXwcBmaHExTtVhtsEQWK) -47
replaced (wfsxXwcBmaHExTtVhtsEQWK) -44
hXIpUuuSoaaLXZBzBypgteNkLykvhzeYhDuuTpYBZnK...

result:

ok 60 tokens

Test #35:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

HpgYOceizFQLFErTdqdnlOQAMhTjMJtIUNblVGsrhMjnvICeatGfEngKTELSFoHoZruIKyRGfAEBsM
FcZWt
ZrBLwQxWoDNZgXUiuHuSSdOxivQXPEnrlJnfvUhrWfMvQKQgFTOj
WwNSBnjmynxJTaL
kVfqMEiMjlDDEZ
TiLiCNCVcXiimpqAHodzbN
boAhWoEssNhVGOSW
kklGGlxNX
ktaUsKToHRVoiISyDjlgYQFPboxhQAEfwuLVEHSlGCIHIUjipkkRunXZiIwufdiUJeF
ZwglLnQtUJgGH...

output:

FcZWt (HpgYOceizFQLFErTdqdnlOQAMhTjMJtIUNblVGsrhMjnvICeatGfEngKTELSFoHoZruIKyRGfAEBsM) +25
ZrBLwQxWoDNZgXUiuHuSSdOxivQXPEnrlJnfvUhrWfMvQKQgFTOj (HpgYOceizFQLFErTdqdnlOQAMhTjMJtIUNblVGsrhMjnvICeatGfEngKTELSFoHoZruIKyRGfAEBsM) +51
WwNSBnjmynxJTaL (HpgYOceizFQLFErTdqdnlOQAMhTjMJtIUNblVGsrhMjnvICeatGfEn...

result:

ok 60 tokens

Test #36:

score: 0
Accepted
time: 2ms
memory: 3716kb

input:

XuIhCnEFDvsUKCzMFMjphaXXZEmZPCwVfOxhqQeFjWULGdZpawmgFATivNFWHhBgiTbtqg
XuIhCnEFDvsUKCzMFMjphaXXZEmZPCwVfOxhqQeFjWULGdZpawmgFATivNFWHhBgiTbtqg
bUCbDEEptFqcGXeTGoN
Team
scored
replaced
bUCbDEEptFqcGXeTGoN
dEZFqchzCzYgvLfMNWVK
XDwvLtlJtwLufekxBQGLTy
AuyFLgDooNhBsnQLpClnfFghiVTqp
rJAaaELnWAEVyaMhPsJCtev...

output:

XuIhCnEFDvsUKCzMFMjphaXXZEmZPCwVfOxhqQeFjWULGdZpawmgFATivNFWHhBgiTbtqg (XuIhCnEFDvsUKCzMFMjphaXXZEmZPCwVfOxhqQeFjWULGdZpawmgFATivNFWHhBgiTbtqg) +7
bUCbDEEptFqcGXeTGoN (XuIhCnEFDvsUKCzMFMjphaXXZEmZPCwVfOxhqQeFjWULGdZpawmgFATivNFWHhBgiTbtqg) +5
Team (XuIhCnEFDvsUKCzMFMjphaXXZEmZPCwVfOxhqQeFjWULGdZpawm...

result:

ok 60 tokens

Test #37:

score: 0
Accepted
time: 2ms
memory: 3720kb

input:

OckusDHdmwdFcVjGmMAvEIUajivSjYrTvnZjzqnehXoNIhQpNwmGjdrDObhswbuilnIVGRjgKTSeUciR
WuzOZVrEuIljaOVmvbRsmAgoFBjLfEtLBkMUbsDTknGOACH
wlIAjrFHbUc
eVGAd
ZXkdZusMhKBxponNgqdezAVLEofeNQRuregUvqdKBfPuSAYBICnxBkuKJoq
etNbxZODEXTneWgSDKskClyjRPLxsfyPtZ
bcfcstyqnoRdeRhl
MvKpyOVPKNanblFbkooBUonGzMDllIBaZIiWDbaUw...

output:

WuzOZVrEuIljaOVmvbRsmAgoFBjLfEtLBkMUbsDTknGOACH (OckusDHdmwdFcVjGmMAvEIUajivSjYrTvnZjzqnehXoNIhQpNwmGjdrDObhswbuilnIVGRjgKTSeUciR) -17
wlIAjrFHbUc (OckusDHdmwdFcVjGmMAvEIUajivSjYrTvnZjzqnehXoNIhQpNwmGjdrDObhswbuilnIVGRjgKTSeUciR) +17
eVGAd (OckusDHdmwdFcVjGmMAvEIUajivSjYrTvnZjzqnehXoNIhQpNwmGjdrDObh...

result:

ok 60 tokens

Test #38:

score: 0
Accepted
time: 2ms
memory: 3936kb

input:

NkcypixjKHEsUPSlSGEWBqnRAUGLNtXD
DQDYYNAgtDRBAoGkbD
GBbVKlSwuEIAfUOQLV
ggYduYooJAAwoSApNfUygFvnyOCjzOzFPPdrKIGnoHJOgEDjNwskafirSShIwQwPaEJeqQE
zNMHksKRipgldjXFdwChAvODvHuquGYPprXdVCQQNXIIxvYoVLw
zpeJMlOSlMfkUhthrOriQSxPYhCzgcvdEPnRDJkwTjZwLKjOAnxhJE
bdNlBfmValZeDRyIHrXMTNrOkVhvNxZVmu
hjJeQqNLTINGFFQ...

output:

DQDYYNAgtDRBAoGkbD (NkcypixjKHEsUPSlSGEWBqnRAUGLNtXD) -20
GBbVKlSwuEIAfUOQLV (NkcypixjKHEsUPSlSGEWBqnRAUGLNtXD) -6
ggYduYooJAAwoSApNfUygFvnyOCjzOzFPPdrKIGnoHJOgEDjNwskafirSShIwQwPaEJeqQE (NkcypixjKHEsUPSlSGEWBqnRAUGLNtXD) -60
zNMHksKRipgldjXFdwChAvODvHuquGYPprXdVCQQNXIIxvYoVLw (NkcypixjKHEsUPSlSGEWB...

result:

ok 60 tokens

Test #39:

score: 0
Accepted
time: 1ms
memory: 3656kb

input:

Team
KXkFZLWEVciHamcTxXerzPMEJxgHyfOQRVJIjvNOldUvPNXFfxWyteEn
IaojsvpAktINuflZRGLdVrSLKTyxbScjQRfDzDrqMsqUJxXSCwXcsDWJFEYbZEyYwfZyYlaQBp
KMyZcdOzEJQsIgieGQpjXsOd
YxBOutsgVeuiODIZxUZZWpGopScxnLbhHbJDtUvHmdwwNAMrndZTSVqMwNpVGhzJErVLB
iFjMoHmNxuQSELiaMiTwZUWpplvObnFSAEHGOfZyyO
with
gXemFiKlkYSeNBsBfDXA...

output:

KXkFZLWEVciHamcTxXerzPMEJxgHyfOQRVJIjvNOldUvPNXFfxWyteEn (Team) -18
IaojsvpAktINuflZRGLdVrSLKTyxbScjQRfDzDrqMsqUJxXSCwXcsDWJFEYbZEyYwfZyYlaQBp (Team) -37
KMyZcdOzEJQsIgieGQpjXsOd (Team) -55
YxBOutsgVeuiODIZxUZZWpGopScxnLbhHbJDtUvHmdwwNAMrndZTSVqMwNpVGhzJErVLB (Team) -90
iFjMoHmNxuQSELiaMiTwZUWpplvOb...

result:

ok 60 tokens

Test #40:

score: 0
Accepted
time: 2ms
memory: 3764kb

input:

InPMLvrlYZixEZHnheGjvovoEgbORVXclRGzAlNZymRegJkZYSEfE
sSDEHicFAjUpAjPxmEWhuvszYwqHdkkxrTxnushcUiAKLYuVihtS
DHPxqwsuOFLNijRETvKzJYwJkHzXfPzLekwTjZzPlSnawePRMdmekWZIKxhAL
mzKAEDCtBFkiLxWwsGuwcNsVcnYgNOXdjlFbEmLUNNoqofyehSzsTHXVyePZEVFkxYvQkhGezcBKGoOA
ZBzthDmdxKwuRsSccpfgLIrwdmsJkFntzgYsLDMdlfoDGculOv...

output:

sSDEHicFAjUpAjPxmEWhuvszYwqHdkkxrTxnushcUiAKLYuVihtS (InPMLvrlYZixEZHnheGjvovoEgbORVXclRGzAlNZymRegJkZYSEfE) +44
DHPxqwsuOFLNijRETvKzJYwJkHzXfPzLekwTjZzPlSnawePRMdmekWZIKxhAL (InPMLvrlYZixEZHnheGjvovoEgbORVXclRGzAlNZymRegJkZYSEfE) +35
mzKAEDCtBFkiLxWwsGuwcNsVcnYgNOXdjlFbEmLUNNoqofyehSzsTHXVyePZEVFkx...

result:

ok 60 tokens

Test #41:

score: 0
Accepted
time: 1ms
memory: 3672kb

input:

Team
UbtMIfwSKMbMinWCHmJEWDWWkMRWSPPSXemJnAUBwQTjHICWcbHfSTBrWtQriLrcYkGvVJKQcsbf
I
kNYGMLNHCkQGMVFRjBJmlHYiwdrfNuKOwEOPwqvabWhCjX
PkflgWoDMIdiMnU
qVOUUJnjDrYLcpHNelGUqwZdLlGNgmCwtTPI
with
UbtMIfwSKMbMinWCHmJEWDWWkMRWSPPSXemJnAUBwQTjHICWcbHfSTBrWtQriLrcYkGvVJKQcsbf
I
kNYGMLNHCkQGMVFRjBJmlHYiwdrfNuKO...

output:

UbtMIfwSKMbMinWCHmJEWDWWkMRWSPPSXemJnAUBwQTjHICWcbHfSTBrWtQriLrcYkGvVJKQcsbf (Team) +50
I (Team) +32
kNYGMLNHCkQGMVFRjBJmlHYiwdrfNuKOwEOPwqvabWhCjX (Team) +16
PkflgWoDMIdiMnU (Team) +7
qVOUUJnjDrYLcpHNelGUqwZdLlGNgmCwtTPI (Team) +18
UbtMIfwSKMbMinWCHmJEWDWWkMRWSPPSXemJnAUBwQTjHICWcbHfSTBrWtQriLrcYkG...

result:

ok 60 tokens

Test #42:

score: 0
Accepted
time: 2ms
memory: 3804kb

input:

WzpUZboWuflETpAzjOi
WzpUZboWuflETpAzjOi
bnFfWXzUgQPbGSIgiTAEneDjDfOraTSpWNtJdwzBTpurMZKVONtKsmvH
Team
scored
replaced
bnFfWXzUgQPbGSIgiTAEneDjDfOraTSpWNtJdwzBTpurMZKVONtKsmvH
zCXenErZMiRiknRcOQlXgpYxIJ
WNICPGRLolt
aObedHJWFQozokQpoaiFfufGpkyxBgnGBRlkHAFyBwodCWGuWPRwhjuDvDTkxsWZEtWpGC
ZfyxyVwTgQUdkVw...

output:

WzpUZboWuflETpAzjOi (WzpUZboWuflETpAzjOi) -63
bnFfWXzUgQPbGSIgiTAEneDjDfOraTSpWNtJdwzBTpurMZKVONtKsmvH (WzpUZboWuflETpAzjOi) -24
Team (WzpUZboWuflETpAzjOi) -41
scored (WzpUZboWuflETpAzjOi) -66
replaced (WzpUZboWuflETpAzjOi) -38
zCXenErZMiRiknRcOQlXgpYxIJ (bnFfWXzUgQPbGSIgiTAEneDjDfOraTSpWNtJdwzBTpur...

result:

ok 60 tokens

Extra Test:

score: 0
Extra Test Passed