3 Star 0

caikuikui / kuikui

 / 详情

111

Backlog
owner
Opened this issue  
2020-09-11 20:27

#include<stdio.h>
#include<stdlib.h>
#define STACK_INIT_SIZE 30000
#define TRUE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define OVERFLOW -2
typedef int Status;

char maze[20][20];

#include <stdio.h>
int main()
{
float x,y;
scanf("%f",&x);
if(x<1)
y=x;
else
{
if(x>=1)
y=2x-1;
else
y=3
x-11;
}
printf("%f\n",y);
return 0;
}
typedef struct
{
int r;
int c;
}PosType;

typedef struct
{
PosType seat;
int di;
}SElemType;

typedef struct
{
SElemType *base;
SElemType *top;
int stacksize;
}SqStack;

SElemType e;

Status InitStack(SqStack &S)
{
S.base=(SElemType )malloc(STACK_INIT_SIZEsizeof(SElemType));
if(!S.base) exit(OVERFLOW);
S.top=S.base;
S.stacksize=STACK_INIT_SIZE;
return OK;
}

Comments (0)

caikuikui created任务
caikuikui set related repository to caikuikui/kuikui
wx_.8686 changed description
Expand operation logs

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Planed to start   -   Planed to end
-
Top level
Priority
参与者(1)
1
https://gitee.com/caikuikui/kuikui.git
git@gitee.com:caikuikui/kuikui.git
caikuikui
kuikui
kuikui

Search

53164aa7 5694891 3bd8fe86 5694891