# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
744872 | jjcoder | Rainforest Jumps (APIO21_jumps) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
void solve()
{
int n,h;
cin>>n>>h;
vector<int> a(n);
for(int i=0; i<n; i++){
cin>>a[i];
}
while(h--)
{
int A,B,C,D;
cin>>A>>B>>C>>D;
cout << C-B <<endl;
}
}
int main()
{
//setIO("input");
solve();
return 0;
}