Search found 8 matches
- Sun Oct 14, 2012 11:53 pm
- Forum: Volume 7 (700-799)
- Topic: 750 - 8 Queens Chess Problem
- Replies: 78
- Views: 39321
Re: 750 - 8 Queens Chess Problem
Thank you, bro! sorry it took me so long to respond, but that was it. Thanks.
- Thu Sep 20, 2012 6:36 am
- Forum: Volume 7 (700-799)
- Topic: 750 - 8 Queens Chess Problem
- Replies: 78
- Views: 39321
Re: 750 - 8 Queens Chess Problem
Again... I dunno what the problem could be.... No spaces at end of lines. Only empty lines between cases. No line at end case.
/* code removed because it was solved */
/* code removed because it was solved */
- Fri Sep 14, 2012 11:58 pm
- Forum: Volume 7 (700-799)
- Topic: 750 - 8 Queens Chess Problem
- Replies: 78
- Views: 39321
Re: 750 - 8 Queens Chess Problem
Yeah sorry. I dunno what the problem could be.... No spaces at end of lines. Only empty lines between cases. No line at end case.
// code reposted in a later post.
// code reposted in a later post.
- Tue Sep 11, 2012 6:33 am
- Forum: Volume 7 (700-799)
- Topic: 750 - 8 Queens Chess Problem
- Replies: 78
- Views: 39321
Re: 750 - 8 Queens Chess Problem
nice catch, but still nada..... 

- Mon Sep 10, 2012 2:23 am
- Forum: Volume 7 (700-799)
- Topic: 750 - 8 Queens Chess Problem
- Replies: 78
- Views: 39321
why WA???
All my outputs have been correct for all test cases. The problem is probably with the printing (ugh..
)
//removed because updated code has been posted

//removed because updated code has been posted
- Wed Aug 15, 2012 7:09 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10191 - Longest Nap
- Replies: 75
- Views: 44117
Re: 10191 - Longest Nap
Thank you plamplam! Your test input saved me. I'm using java and was having difficulty printing the minutes in the hh:mm format when napStart % 60 was less than 10.
My code would print 14: 1 instead of 14:01. Apparently, my initial solution made it worse. Your test input found this problem while all ...
My code would print 14: 1 instead of 14:01. Apparently, my initial solution made it worse. Your test input found this problem while all ...
- Mon Aug 13, 2012 1:16 am
- Forum: Volume 112 (11200-11299)
- Topic: 11242 - Tour de France
- Replies: 5
- Views: 4005
Re: 11242 - Tour de France
My program returns 1.0 for that input. Is this not the same thing? I did this to convert the original float to a float rounded to two decimals:
max *= 100;
max = Math.round(max);
max /= 100;
So anything that resembles this, "1.10 or 2.80 or 0.10 or 1.00 ..etc" would crop the last 0 when output. I ...
max *= 100;
max = Math.round(max);
max /= 100;
So anything that resembles this, "1.10 or 2.80 or 0.10 or 1.00 ..etc" would crop the last 0 when output. I ...
- Fri Aug 10, 2012 8:01 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 320051
Re: General Submission Q + Wrong Answer->100 The 3n + 1 prob
Nice catch brian. I hate it when they do that though. They should atleast show an example of this happening in the sample input.What if i>j?