# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
744871 | jjcoder | Rainforest Jumps (APIO21_jumps) | C++14 | 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,min=200001;
cin>>A>>B>>C>>D;
cout << C-B <<endl;
}
}
int main()
{
//setIO("input");
ios::sync_with_stdio(0);
solve();
return 0;
}