Demo entry 6312662

segment tree

   

Submitted by sakib on Oct 25, 2016 at 15:30
Language: C++. Code size: 250 Bytes.

#include <bits/stdc++.h>
using namespace std;

#define in 10

int input[in];

int main()
{
    for(int i=0; i<in; i++)
        input[i] = (int)(rand()%1000);
    for(int i=0; i<in; i++)
        cout << input[i] << " ";
    return 0;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).