代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/487368/6510787
c merge.c
#include
void Mpass(int x[],int y[],int k,int n); /*声明其为函数*/
void Msort(int x[],int y[],int n); /*声明其为函数*/
int main(void)
{
/*要排序整型数据序列*/
int a[] = {26,5,37,1,61,11,59,15,48,19
www.eeworm.com/read/486904/6519780
txt 凸包模板.txt
//凸包
//按X轴主Y轴辅排序
#include
int i,j,tot1,tot2,tot;
double ans,k;
int n;
int a[100010];
int x[50010],y[50010];
int cal(int a,int b,int c)
{
int tt;
tt=x[a]*y[b]+x[c]*y[a]+x[b]*y[c]-
www.eeworm.com/read/487037/6522714
txt 快速排序.txt
inline void swap(int& x, int& y)
{
int t=x;
x = y;
y = t;
}
void sort(int* a, int n)
{
if(n
www.eeworm.com/read/486654/6524164
cpp 1080.cpp
/* This Code is Submitted by wywcgs for Problem 1080 on 2005-03-05 at 18:32:08 */
#include
int main()
{
int root, i, j, a[11];
while(1){
root = 0;
fo
www.eeworm.com/read/486654/6524208
cpp 1069.cpp
/* This Code is Submitted by wywcgs for Problem 1069 on 2005-10-28 at 12:50:45 */
#include
#include
const int N_MAX = 3600;
const int MAX = 32768;
int main()
{
int p[N
www.eeworm.com/read/486654/6524239
cpp 1525.cpp
/* This Code is Submitted by wywcgs for Problem 1525 on 2005-10-30 at 04:11:51 */
#include
const long MAX = 102400;
int main()
{
long stack[MAX], top;
long left[MAX], right[MAX]
www.eeworm.com/read/486654/6524266
cpp 1309.cpp
/* This Code is Submitted by wywcgs for Problem 1309 on 2005-12-27 at 16:39:55 */
#include
#include
#include
#include
#include
using namespace std;
www.eeworm.com/read/486654/6524276
cpp 1100.cpp
/* This Code is Submitted by wywcgs for Problem 1100 on 2005-09-16 at 15:30:07 */
#include
int main()
{
char stack[260], ch;
int top;
while(1) {
top = 0;
www.eeworm.com/read/486654/6524306
cpp 1540.cpp
/* This Code is Submitted by wywcgs for Problem 1540 on 2005-09-19 at 20:16:10 */
#include
int main()
{
char intro;
int fish, timePast, bait, gen, fishTime;
while((i
www.eeworm.com/read/486654/6524410
cpp 2167.cpp
/* This Code is Submitted by wywcgs for Problem 2167 on 2006-03-13 at 12:22:27 */
#include
#include
using namespace std;
const int VALID[] = { 0, 1, 2, 5, 9, 8, 6 };
cons