2022.1.12

2022.1.12,第1张

2022.1.12

8:30-----9:04

奇怪的电梯

9:04-----9:30

Meteor shower S

没有思路,题意不能理解

11:00-----15:00   17:00----19:30

 

 

 

 

 

 

 小猫游戏代码(我写是没有标记数组的代码,用标记数组的代码会简洁一点)

#include"stdio.h"
#include"string.h"
struct queue{
	int data[1000];
	int head;
	int tail;
};//队列 
struct  stack{
	int data[1000];
	int top;
};//栈 
int main() 
{
	struct queue q1,q2;
	struct stack s;
	int t,sign,x;
	q1.head=1;q1.tail=1;
	q2.head=1;q2.tail=1;
	s.top=0;//桌面上牌数为0 
	for(t=1;t<=6;t++)
	{
		scanf("%d",&q1.data[q1.tail++]);
	}
	for(t=1;t<=6;t++)
	{
		scanf("%d",&q2.data[q2.tail++]);
	} 
	while(q1.head 

 19:30----20:00

奇怪的电梯(C语言)_bu_xiang_tutou的博客-CSDN博客

共学习8小时。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5702649.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-12-17
下一篇2022-12-17

发表评论

登录后才能评论

评论列表(0条)

    保存