Hi, I'm trying to load in a 10,000 x 10,000 matrix of chars (so about 100MB), but my program keeps crashing. I can define the array at 100 x 10,000, but as soon as I try 1,000x10,000 it crashes. ...
Type: Posts; User: 182blink
Hi, I'm trying to load in a 10,000 x 10,000 matrix of chars (so about 100MB), but my program keeps crashing. I can define the array at 100 x 10,000, but as soon as I try 1,000x10,000 it crashes. ...
Okay, so reading in is good with an array [1..10000][1..10000] of bits for 12.5 megs.
Determining the hamming distance between each of these vectors will require another array [1..10000][1..10000]...
I'm looking at the ITA problem "BitVector Genealogy" at
Current ITA Software Hiring Puzzles
It involves 10,000 vectors of 10,000 bits each. I'm not used to dealing with this much info. My...
Thanks for the reply ... just to clarify, fieldPos[x] is actually a 2 dimentional 50x50 array??
hi, i'm looking to pass the array fieldPos[9][50][50] into a function which then changes some of the values of fieldPos[x] (ie want to pass one of 9 possible 50 by 50 maps into the function) and...
i don't know ... my program is static, there is no user input, so it should be the same every time. basically it reads in a file and outputs some text based on that file. even if the file changes,...
Hey everyone,
I'm applying for a job .. I submitted a puzzle that works very well, but got an email back saying that they couldn't compile it. i am using mingw / msys to compile and run my...
you rock, thanks
if i replace null with EOF i get "warning: comparison between pointer and integer"
how can i check for blank lines? i tried "\n" instead of NULL but my program crashes
here is my actal code...
I'm trying to read a series of ASCII maps from a file, each map is separated by a blank line, and is preceeded by a value (which is needed)
ie.
15
xxxxxxxaaxxxxxxx
xxxaaaaaaaxxxxx
thanks, fflush(stdout); works great. i do have printf ("\n"); in the loop twice, but fflush seems to do the trick. thanks for the help.
-Sean
i don't have code on me right now, but basically my program goes through a nested loop many times, each time printing out about 10 lines of text. what happens right now is that instead of printing...
Hey all, this should be a one line answer, but i can't find out how to do it. when i run a program, the output usually comes out in bunches, like nothing for 20 secs, then a ton of output, then...