Title |
User |
Message |
Date Posted |
Re: Whats wrong |
wgma00 |
You're receiving a TLE (time limit exceeded) error because your code is too slow. You should try something different. |
Aug 25, 2015 - 8:01:46 pm UTC |
Whats wrong |
xJoker |
Can admin check if I am doing something wrong or not. It seems to be working fine but it gave me a pretty vague error. |
Aug 25, 2015 - 7:33:58 pm UTC |
Re: Right direction? |
SUPER_ET_DUPER |
You can find the two factors with the smallest perimeter without actually calculating the perimeter for every factor. Try to find the connection between the factors and perimiter. Good luck! |
Jan 16, 2015 - 9:02:11 pm UTC |
Right direction? |
pikzel |
I'm using a simple method of finding the possible factors of C, and check which one would give the smallest perimeter. With this solution I get Time Limit Exceeded (TLE) all the time. Is my solution w... |
Jan 13, 2015 - 12:01:31 pm UTC |
Re: Wrong answer from my code |
12345x3 |
Make more test cases? And try them out? |
Nov 09, 2014 - 11:30:26 pm UTC |
Wrong answer from my code |
paulkr |
Could someone help me out? My code works on the test cases. |
Nov 09, 2014 - 12:14:31 am UTC |
Re: Re: What is wrong about my program? |
jargon |
Your while(x>0) loop never runs. Note that your x variable is uninitialised. Also: the comment states that if you'd like to ask for help, you should do so on either the IRC server or the forums. Any ... |
Feb 05, 2012 - 10:53:06 pm UTC |
Re: Re: What is wrong about my program? |
mmmmoj |
So what is wrong about my code because it work good in my pc? |
Feb 05, 2012 - 9:38:38 pm UTC |
Re: What is wrong about my program? |
jargon |
Please see this comment. Note also that if you've submitted, you don't have to post your code; you can just ask us to check your latest submission, for instance. |
Feb 05, 2012 - 4:01:59 pm UTC |
What is wrong about my program? |
mmmmoj |
[code removed] |
Feb 05, 2012 - 1:52:08 pm UTC |