我的代码
#include<iostream>
#include<vector>
using namespace std;
struct MyStruct {
vector<int> lattice, goods; //格子
int s = 0;
};
int main()
{
int n, q;
cin >> n;
cin >> q;
MyStruct cabinet[100000];
int x, a, b, c;
for (int i = 0; i < q; i++) {