/* * NOTE: it is recommended to use this even if you don't * understand the following code. */ #include #include using namespace std; // constraints #define MAXN 500 // input data int D, N; // comment those arrays if you want to use the struct vector X; vector R; vector T; vector K; vector dir; // uncomment this struct if you want to use it. Remember to change the lines for // reading the input and resizing the vector! // struct crane_t { // int x, r, t, k, dir; // }; // vector cranes; int main() { // uncomment the following lines if you want to read/write from files // freopen("input.txt", "r", stdin); // freopen("output.txt", "w", stdout); cin >> D >> N; // comment these lines if you want to use the struct X.resize(N); R.resize(N); T.resize(N); K.resize(N); dir.resize(N); // uncomment this line if you want to use the struct // cranes.resize(N); for (int i = 0; i < N; i++) { // comment this line if you want to use the struct cin >> X[i] >> R[i] >> T[i] >> K[i] >> dir[i]; // uncomment this if you want to use the struct // cin >> cranes[i].x >> cranes[i].r >> cranes[i].t >> cranes[i].k >> cranes[i].dir; } // insert your code here cout << 42 << endl; // print the result return 0; }