@admin Is there some way we can get access to input files used to check our solutions for practice problems??
I donât get your question. Probably youâve misunderstood the constraints. We canât have T=100000 with N=100000 in each test since the sum of N over test file <= 100000.
@arag0rn No. It is the general policy of codechef to not reveal the test data even after the contest.
I meant that T can be larger (<=100000) than the upper limit (INT_MAX) of âintâ (integer data type) used in the testerâs solution for variable T.
Or, am I wrong in the basics?
Yes you are wrong in the basics.
INT_MAX is 2^31-1 which is more than 2,000,000,000.
Yes, I am getting a magic number 2147483647 when I implemented INT_MAX in C and C++ both. But my machine is older, 32 bits. I thought maximum value âintâ can hold is 2^15-1
Hi,
My code runs fine on:
1
1
1
and also on the test input given.
It is showing WA.
Can you please help me with my code:
http://www.codechef.com/viewsolution/3959843
Thanks in advance.