• + 2 comments

    Test case 11

    Input

    5 100000000 100000000 10000000 10000000 1000000

    Output 0 2

    Code: For..... { if (s[s_i] > max) { max = s[s_i]; max_count++; }

        if (s[s_i] < min)
        {
            min = s[s_i];
            min_count++;
        }
    }
    

    Same is coming in my code when i Test against custom input. What is the problem anyone please?