代码搜索:else
找到约 10,000 项符合「else」的源代码
代码结果 10,000
www.eeworm.com/read/184327/9109499
pas ac1139.pas
program tju1139;
const
maxstate=1062599;
var
c:array[0..24,0..4]of longint;
a:array[0..5]of byte;
q:array[-1..maxstate]of longint;
step:array[-1..maxstate]of shortint;
n,t,i,j,k,x,
www.eeworm.com/read/380126/9161522
c getopt.c
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to drepper@gnu.org
before changing it!
Copyright (C)
www.eeworm.com/read/379518/9194523
asv countclass.asv
function [a,b]=countclass(class)
n=size(class);
a=0;
b=0;
for i=1:n
if class(i)==1
a=a+1;
else
b=b+1;
end
end
www.eeworm.com/read/378188/9242337
f ilaenv.f
INTEGER FUNCTION ILAENV( ISPEC, NAME, OPTS, N1, N2, N3,
$ N4 )
*
* -- LAPACK auxiliary routine (preliminary version) --
* Univ. of Tennessee, Univ. of Californ
www.eeworm.com/read/378186/9242951
f ilaenv.f
INTEGER FUNCTION ILAENV( ISPEC, NAME, OPTS, N1, N2, N3,
$ N4 )
*
* -- LAPACK auxiliary routine (preliminary version) --
* Univ. of Tennessee, Univ. of Californ
www.eeworm.com/read/378183/9243513
dat errorass8.dat
错误信息: Already had ELSE clause
中文注释: 在ELSE从句中试图定义ELSE从句
www.eeworm.com/read/376846/9303707
txt 02.txt
var a,b,c;
begin
read(a,b,c);
if a>b then
begin
if a>c then
write(a)
else
write(c);
end
else
begin
if b>c then
write(b
www.eeworm.com/read/376593/9313030
m my_fibo.m
function a=my_fibo(k)
if k==1 | k==2, a=1;
else,
a=my_fibo(k-1)+my_fibo(k-2);
end
www.eeworm.com/read/376593/9313051
m chebpoly.m
function p=chebpoly(n,x)
for i=1:n
if i==1, p{i}=1;
elseif i==2, p{2}=x;
else, p{i}=collect(2*x*p{i-1}-p{i-2},x);
end,end
www.eeworm.com/read/180019/9322419
cpp 2_9.cpp
#include
void main()
{
int x,j=0;
do
{
coutx;
if ((x%3==0) && (x%5==0) && (x%7==0))
cout