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

Search:

Type: Posts; User: gamerrk1004

Search: Search took 0.01 seconds.

  1. 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. 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...
  3. Replies
    3
    Views
    640

    Please help me solve this problem

    here is the link to the problem -
    https://www.codechef.com/MARCH20B/problems/ADASHOP2

    I would appreciate if someone gives me the code for this problem along with explanation. Thank you.
  4. Replies
    1
    Views
    426

    Please help me solve this problem

    Here is the link to the problem -
    https://www.codechef.com/FEB20B/problems/CHEFRAIL
  5. Replies
    4
    Views
    559

    Please help me with the error.

    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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)