代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/253521/12217555
m ex3_11.m
sum=0;
cnt=0;
val=input('Enter a number (end in 0):');
while (val~=0)
sum=sum+val;
cnt=cnt+1;
val=input('Enter a number (end in 0):');
end
if (cnt > 0)
sum
mean=sum/cn
www.eeworm.com/read/151350/12218270
c 44blib.c
/****************************************************************************
【文 件 名 称】44blib.c
【功 能 描 述】三星S3C44B0X通用子函数
【程 序 版 本】4.0
【创建人及创建日期】龚俊//2002年11月19日19:26
【修改人及修改日期】龚俊//2003年3月
www.eeworm.com/read/339554/12225352
pas ac1134.pas
program tju1134;
const
maxn=20000;
treesize=32767;
var
a,h:array[1..maxn]of longint;
tree:array[1..treesize]of word;
n,i,root:word;
procedure qsort(s,t:word);
var
p,i,j,th:lo
www.eeworm.com/read/339554/12225400
pas ac1169.pas
program tju1169;
const
maxn=1000001;
var
h,l,r:array[0..maxn]of longint;
n,i:longint;
ans,t:int64;
begin
repeat
read(n);
for i:=1 to n do
read(h[i]);
h[n+1]:=0;
www.eeworm.com/read/339554/12225494
pas ac1065.pas
program tju1065;
const
maxn=100000;
maxl=50;
var
w:array[0..maxn]of string[maxl];
s,l:array[0..maxl]of longint;
n,i,t,ans:longint;
procedure qsort(s,t:longint);
var
p,i,j:lon
www.eeworm.com/read/339554/12225727
pas ac1242.pas
{$Q-,R-}
program tju1242;
const
maxn=30000;
maxe=100000;
maxq=100000;
var
edge:array[1..maxe]of record v1,v2:word;pre1,pre2:longint;del:byte;end;
query:array[1..maxq+maxe-maxn+1]of r
www.eeworm.com/read/339492/12229529
cpp nbtheory.cpp
// nbtheory.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "nbtheory.h"
#include "modarith.h"
#include
#include
NAMESPACE_BEGIN(Crypto
www.eeworm.com/read/339483/12231660
sh redir2.sh
#!/bin/bash
# redir2.sh
if [ -z "$1" ]
then
Filename=names.data # Default, if no filename specified.
else
Filename=$1
fi
#+ Filename=${1:-names.data}
# can replace the above test (parame
www.eeworm.com/read/253260/12235063
cpp textin1.cpp
// textin1.cpp -- reading chars with a while loop
#include
int main()
{
using namespace std;
char ch;
int count = 0; // use basic input
cout
www.eeworm.com/read/253260/12235759
cpp textin1.cpp
// textin1.cpp -- reading chars with a while loop
#include
int main()
{
using namespace std;
char ch;
int count = 0; // use basic input
cout