摘要: 1.27刷题2 Mice and Rice is the name of a programming contest in which each programmer must write a piece of code to control the movements of a mouse in 阅读全文
posted @ 2021-01-27 23:49 谢浪 阅读(99) 评论(0) 推荐(0)
摘要: 刷题 题意:栈的容量是5,从1~7这7个数字,写5个测试数据 做法:模拟栈 #include<bits/stdc++.h> using namespace std; const int maxn=1010; int a[maxn]; stack<int> st;//不用定义大小呀, //题目那也只是 阅读全文
posted @ 2021-01-27 22:53 谢浪 阅读(65) 评论(0) 推荐(0)