Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 deletions
3
Task/Rep-string/PARI-GP/rep-string.pari
Normal file
3
Task/Rep-string/PARI-GP/rep-string.pari
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
rep(v)=for(i=1,#v\2,for(j=i+1,#v,if(v[j]!=v[j-i],next(2)));return(i));0;
|
||||
v=["1001110011","1110111011","0010010010","1010101010","1111111111","0100101101","0100100","101","11","00","1"];
|
||||
for(i=1,#v,print(v[i]" "rep(Vec(v[i]))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue