Problem Using R in the Code Chef IDE

Hello,

When I try to Use the IDE to run, every time it says that IDE is too overloaded to run; So submit it on the contest page. why?

Secondly, in the contest problems, when it says Subtask 1,2,3, …do I have to hard-code the constraints in the code for each subtask or as long as the code is giving the desired output, will that be sufficient?

Thirdly, while using R for the contest problems, every time I am getting a Wrong answer and the wrong solution being some random number such as [24579818], [24577930], [24577339], etc. why is it happening? Is it some issue with reading user input?

Because, in my system using R, the code is giving correct output as per the example test cases in the question. This has happened for two different contest problems.