Submission #421460

# Submission time Handle Problem Language Result Execution time Memory
421460 2021-06-09T07:46:53 Z 장태환(#7576) Bubble Sort 2 (JOI18_bubblesort2) C++17
Compilation error
0 ms 0 KB
#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.