#include <vector>
#include<numeric>
using namespace std;
vector<int> pyramidsA, pyramidsB;
void init(vector<int> A, vector<int> B) {
    pyramidsA = A;
    pyramidsB = B;
}
bool can_transform(int L, int R, int X, int Y) {
    long long sumA=accumulate(pyramidsA.begin()+L,pyramidsA.begin()+R+1,0);
      long long sumB=accumulate(pyramidsB.begin()+X,pyramidsB.begin()+Y+1,0);
    if (sumA != sumB) {
        return false;
    }
    else{
    return true;
    }
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... |