CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

# Search:

Type: Posts; User: gamerrk1004

1. ## Thread: Count of sub-arrays with a given sum such that the indices are in ascending order

by gamerrk1004
Replies
3
Views
476

### Re: Count of sub-arrays with a given sum such that the indices are in ascending order

Thanks for replying everyone. I understood the logic. :)
2. ## Thread: Count of sub-arrays with a given sum such that the indices are in ascending order

by gamerrk1004
Replies
3
Views
476

### Count of sub-arrays with a given sum such that the indices are in ascending order

Given an array, count the number of sub-arrays with a given sum such that the indices are in ascending order (They do not need to be continuous, but the indices of the elements of the array should be...

by gamerrk1004
Replies
3
Views
586

here is the link to the problem -

I would appreciate if someone gives me the code for this problem along with explanation. Thank you.

by gamerrk1004
Replies
1
Views
419

Here is the link to the problem -
https://www.codechef.com/FEB20B/problems/CHEFRAIL

by gamerrk1004
Replies
4
Views
472

The code prints the same output "NO" every time. Please someone help me with what the error can be.

#include<iostream>
using namespace std;

int main()
{
int n,q,i,j;
int a,b,c,d;
Results 1 to 5 of 5