代码搜索:while

找到约 10,000 项符合「while」的源代码

代码结果 10,000
www.eeworm.com/read/348596/10881984

txt 1703.txt

#include"stdio.h" #include"memory.h" long diff[100010]; long same[100010]; long stack[100010]; void swap(long &a,long &b) {long c=a;a=b;b=c;} int main() {long i,a,b,n,m; int tt; char c
www.eeworm.com/read/348596/10882000

txt 2084.txt

#include"stdio.h" #include"iostream.h" #include #include #include #include #include //ifstream in("game.in"); #define in cin /////////////////
www.eeworm.com/read/348596/10882025

txt 3065.txt

Source Problem Id:3065 User Id:fzk Memory:23564K Time:1593MS Language:G++ Result:Accepted Source #include #include #include #include using
www.eeworm.com/read/348596/10882078

txt 2559.txt

#include int s[100002]; int h[100002]; int st[100002]; int id[100002],n; bool init() { int i; scanf( "%d", &n ); if( n == 0 ) return false; for( i=0; i
www.eeworm.com/read/348596/10882082

txt 3125.txt

Source Problem Id:3125 User Id:fzk Memory:68K Time:15MS Language:G++ Result:Accepted Source #include #include using namespace std; queue q; int sum[10];
www.eeworm.com/read/348596/10882171

txt 2287.txt

#include #include using namespace std; int n,s; int a[2000],b[2000],c[2000],nc,na; int main() { int i,j,mi,mj; while (scanf("%d",&n)!=EOF) {
www.eeworm.com/read/348596/10882177

txt 1067.txt

#include #include int main() { int a, b, k; while( scanf( "%d %d", &a, &b ) == 2 ) //ak =[k(1+√5)/2],bk= ak + k { if( a > b ){ a += b; b = a - b; a -=b; } k =
www.eeworm.com/read/348596/10882255

txt 2522.txt

#include "iostream" using namespace std; int ans[230][11]; int get( int a, int b ) { int i; if( b == 1 ) return 1; if( ans[a][b] < 0 ) { ans[a][b] = 0; for( i=0; i*b
www.eeworm.com/read/348596/10882259

txt 1401.txt

#include int main( ) { int n, cas, a, i; scanf( "%d", &cas ); while( cas-- ) { scanf( "%d", &n ); for( a=0, i=5; i
www.eeworm.com/read/348596/10882288

txt 2273.txt

#include #include #include char w[100]; int main( ) { int a, b, i, s; char *p; while( 1 ) { scanf( "%s", w ); if( w[1] == '0' ) break;