#include "collapse.h"
#include <cstdio>
#include <cstdlib>
int main(int argc, char *argv[]) {
int N, C, Q;
scanf("%d%d%d", &N, &C, &Q);
std::vector<int> T(C), X(C), Y(C);
for(int i = 0; i < C; i++) {
scanf("%d%d%d", &T[i], &X[i], &Y[i]);
}
std::vector<int> W(Q), P(Q);
for(int i = 0; i < Q; i++) {
scanf("%d%d", &W[i], &P[i]);
}
auto res = simulateCollapse(N, T, X, Y, W, P);
for(auto i : res) {
printf("%d\n", i);
}
}
Compilation message
bubblesort2.cpp:2:10: fatal error: collapse.h: No such file or directory
2 | #include "collapse.h"
| ^~~~~~~~~~~~
compilation terminated.