代码搜索:repeat

找到约 6,690 项符合「repeat」的源代码

代码结果 6,690
www.eeworm.com/read/246404/12728353

pas ac1021.pas

program tju1021; const maxh=75; maxw=75; var map:array[-1..maxh+2,-1..maxw+2]of char; qx,qy:array[1..(maxh+4)*(maxw+4)+1]of shortint; seg:array[-1..maxh+2,-1..maxw+2]of word; h,w,i
www.eeworm.com/read/246404/12728356

pas ac1034.pas

program tju1034; const maxn=50000; m=10000; var ans:array[1..maxn]of word; i,d,t,r:word; begin ans[1]:=1;d:=2;t:=2;r:=2; for i:=2 to maxn do begin ans[i]:=(ans[i-1]+d) mod m;
www.eeworm.com/read/246404/12728399

pas ac1027.pas

program tju1027; var n,x,p:word; begin repeat read(n);n:=n*2+1;x:=1;p:=0; repeat x:=x*2 mod n;inc(p); until x=1; writeln(p); until seekeof; end.
www.eeworm.com/read/246404/12728432

pas ac1018.pas

{A rubbish prob... much too unclear statement} program tju1018; var a,b:byte; begin repeat read(a,b); writeln(a:7); writeln('*',b:6); writeln('-------'); if b>9 then
www.eeworm.com/read/246404/12728546

pas ac1086.pas

program tju1086; const maxl=2000; var a,b:array[1..maxl]of char; dist:array[boolean,0..maxl]of longint; la,lb,i,j,k:word; function min(a,b:longint):longint; begin if a
www.eeworm.com/read/246404/12728566

pas ac1005.pas

program tju1005; const maxn=50; var a:array[-1..maxn]of longint; i:byte; begin a[1]:=1; for i:=2 to maxn do a[i]:=a[i-1]+a[i-3]; repeat read(i); writeln(a[i]); u
www.eeworm.com/read/246404/12728593

pas ac1044.pas

program tju1044; var n,i:longint; begin read(n); repeat inc(i); if (i mod 7=0) or (i mod 10=7) then begin writeln(i); dec(n); end; until n=0; end.
www.eeworm.com/read/246404/12728787

pas ac1202.pas

program tju1202; var all,one:longint; begin repeat read(all,one); if (all
www.eeworm.com/read/246404/12728797

pas ac1241.pas

program tju1241; var n,t,i,s:longint; begin repeat read(n);t:=trunc(sqrt(n)); s:=0; for i:=1 to t do inc(s,n div i); writeln(s*2-t*t); until seekeof; end.
www.eeworm.com/read/246404/12728800

pas ac1264.pas

{$Q-,R-} program tju1264; const maxn=1000000; var d:array[1..maxn]of word; bq,sq:array[1..maxn]of longint; n,k,i,bf,br,sf,sr,head,ans,m:longint; begin repeat read(n,k); bf