#include#define MaxSize 10typedef struct { int data[MaxSize]; int length;}SqList;void InitList(SqList &L) { /* for (int i = 0; i < ...
#include using namespace std;int n, m, x;int a[105];int main() {cin >> n >> m;for (int i = 1; i <= n; i ++ ) {cin >> x;int t ...
#include using namespace std;int l, r, cnt = 0;int main() {cin >> l >> r;for (int i = l; i <= r; i ++ ) {int t = i;while (t) {if (t...
b站视频 https://www.bilibili.com/video/BV1nU4y1o7VJ/ #include using namespace std;int m, n, num;char a[2000][2000];char b[6][8] = {" +---+"," / ...
#include using namespace std;int n, m;struct info {int k, s;}a[5009];bool cmp (info x, info y) {if (x.s > y.s) return true;if (x.s == y.s &...