QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#655020 | #7815. 结构体 | XY_Eleven | 0 | 1ms | 4072kb | C++23 | 8.2kb | 2024-10-18 23:48:49 | 2024-10-18 23:48:50 |
answer
#include <bits/stdc++.h>
// #include <windows.h>
// #include <bits/extc++.h>
// using namespace __gnu_pbds;
using namespace std;
//#pragma GCC optimize(3)
#define DB double
#define LL long long
#define ULL unsigned long long
#define in128 __int128
#define cint const int
#define cLL const LL
#define For(z,e1,e2) for(int z=(e1);z<=(e2);z++)
#define Rof(z,e1,e2) for(int z=(e2);z>=(e1);z--)
#define For_(z,e1,e2) for(int z=(e1);z<(e2);z++)
#define Rof_(z,e1,e2) for(int z=(e2);z>(e1);z--)
#define inint(e) scanf("%d",&e)
#define inll(e) scanf("%lld",&e)
#define inpr(e1,e2) scanf("%d%d",&e1,&e2)
#define in3(e1,e2,e3) scanf("%d%d%d",&e1,&e2,&e3)
#define outint(e) printf("%d\n",e)
#define outint_(e) printf("%d%c",e," \n"[i==n])
#define outint2_(e,e1,e2) printf("%d%c",e," \n"[(e1)==(e2)])
#define outll(e) printf("%lld\n",e)
#define outll_(e) printf("%lld%c",e," \n"[i==n])
#define outll2_(e,e1,e2) printf("%lld%c",e," \n"[(e1)==(e2)])
#define exc(e) if(e) continue
#define stop(e) if(e) break
#define ret(e) if(e) return
#define ll(e) (1ll*(e))
#define pb push_back
#define ft first
#define sc second
#define pii pair<int,int>
#define pli pair<long long,int>
#define vct vector
#define clean(e) while(!e.empty()) e.pop()
#define all(ev) ev.begin(),ev.end()
#define sz(ev) ((int)ev.size())
#define debug(x) printf("%s=%d\n",#x,x)
#define x0 __xx00__
#define y1 __yy11__
#define ffo fflush(stdout)
cLL mod=998244353,G=404;
// cLL mod[2]={1686688681ll,1666888681ll},base[2]={166686661ll,188868881ll};
template <typename Type> void get_min(Type &w1,const Type w2) { if(w2<w1) w1=w2; } template <typename Type> void get_max(Type &w1,const Type w2) { if(w2>w1) w1=w2; }
template <typename Type> Type up_div(Type w1,Type w2) { return (w1/w2+(w1%w2?1:0)); }
template <typename Type> Type gcd(Type X_,Type Y_) { Type R_=X_%Y_; while(R_) { X_=Y_; Y_=R_; R_=X_%Y_; } return Y_; } template <typename Type> Type lcm(Type X_,Type Y_) { return (X_/gcd(X_,Y_)*Y_); }
template <typename Type> Type md(Type w1,const Type w2=mod) { w1%=w2; if(w1<0) w1+=w2; return w1; } template <typename Type> Type md_(Type w1,const Type w2=mod) { w1%=w2; if(w1<=0) w1+=w2; return w1; }
void ex_gcd(LL &X_,LL &Y_,LL A_,LL B_) { if(!B_) { X_=1ll; Y_=0ll; return ; } ex_gcd(Y_,X_,B_,A_%B_); X_=md(X_,B_); Y_=(1ll-X_*A_)/B_; } LL inv(LL A_,LL B_=mod) { LL X_=0ll,Y_=0ll; ex_gcd(X_,Y_,A_,B_); return X_; }
template <typename Type> void add(Type &w1,const Type w2,const Type M_=mod) { w1=md(w1+w2,M_); } void mul(LL &w1,cLL w2,cLL M_=mod) { w1=md(w1*md(w2,M_),M_); } template <typename Type> Type pw(Type X_,Type Y_,Type M_=mod) { Type S_=1; while(Y_) { if(Y_&1) mul(S_,X_,M_); Y_>>=1; mul(X_,X_,M_); } return S_; }
template <typename Type> Type bk(vector <Type> &V_) { auto T_=V_.back(); V_.pop_back(); return T_; } template <typename Type> Type tp(stack <Type> &V_) { auto T_=V_.top(); V_.pop(); return T_; } template <typename Type> Type frt(queue <Type> &V_) { auto T_=V_.front(); V_.pop(); return T_; }
template <typename Type> Type bg(set <Type> &V_) { auto T_=*V_.begin(); V_.erase(V_.begin()); return T_; } template <typename Type> Type bk(set <Type> &V_) { auto T_=*prev(V_.end()); V_.erase(*prev(V_.end())); return T_; }
mt19937 gen(time(NULL)); int rd() { return abs((int)gen()); }
int rnd(int l,int r) { return rd()%(r-l+1)+l; }
void main_init()
{
}
cint N=105;
int n,m,Q;
string nm[N],nm2[N];
LL mx[N];
int typ[N];
LL Siz[N],siz[N],siz2[N];
struct ST
{
string s;
int id;
};
int len[N];
vct <ST> v[N];
unordered_map <ULL,int> mp,mp2,fin[N];
ULL xor_shift(ULL x)
{
x^=x<<42;
x^=x>>13;
x^=x<<16;
x^=x>>35;
return x;
}
ULL gths(string &str)
{
ULL hs=0;
int ln=sz(str);
For_(i,0,ln) hs=xor_shift(hs+str[i]);
return hs;
}
int qry(string &str)
{
return mp[gths(str)];
}
LL up(LL w1,LL w2)
{
return (up_div(w1,w2)*w2);
}
void main_solve()
{
cin>>Q;
n=4;
nm[1]="byte",v[1].pb({"byte",1}),Siz[1]=mx[1]=1ll;
nm[2]="short",v[2].pb({"short",2}),Siz[2]=mx[2]=2ll;
nm[3]="int",v[3].pb({"int",3}),Siz[3]=mx[3]=4ll;
nm[4]="long",v[4].pb({"long",4}),Siz[4]=mx[4]=8ll;
For(i,1,n) mp[gths(nm[i])]=i;
m=0;
while(Q--)
{
int opt; cin>>opt;
if(opt==1)
{
n++;
cin>>nm[n]>>len[n];
mp[gths(nm[n])]=n;
For_(i,0,len[n])
{
ST t; string ty;
cin>>ty>>t.s;
fin[n][gths(t.s)]=i;
t.id=qry(ty);
Siz[n]=up(Siz[n],mx[t.id]);
get_max(mx[n],mx[t.id]);
Siz[n]+=Siz[t.id];
v[n].pb(t);
}
cout<<Siz[n]<<' '<<mx[n]<<'\n';
}
else if(opt==2)
{
string ty;
m++;
cin>>ty>>nm2[m];
mp2[gths(nm2[m])]=m;
typ[m]=qry(ty);
// printf("%d\n",typ[m]);
siz[m]=up(siz2[m-1],mx[typ[m]]);
cout<<siz[m]<<'\n';
siz2[m]=siz[m];
for(auto &i:v[typ[m]])
siz2[m]=up(siz2[m],mx[i.id])+Siz[i.id];
// printf("%d:%lld,%lld\n",m,siz[m],siz2[m]);
}
else if(opt==3)
{
string s; cin>>s; s+='.';
int ln=sz(s);
LL w=0ll,w2=0ll; ULL hs=0;
bool f=true;
int t=0;
For_(i,0,ln)
{
char c=s[i];
// printf("> %c\n",c);
if(c!='.')
{
hs=xor_shift(hs+c);
continue;
}
if(f)
{
t=mp2[hs];
w=siz[t],w2=siz[t];
// printf("%lld,%lld\n",w,w2);
t=typ[t];
// printf("t=%d\n",t);
f=false;
}
else
{
int t2=fin[t][hs];
// printf("%d,%d\n",t,t2);
For(i,0,t2)
{
w=up(w2,mx[v[t][i].id]);
w2=w+Siz[v[t][i].id];
}
w2=w;
// printf("> %lld,%lld\n",w,w2);
t=v[t][t2].id;
}
hs=0;
}
cout<<w<<'\n';
}
else if(opt==4)
{
LL w; cin>>w;
int stt=1; while(stt<=m&&w>=siz2[stt]) stt++;
if(stt>m||w<siz[stt])
{
cout<<"ERR\n";
return ;
}
// printf("stt=%d\n",stt);
LL w2=siz[stt],w2_=siz[stt];
// printf("w=%lld\n",w2);
int t=typ[stt];
string ans=nm2[stt];
while(t>4)
{
w2=up(w2,mx[t]);
// printf("t=%d(%lld)\n",t,Siz[t]);
// printf("w=%lld\n",w2);
if(w2>w||w-w2>=Siz[t])
{
cout<<"ERR\n";
return ;
}
int t2=0;
string lst;
for(auto &i:v[t])
{
LL w3=up(w2_,mx[i.id]);
exc(w3>w);
// printf("i.id=%d\n",i.id);
w2_=(w2=w3)+Siz[i.id];
// printf("> %lld,%lld\n",w2,w2_);
lst=i.s;
t2=i.id;
}
ans+='.'+lst;
w2_=w2;
t=t2;
}
// printf("t=%d\n",t);
// printf("w=%lld\n",w2);
w2=up(w2,Siz[t]);
if(w2>w||w-w2>=Siz[t])
{
cout<<"ERR\n";
return ;
}
cout<<ans<<'\n';
}
}
}
int main()
{
ios::sync_with_stdio(0); cin.tie(0);
// freopen("in.txt","r",stdin);
// freopen("out.txt","w",stdout);
// srand(time(NULL));
main_init();
// int _; inint(_); For(__,1,_) // T>1 ?
// printf("\n------------\n\n"),
main_solve();
return 0;
}
/*
*/
Details
Tip: Click on the bar to expand more detailed information
Pretests
Final Tests
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3992kb
input:
93 2 long gkwc 3 gkwc 2 long omvjdthb 4 1 2 long cumx 3 omvjdthb 4 16 3 gkwc 2 long tebdginn 4 15 4 30 3 omvjdthb 4 22 4 37 2 long nbghbbahln 2 long kkjzl 4 9 3 nbghbbahln 4 31 3 nbghbbahln 3 gkwc 2 long hjzfa 2 long tptemwur 4 39 3 tptemwur 2 long sjybn 4 8 4 15 3 cumx 2 long xathyrnc 4 32 3 xathyr...
output:
0 0 8 gkwc 16 8 cumx 0 24 omvjdthb tebdginn 8 cumx ERR
result:
wrong answer 15th lines differ - expected: '32', found: ''
Test #2:
score: 0
Wrong Answer
time: 0ms
memory: 3804kb
input:
100 4 0 4 4 2 byte szqir 2 long fweahddll 2 byte dvqu 3 szqir 2 long wqcnqxppvg 3 szqir 4 9 4 33 3 wqcnqxppvg 4 38 4 5 4 33 2 short erhxh 2 short wwsp 4 3 3 szqir 4 42 2 short pxkwnp 4 15 2 int teuwwrw 4 45 3 erhxh 2 int uuycypz 3 uuycypz 4 48 4 35 4 6 3 wqcnqxppvg 2 byte yvgc 3 yvgc 3 teuwwrw 4 25 ...
output:
ERR
result:
wrong answer 2nd lines differ - expected: 'ERR', found: ''
Test #3:
score: 0
Wrong Answer
time: 0ms
memory: 3704kb
input:
99 2 long mrbfn 4 1 3 mrbfn 3 mrbfn 3 mrbfn 3 mrbfn 2 byte oosmberlsb 3 mrbfn 3 oosmberlsb 2 byte auhmoewi 4 7 4 3 2 long jplopgx 4 0 4 31 2 int qqgjpu 2 long plfawkhtd 3 auhmoewi 3 plfawkhtd 2 int uwue 2 long muvlnlgqn 4 46 4 46 4 22 2 long inhosie 3 auhmoewi 3 oosmberlsb 2 byte pziz 2 byte anyxdru...
output:
0 mrbfn 0 0 0 0 8 0 8 9 mrbfn mrbfn 16 mrbfn ERR
result:
wrong answer 16th lines differ - expected: '24', found: ''
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 4000kb
input:
99 1 lfqikjtpgg 97 long mbtn long snpj long fqb long vdnkbv long zqqjxhrj long upp long oe long lv long sea long a long fdymaqnuy long oyshjkhm long secuap long o long uvq long xpw long fsytmbpaaw long rx long nhmski long hzop long noy long mqbitjlx long jewquyks long auntk long ak long bsksgoi long...
output:
776 8 0 608 jrrer.vdnkbv 0 368 jrrer.qzotxqv 616 776 zeewv.fqb zeewv.hzop 376 jrrer.lqyfurmsv 1256 1552 1560 2336 jrrer.fsytmbpaaw jrrer.vfhi 3112 ERR
result:
wrong answer 22nd lines differ - expected: '3888', found: ''
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 3712kb
input:
92 1 stmyil 94 long frzkeaq long uloz long khxrakhvl long mgmigozwpb long gcmzgib long tktaj long ttgattk long ugnfjyqjei long qqihkphedp long jps long bhdunqh long qsefx long iujkjmuolx long lpyffp long qryknjg long utrepva long dsmu long qxazh long nc long u long lzslpheclz long ftjm long chwf lon...
output:
752 8 0 mtsoynlcr.kritlqvtrq 752 1504 480 896 0 1512 bbq.lzslpheclz exq.khxrakhvl 1768 2264 2272 3024 qvv.vgkrxwdyu ERR
result:
wrong answer 18th lines differ - expected: '3776', found: ''
Test #6:
score: 0
Wrong Answer
time: 0ms
memory: 3756kb
input:
98 1 mmozfzqkeq 98 byte snth short p short ukfuxuar byte vidqzvet short mtzfq byte umfo short rxzppsvp short jkcngxzj byte upvqni short wnthhncby byte zzwunbs short hsmgblo short ccgvhtx byte wmru byte gfhcr short fwfanwrr byte wyhihbma byte rppirq short nspggyr short wkntvbwwlv byte hoqqz byte fvcn...
output:
162 2 0 ERR
result:
wrong answer 4th lines differ - expected: 'ERR', found: ''
Test #7:
score: 0
Wrong Answer
time: 0ms
memory: 3744kb
input:
92 1 xreiqsyjsl 94 int joqtxmb byte eobzfc int yglime int ghhoizgeq long kiza long aef int ahkehlz byte kgzpv long nf byte hmshwxalu short tniregati byte m short ybauqfo byte tmtnxog int etgavrbmqj short mdirp int qofuzp int lzyvpl int tfdwv int obskuccugg byte bgq short ze long bpyzngywya int rcyis...
output:
490 8 0 ERR
result:
wrong answer 1st lines differ - expected: '496 8', found: '490 8'
Test #8:
score: 0
Wrong Answer
time: 0ms
memory: 3840kb
input:
93 1 spkif 90 short klz short wlbylhewfp short kyaoz byte iuszpejqeb short hlbbgkvnhn short xwsavtujm byte pgfwluu byte mbsh short ybzxrav short ilmd short dvntuiawh short ucbdcgwkyr short m byte qefbom short rpdiishks short dbq byte amiipjf short rcuw byte ct short brdieyded short snuehuwrbf byte o...
output:
163 2 0 0 mslenxromt 8 16 gngtzlv.awq kkyubikfab 0 gngtzlv.jwxveqixgt gngtzlv.amiipjf gngtzlv.cpchxhefw 16 179 179 gngtzlv.ikewaav gngtzlv.pgfwluu 16 gngtzlv.anphcrwk 180 180 182 184 348 ebuyegvf.anphcrwk 512 520 ebuyegvf.aq 528 692 179 ebuyegvf.didtdpyk 856 856 8 860 1024 1188 512 cxjagr.kyaoz 1352...
result:
wrong answer 1st lines differ - expected: '164 2', found: '163 2'
Test #9:
score: 0
Wrong Answer
time: 1ms
memory: 3812kb
input:
100 1 tmwddcqr 96 long vc long bzjxjo long rpfgxjw long rwfnwjxezo long evovfc long gj long zwoml long qtgongwrsf long qoti long xoisdmvl long vkcbsjti long lyv long ipjvh long lmemkym long zybinjoacb long xo long opaxv long fd long cheprbq long vwmixkoa long qkxjkn long ty long ad long nrrm long kl...
output:
768 8 800 8 640 8 112 8 736 8 200 8 760 8 776 8 424 8 784 8 ERR
result:
wrong answer 12th lines differ - expected: 'ERR', found: ''
Test #10:
score: 0
Wrong Answer
time: 0ms
memory: 4056kb
input:
94 1 oeareonbmc 94 long sjlbu long ddjtxqy long ac long rjmwvryp long bjw long kjxs long dns long wycl long scucpcfki long vhotgxwf long yfgvgw long xb long um long cmcuihmv long jwyuguj long dl long hgecyw long cn long xrwhhsqoar long xfajrvvuy long pg long ln long bwgziqt long knwn long mjmz long ...
output:
752 8 776 8 672 8 720 8 760 8 536 8 760 8 632 8 776 8 760 8 ERR
result:
wrong answer 12th lines differ - expected: '0', found: ''
Test #11:
score: 0
Wrong Answer
time: 1ms
memory: 3912kb
input:
100 1 qg 75 short imvphecx long tgthzzocgy int z long rdkrbwqi long bkzeqx byte ebcxwfjeka long ugvjxbayyc int srjda long ah short nhqbw int twpca byte hynzjak long mwrjaitjf byte qeensxo short oc int pniisvwlr int yvqoaipq long nwokprd long pryksxsjti byte zhbuomugxl int bgk byte luo byte kmimxmj b...
output:
366 8 369 8 420 8 448 8 161 2 448 8 472 8 468 8 360 8 284 8 404 8 0 288 8 164 272 8 448 vledfvupie.bcwbyjhb 410 8 hmjam.gb 668 436 8 504 428 8 ERR
result:
wrong answer 1st lines differ - expected: '368 8', found: '366 8'
Test #12:
score: 0
Wrong Answer
time: 1ms
memory: 3812kb
input:
98 1 prjerge 52 short baiklk short pdauxtmhcs long bmutcn long xhrktulr short gxqgh short ylxevjych short rgd byte gixpucez int bbmq byte giezc short goonshi byte pupsmxs int jmadko byte lziz short azfctnm long pxlp int lcezuwix int pwcmndzare int isjkucax int tngygloe int vjcs int dbcsddgz short ct...
output:
233 8 496 8 358 8 90 2 61 1 163 2 240 4 208 8 414 8 472 8 0 208 493 8 488 8 216 n.itlmw n.saumwdw 704 872 64 8 sc.wypmrhgs sc.ly 1360 1568 1568 1632 1386 704 0 1632 1640 408 8 1568 ERR
result:
wrong answer 1st lines differ - expected: '240 8', found: '233 8'
Test #13:
score: 0
Wrong Answer
time: 1ms
memory: 3852kb
input:
95 1 icyrswqfl 93 short qffx byte lkojhr long hhsbxdps long gcsi long hiznsou short hjwpmzywv int hhxyuk byte vrudbiwl byte cqmcxfx long jzdrah int uafucqu int gwixgsyfa short ezyti long iczdyjxa short tc short vyvozoirs long m int kpmg short ecxfhjhfu short gwdqiiza int yfjmrewujt int hl long t lon...
output:
467 8 484 8 273 8 480 8 154 2 316 8 480 8 456 8 409 8 406 8 0 384 464 8 rltmyrzog.lk 416 360 8 222 8 656 tynqrri.poelsjaft 414 8 880 tynqrri.ynb 88 2 440 8 265 4 1040 1264 1040 1272 1329 ERR
result:
wrong answer 1st lines differ - expected: '472 8', found: '467 8'
Test #14:
score: 0
Wrong Answer
time: 1ms
memory: 3832kb
input:
93 1 rrcruvb 100 long gbrpkh long o long npx long fqbwyv long cer long xtmxwgset long slohh long r long kkljaga long wkesor long belhrmxthz long bw long vx long wfqc long nqdvlk long v long mlgm long hioyoss long rhpyhqr long troazjcq long got long mxkp long nwayf long qofxrrhp long ttskfndao long j...
output:
800 8 648 8 728 8 144 8 696 8 696 8 248 8 800 8 776 8 776 8 51168 8 ERR
result:
wrong answer 13th lines differ - expected: '30960 8', found: ''
Test #15:
score: 0
Wrong Answer
time: 1ms
memory: 3840kb
input:
92 1 mfqfaoi 51 long vgiijn long kqvmcutd long kkqmfdmdsg long we long h long lx long bdzy long tqb long ayybs long iefznflod long qjw long xq long hajgbfpuqj long otlrrbqpy long xpxyro long lum long umizkapzp long jxjjgsuab long aesd long redlyai long htpfoi long eyo long hkc long hb long wwt long ...
output:
408 8 512 8 752 8 736 8 744 8 408 8 736 8 664 8 768 8 792 8 0 512 51120 8 nnofwvu.lcfawdwx 0 792 51912 57024 8 xulktgcyj.lplnml.riszxar 51912 504608 8 52424 ERR
result:
wrong answer 24th lines differ - expected: '472864 8', found: ''
Test #16:
score: 0
Wrong Answer
time: 1ms
memory: 3812kb
input:
92 1 itmex 54 long qlmtjv long eoiw long ef long imfhgcc long cvvwlhqj long pwrrrcarid long ejs long v long cjl long qfhsxdx long opqhk long rtyfmpb long cgefjpnsyj long oaovfhc long vun long thwqf long hhdrhsizr long ckwl long gaxdzp long mwcw long knjp long zcemzmfs long zlnjmriio long oein long s...
output:
432 8 696 8 784 8 448 8 800 8 536 8 760 8 760 8 256 8 720 8 ERR
result:
wrong answer 12th lines differ - expected: '0', found: ''
Test #17:
score: 0
Wrong Answer
time: 1ms
memory: 3980kb
input:
94 1 gzvgm 96 int ozzmlzdcs short lzf int tc int cpagll byte jktmts long qtsyn long rfyehp int dmfpk byte dourj byte aoqijd short er int aykwg byte bozawefpt short kodpn short lk byte xxem byte cvo long vdowzxhn short rutrrcfua short wev short wnkufo byte hvo int ovnbmuq long rcx short ngtdtdxt byte...
output:
400 8 74 1 155 8 114 2 395 8 408 8 224 4 340 8 397 8 91 1 ERR
result:
wrong answer 3rd lines differ - expected: '160 8', found: '155 8'
Test #18:
score: 0
Wrong Answer
time: 1ms
memory: 3968kb
input:
92 1 pyrj 59 short qjazriblv int udo long ifisemk int inso byte lpmnuevtab int ilrtum byte aucf byte qvwxbxcevi long sxboxvu byte rjfpvq byte iteamtvj int lrsf short nnbnd long ndiwpi short hvcpdhh short rqmusonxma short agoriisqdu short jqskvkw short qyq long zvmpxd byte mbb long kpabhzk int qktde ...
output:
275 8 91 1 287 8 465 8 137 2 446 8 308 8 428 8 433 8 99 1 0 0 433 ezfwp.flnygykhx 483 11485 8 viwnadheef.vtp 18406 8 536 wgrr.sjhjl.lxcefxc 4416 wgrr.dr.ktu 76403 8 wgrr.zyd.ysdg 164251 8 505 18944 628574 8 26092 95352 536 zcttgv.cxdw.kmb.zpvy 259608 888184 1643016 8 1516760 alvotuys.qzausoy.aqozdg....
result:
wrong answer 1st lines differ - expected: '280 8', found: '275 8'
Test #19:
score: 0
Wrong Answer
time: 1ms
memory: 3784kb
input:
100 1 deam 92 int puxuhin byte qzbt byte oelfvt short qjhpt short zvmv byte hmdzptx long mctwgosxff short uygqtcthn long ykshnocnt int ybsvabraeu int qzwh long brrtu byte fide byte lisonhykl short pmsend byte dhqyw short rso long vmuhoz byte kasnh long lyjjfblrb short uzsagojr byte odqcqtjcvs byte m...
output:
408 8 31 4 194 4 472 8 452 8 346 8 497 8 15 4 371 8 452 8 ERR
result:
wrong answer 2nd lines differ - expected: '32 4', found: '31 4'
Test #20:
score: 0
Wrong Answer
time: 1ms
memory: 4072kb
input:
100 1 vmtrvlmprp 99 byte hbvh long ifeouvbu long ylh long hqgw int wcs short oavgeme byte ppmssx byte prdykjzgw byte obta short yzf byte ozqfbozj short vuypsqhd byte anwbcc byte iiungtbs short dkhape byte ixh short gbdm long ijrczrv short rgkc short amskm short jguttrfv short dotlif byte tqvwccaafx ...
output:
437 8 67 1 462 8 256 4 16 8 149 2 472 8 248 4 261 8 506 8 ERR
result:
wrong answer 1st lines differ - expected: '440 8', found: '437 8'