#include "rainbow.cpp"
#include <bits/stdc++.h>
int R, C, M, Q;
int sr, sc;
string S;
main() {
std::cin >> R >> C >> M >> Q;
std::cin >> sr >> sc;
if (M > 0) {
std::cin >> S;
}
init(R, C, sr, sc, M, S);
for (int query = 0; query < Q; query++) {
int ar, ac, br, bc;
std::cin >> ar >> ac >> br >> bc;
std::cout << colour(ar, ac, br, bc) << '\n';
}
}
Compilation message
rainbow.cpp:1:10: fatal error: rainbow.cpp: No such file or directory
1 | #include "rainbow.cpp"
| ^~~~~~~~~~~~~
compilation terminated.