代码搜索:until
找到约 4,232 项符合「until」的源代码
代码结果 4,232
www.eeworm.com/read/342573/12011449
txt s.txt
read u;
read v; { input two integers }
if v=0 then v:=0 { do nothing }
else
repeat
temp := v;
v := u - u / v * v;
u := temp
until v=0.1
end ;
write u {output gcd of origina
www.eeworm.com/read/153614/12021012
vhd 36_gcd.vhd
entity gcd is
port(start: in bit;
clk : in bit;
din : in bit;
xi,yi: in integer;
dout : out bit;
output:out integer);
end gcd;
architecture behavior of gcd is
begin
process
www.eeworm.com/read/340895/12126124
vhd mult.vhd
library ieee;
use ieee.std_logic_1164.all;
entity mult is
port( a,b: in std_logic_vector(3 downto 0);
clk, stb: in std_logic;
result: out std_logic_vector(7 downto 0);
www.eeworm.com/read/253789/12200281
sh untilexample.sh
#!/bin/sh
until [ ! -f a.lock ]
do
sleep 1
done
echo "You may start another application safely"
b
www.eeworm.com/read/151305/12220462
vhd 36_gcd.vhd
entity gcd is
port(start: in bit;
clk : in bit;
din : in bit;
xi,yi: in integer;
dout : out bit;
output:out integer);
end gcd;
architecture behavior of gcd is
begin
process
www.eeworm.com/read/339554/12225313
pas ac1106.pas
program tju1106;
var
k,a,b,c:qword;
begin
repeat
read(k);
b:=1;c:=1;
repeat
a:=b;b:=c;c:=a+b;
until c>k;
writeln(a*a+b*b);
until seekeof;
end.
www.eeworm.com/read/339554/12225384
pas ac1189.pas
program tju1189;
const
maxn=500;
var
adj:array[1..maxn,1..maxn]of boolean;
route,dist,q:array[1..maxn]of word;
m,n,i,j,f,r:word;
begin
repeat
fillchar(adj,sizeof(adj),0);
f
www.eeworm.com/read/339554/12225427
pas ac1102.pas
program tju1102;
const
maxn=20000;
var
a:array[1..maxn]of word;
n,i,t,u,op,len,maxlen:word;
begin
repeat
read(n);
for i:=1 to n do
read(a[i]);
op:=n;maxlen:=0;
www.eeworm.com/read/339554/12225433
pas ac1131.pas
program tju1131;
var
n,x:longint;
a:qword;
begin
repeat
read(n);
n:=power(2,n);
a:=n+1;
a:=a*n div 2;
repeat
read(x);
dec(a,x);
dec(n);
un
www.eeworm.com/read/339554/12225458
pas ac1015.pas
program tju1015;
var
s:string;
c:char;
begin
repeat
s:='';
repeat
read(c);
case c of
'@':s:='';
'#':if s>'' then delete(s,length(s),1);
el