int solve(int N, int M, int T, int* S, int* E) {
    return 0;
}
