| Title |
User |
Message |
Place |
Date Posted |
| Re: Room size |
silo |
64 square meters is a unit of area, not length. You shouldn't be using an array[64][64] when they give you the restraints for both row and column numbers. It says "No room will be larger than", so I'm... |
ccc03s3 |
Nov 10, 2015 - 2:43:28 am UTC |
| Room size |
Jlsajfj |
Does it mean nothing larger than 64 meters squared or 64 squared meters (64m^2 or 4096m^2)? I mean should it be an array [64][64] max? Or does it mean the individual rooms? |
ccc03s3 |
Nov 10, 2015 - 2:35:37 am UTC |
| Re: Help,code not working! |
jargon |
Please do not post your code in comments. Admins and people who have solved the problem can see your code anyway, and they may help if they choose to. Your error is: ValueError: invalid literal for i... |
p307ex10 |
Nov 08, 2015 - 5:34:40 pm UTC |
| Re: how can I make the numbers equal to each other |
jargon |
You just do regular assignment. x = y, much as x = int(raw_input()). |
p172ex8 |
Nov 08, 2015 - 5:32:57 pm UTC |
| Re: TLE even after correct algorithm |
competitivecoder |
Hi :) I was not claiming that problem is wrong it must be correct.My point was just asking for help since I don't know anything better than this :) .Would you mind giving me any hint :) Thanks a lot f... |
coci083p5 |
Nov 08, 2015 - 5:19:01 am UTC |
| Help,code not working! |
43618418 |
My code works when I put in actual numbers, but when i submit it the code creates an error. |
p307ex10 |
Nov 08, 2015 - 1:46:38 am UTC |
| Re: SIGSEGV |
FatalEagle |
Could be running out of memory, limit is pretty tight for this problem. |
ioi0812 |
Nov 08, 2015 - 12:43:45 am UTC |
| how can I make the numbers equal to each other |
zainnaiz |
Hi, while programming I stumbled across on how to make the numbers equal the same amount of each other. If anybody could help me it would be much Appreciated. THX zainnaiz |
p172ex8 |
Nov 07, 2015 - 8:53:35 pm UTC |
| Re: TLE even after correct algorithm |
jargon |
Sorry, you do not have the correct algorithm. Directly implementing a BST is not fast enough. (Incidentally, malloc is not faster than new, especially for POD types.) In general, if the problem has m... |
coci083p5 |
Nov 07, 2015 - 5:34:54 pm UTC |
| TLE even after correct algorithm |
competitivecoder |
Hi :) I have implemented best algorithm in my knowledge but I was only able to clear few test cases :( .I tried with fast io but that too timed out.I changed new to malloc but that was also TLE.Please... |
coci083p5 |
Nov 07, 2015 - 11:13:42 am UTC |