代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/260901/11687685
cpp 2105.cpp
#include
int main()
{
long a,b,n;
int as[102];
while(scanf("%ld%ld%ld",&a,&b,&n)==3&&(a||b||n))
{
int temp=0;
int n1=1,n2=1,i=3;
as[0]=1;as[1]=1;
a=a%7;
b=b%7;
www.eeworm.com/read/260901/11687691
cpp 1760.cpp
#include
void InsertSort(int a[], int n)
{
int i,j;
int temp ;
for(i =1;i
www.eeworm.com/read/260853/11693164
cpp sdf.cpp
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
int shoudsave=0; /* */
struct student
{
char num[10];/* 学号 */
char name[20];
char sex[4];
int cgrade;
int mgrade;
www.eeworm.com/read/157511/11698050
pl primenum.pl
const true=1,false=0;
var x,y,m,n,pf;
procedure prime;
var i,f;
procedure mod;
x:=x-x/y*y;
begin f:=true;
i:=3;
while i
www.eeworm.com/read/157511/11698059
pl cock.pl
const z=0;
var head,foot,cock,rabbit,n;
begin
n:=z;
read(head,foot);
cock:=1;
while cock
www.eeworm.com/read/347086/11701889
c traps.c
/**********************************************************************
* ?2006 Microchip Technology Inc.
*
* FileName: traps.c
* Dependencies: p33FJ256GP710.h
* Processor: dsPI
www.eeworm.com/read/157455/11702478
cpp d.cpp
#include
void D(int x[], int n)
{
for (int i = 0; i < n; i += 2)
x[i] += 2;
int i = 1;
while (i
www.eeworm.com/read/157453/11703109
cpp bloadd.cpp
// iterative code for container loading by backtracking
#include
template
T MaxLoading(T w[], T c, int n, int bestx[])
{// Return best loading and its value.
// Iterativ
www.eeworm.com/read/157453/11704624
cpp d.cpp
#include
void D(int x[], int n)
{
for (int i = 0; i < n; i += 2)
x[i] += 2;
int i = 1;
while (i
www.eeworm.com/read/346994/11706280
c fallthru.c
/* Another use of the switch statement. */
#include
#include
int main( void )
{
int reply;
while (1)
{
puts("\nEnter a value between 1 and 10, 0 t