代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/481966/6634209
cpp 1953.cpp
/* This Code is Submitted by wywcgs for Problem 1953 on 2006-05-17 at 14:25:21 */
#include
#include
using namespace std;
const int PM = 32000;
int main()
{
bool prim
www.eeworm.com/read/481966/6634218
cpp 1895.cpp
/* This Code is Submitted by wywcgs for Problem 1895 on 2006-09-17 at 20:12:00 */
#include
#include
#include
using namespace std;
const int N = 1024;
const int IN
www.eeworm.com/read/481966/6634222
cpp 1087.cpp
/* This Code is Submitted by wywcgs for Problem 1087 on 2005-09-13 at 22:12:05 */
#include
#define LIMIT 1000000
int selfSum(int);
int main()
{
char visited[LIMIT+1] = {0};
www.eeworm.com/read/481966/6634258
cpp 2300.cpp
/* This Code is Submitted by wywcgs for Problem 2300 on 2006-08-02 at 18:17:30 */
#include
#include
using namespace std;
int scan(int);
int main()
{
int n;
wh
www.eeworm.com/read/481966/6634275
cpp 1486.cpp
/* This Code is Submitted by wywcgs for Problem 1486 on 2005-10-01 at 11:49:39 */
#include
#include
int main()
{
long mod[10000];
long sum, M, N, e, max, t;
long i;
www.eeworm.com/read/481354/6639273
lsp 百鸡百钱.lsp
(defun fx()
(setq x 0 y 0 z 0)
(while (< x 20)
(setq y 0)
(while (< y 33)
(setq z (- 100 x y))
(if (and (=(rem z 3) 0) (= (+(* x 5) (* y 3) (/ z 3)) 100))
(progn
www.eeworm.com/read/481368/6639479
m gcpgen1.m
function [u,i,j,df]=GCPgen(e,d,b,n,w,lamda)
u=1+fix(unifrnd(0,n));i=e(u);
while 1
j=1+fix(unifrnd(0,d+1));
if j~=i
break;
end
end
df=0;
for v=1:n
if e(v)==j
www.eeworm.com/read/481387/6639629
m riddling.m
%产生一个N(0,1)正态分布随机数
%采用筛选法,精度较高
%其他方法可参阅《现代应用数学手册--概率统计与随机过程卷》清华大学出版社马振华主编
%function y=riddling()
function y=riddling()
sign=0;
while 1
x=rand(1,2);
v1=2*x(1)-1;v2=2*x(2)-1;
s=v1^2
www.eeworm.com/read/481401/6640026
c snake.c
#include
#define uchar unsigned char
#define SNAKE 20 //最大长度
#define TIME 50 //显示延时时间
#define SPEED 71 //速度控制
//#define keyenable 1
sbit