Notes
This function is in beta test. Please help improve it in the issues
here.
$ ./ex3 rand_char*.txt dec 0=aawkq 1=mglz 2=otkr 3=hwix 4=gpa 5=xdfvkc 6=bcykf 7=dkug 8=yoi 9=wwy 10=wb 11=uuwpk 12=dpc 13=zn 14=tva 15=ry 16=lyg 17=hwjsz 18=jqxdf 19=hw 20=n 21=jf 22=kqi 23=hopm 24=ipt 25=tbd 26=is 27=jvlil 28=zjlvkx 29=apd 30=hcmuz 31=bw 32=fbga 33=yryv 34=bi 35=hixvd 36=swj 37=wu 38=mj 39=zahaj 40=oqc 41=vs 42=vmpagxsw 43=ack 44=hudpadn 45=eqosw 46=k 47=coyyaqdw 48=cop 49=fm 50=dszvouo 51=tzu 52=u 53=brs 54=kky 55=gzzm 56=mjf 57=vtvnut 58=vd 59=sgt 60=xqmzfj 61=vnvh 62=zep 63=xdfc 64=ftt 65=vb 66=xf 67=mhpjf 68=fn 69=b 70=chft 71=smt 72=speq 73=jvdf 74=po 75=a 76=dvnd 77=yeoukdha 78=jjol 79=ylgveds 80=mx 81=olx 82=wq 83=genxqh 84=io 85=fxk 86=rg 87=scksab 88=qgatdy 89=bnme 90=wne 91=ll 92=xykbtfsb 93=fkuq 94=rdwd 95=nys 96=dhup 97=yht 98=f 99=zl 100=use 101=nhf 102=hqbw 103=tykx 104=dey 105=anz 106=dfjf 107=gon 108=ww 109=cafr 110=jrtjt 111=zkk 112=grm 113=yo 114=bvw 115=nb 1
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 243, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Program exit with non zero value -13!
JOJ Answer
Correct!