代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/348596/10881895
txt 1730.txt
#include"stdio.h"
inline void swap(_int64 &a,_int64 &b)
{a^=b;b^=a;a^=b;}
_int64 gcd(_int64 a,_int64 b)
{
while(a%b){a%=b;swap(a,b);}
return b;
}
int main()
{_int64 a,i,n,k,t,h;
www.eeworm.com/read/348596/10881986
txt 1661.txt
#include"iostream.h"
long a[1002][3];
long b[1002][2];
void px(int n,int m)
{int s,i=n+1,j=m;
if(n>=m)return;
while(i=a[i][2]&&i
www.eeworm.com/read/348596/10882163
txt 2567.txt
Problem Id:2567 User Id:fzk
Memory:28K Time:0MS
Language:C++ Result:Accepted
Source
#include"stdio.h"
#include"stdlib.h"
#include"memory.h"
int d[51],n;
bool e[51][51];
void crea
www.eeworm.com/read/348596/10882434
txt 2573.txt
Problem Id:2573 User Id:fzk
Memory:56K Time:60MS
Language:C Result:Accepted
Source
#include"stdio.h"
void px(int *a,int n,int m)
{int s,i=n+1,j=m;
if(n>=m)return;
while(i
www.eeworm.com/read/348596/10882447
txt 2445.txt
#include"stdio.h"
#include"algorithm"
using namespace std;
int l[1500][1500],r[1500][1500],u[1500][1500],d[1500][1500],lu[1500][1500],rd[1500][1500];
int n;
inline int max(int a,int b)
{
ret
www.eeworm.com/read/348596/10882473
txt 1973.txt
#include"iostream.h"
int f[110],ft[110];
int n,m;
int t1[110],t2[110];
bool checkout(int t)
{
int i,j,a,b;
for(i=1;i
www.eeworm.com/read/348596/10882682
txt 1612.txt
#include"iostream.h"
int dis[50][50],n;
void init()
{
char c;
int i,j,k;
cin>>n;
for(i=0;i
www.eeworm.com/read/348596/10882790
txt 1315.txt
#include"iostream.h"
int p='o',n;
int find(const char my[4][4])
{int i,j,k,l,h,max=0,t=0;char m[4][4];
for(i=0;i
www.eeworm.com/read/348596/10882847
txt 1906.txt
#include
#include
unsigned __int64 n;
char f[66][100];
void print( int i )
{
int l = strlen( f[i] );
while( l-- ) printf( "%c", f[i][l] );
}
int main()
{
www.eeworm.com/read/348596/10882969
txt 1207.txt
#include"iostream.h"
void main()
{long a,b,at,bt;
while(1)
{cin>>a;if(cin.fail())break;
cin>>b;
if(a>b){at=b;bt=a;}
else {at=a;bt=b;}
long j,s,i,n=0;
for(j=at;j