🌈 style:

This commit is contained in:
lzy
2024-05-26 15:39:14 +08:00
parent 6f28a3384a
commit a57bbdb4c1
156 changed files with 765 additions and 770 deletions

View File

@@ -16,7 +16,7 @@
#define NR_BALL 27
int check(queue *qu)
int check(queue* qu)
{
int i = (qu->head + 1) % MAXSIZE;
@@ -30,27 +30,27 @@ int check(queue *qu)
return 1;
}
int main()
int main( )
{
int i;
queue *qu;
queue* qu;
int t, value;
int time;
sqstack *st_min, *st_fivemin, *st_hour;
qu = qu_create();
qu = qu_create( );
if (NULL == qu)
exit(1);
st_min = st_create();
st_min = st_create( );
if (NULL == st_min)
exit(1);
st_fivemin = st_create();
st_fivemin = st_create( );
if (NULL == st_fivemin)
exit(1);
st_hour = st_create();
st_hour = st_create( );
if (NULL == st_hour)
exit(1);