RE in MINIAND

my solution gOz9Do - Online C++0x Compiler & Debugging Tool - Ideone.com
question CodeChef: Practical coding for everyone

provide the input of the program in the custom input section(input section in ideone) .

i am getting runtime error on codechef not on ideone

what is the type of runtime error can u mention.

You’re reading in the input wrongly; take a closer look at the Input: section of the Problem description.

        int t;cin>>t;
	int n;cin>>n;
1 Like

i have made the changes but i am getting TLE (1.01)
how can i fix it??or i have to think of different logic??

1 Like

This? CodeChef: Practical coding for everyone

You’ll have to think of different logic :slight_smile:

1 Like