Members in Shoutbox
None.

Shoutbox Search
Search for:


Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper
/me > Marks as action

Shoutbox Information
Moderators may delete any and all shouts at will.
Global Shoutbox
Please log in to shout.
Pages: < 1 « 3138 3139 3140 3141 31423540 >

[2014-12-22. : 5:47 am]
Jack -- oh lool nvm the msdn on it reveals it is a geometric vector not a data structure vector ecksdee
[2014-12-22. : 5:46 am]
Roy -- Where does C# mention vectors?
[2014-12-22. : 5:45 am]
Sacrieur -- Well, ArrayList
[2014-12-22. : 5:45 am]
Jack -- it's a dynamic array!
[2014-12-22. : 5:45 am]
O)FaRTy1billion[MM] -- *googles* "Oh, it's an array."
[2014-12-22. : 5:44 am]
O)FaRTy1billion[MM] -- And I was like "What the fuck is a vector?"
[2014-12-22. : 5:44 am]
Sacrieur -- Roy
Roy shouted: I've never heard of vectors outside of C/C++. I've always heard ArrayList, but I come from an OOP background and not a procedural one. It's like methods vs functions.
more like a superior background amirite
[2014-12-22. : 5:44 am]
O)FaRTy1billion[MM] -- I first heard of vectors in C# xD
[2014-12-22. : 5:44 am]
Jack -- and C# and so on
[2014-12-22. : 5:44 am]
O)FaRTy1billion[MM] -- I've never heard of vectors in C
[2014-12-22. : 5:44 am]
Jack -- But Java has vectors too o.o
[2014-12-22. : 5:44 am]
jjf28 -- FaRTy1billion
FaRTy1billion shouted: it seems silly to me to have vectors which are basically just an array with a fancy name and some methods thrown in
it's tremendously useful to have automatic size handling and bounds checks
[2014-12-22. : 5:43 am]
Roy -- I've never heard of vectors outside of C/C++. I've always heard ArrayList, but I come from an OOP background and not a procedural one. It's like methods vs functions.
[2014-12-22. : 5:43 am]
O)FaRTy1billion[MM] -- the distinction is silly to me ;o
[2014-12-22. : 5:42 am]
Jack -- So it's better to say an arraylist is a java implementation of a vector, and a vector in C++ is a C++ implementation of a vector
[2014-12-22. : 5:42 am]
O)FaRTy1billion[MM] -- it seems silly to me to have vectors which are basically just an array with a fancy name and some methods thrown in
[2014-12-22. : 5:42 am]
Jack -- While we're arguing semantics, when talking about data structures theoretically and not language-specific, the main ones discussed are arrays, lists, and vectors. ArrayLists aren't discussed at all that I've ever seen
[2014-12-22. : 5:41 am]
Roy -- A vector is just the C++ implementation of an arraylist.
[2014-12-22. : 5:41 am]
Roy -- It's from Airplane!
[2014-12-22. : 5:40 am]
Jack -- that sounds like a mitchell and webb skit
[2014-12-22. : 5:40 am]
Roy -- FaRTy1billion
FaRTy1billion shouted: vector vector
"We have clearance, Clarence." "Roger, Roger. What's our vector, Victor?"
[2014-12-22. : 5:39 am]
Jack -- The actual data structure is a vector, in terms of data structures in general.
[2014-12-22. : 5:39 am]
Jack -- yep but that just means an arraylist is a java implementation of a vector which is done a little differently
[2014-12-22. : 5:38 am]
O)FaRTy1billion[MM] -- vector vector
[2014-12-22. : 5:37 am]
jjf28 -- Jack
Jack shouted: it's arrays, lists, and vectors
my text references http://www.cplusplus.com/reference/vector/vector/ and http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html
[2014-12-22. : 5:37 am]
Roy -- That's an implementation detail, but typically an array list resize doubles its current size.
[2014-12-22. : 5:37 am]
MasterJohnny -- Elapsed time is 102.429612 seconds.
[2014-12-22. : 5:37 am]
MasterJohnny -- Congratulations, the answer you gave to problem 45 is correct. You are the 40376th person to have solved this problem.
[2014-12-22. : 5:37 am]
jjf28 -- dunno where you guys are getting this "doubled" stat
[2014-12-22. : 5:37 am]
Jack -- it's arrays, lists, and vectors
[2014-12-22. : 5:37 am]
Jack -- ah my bad, an array list doesn't exist
[2014-12-22. : 5:36 am]
Roy -- You can also have lists of arrays or arrays of lists or lists of lists.
[2014-12-22. : 5:36 am]
Roy -- An array of arrays is an array of arrays.
[2014-12-22. : 5:35 am]
Roy -- Nope, an array list is an array that gets doubled in size and copied over whenever it reaches the max content.
[2014-12-22. : 5:35 am]
Jack -- IIRC an array list is an array of arrays, a vector is an array that gets doubled in size and copied over whenever it reaches the max content
[2014-12-22. : 5:34 am]
Roy -- So what's the difference?
[2014-12-22. : 5:34 am]
Jack -- and pretty much any language :D
[2014-12-22. : 5:34 am]
Jack -- Mini Moose 2707
Mini Moose 2707 shouted: It's a Java thing, don't worry about it
they don't just exist in java, you can pretty much make them in C too
[2014-12-22. : 5:34 am]
Jack -- jjf28
jjf28 shouted: in c++ it's an array list
an array list isn't the same as a vector
[2014-12-22. : 5:28 am]
lil-Inferno -- no u r
[2014-12-22. : 5:19 am]
Dem0n -- ur bad
[2014-12-22. : 5:03 am]
Moose -- Dem0n
Dem0n shouted: math fucking blows. fuck all this shit.
mad cuz bad
[2014-12-22. : 5:03 am]
Moose -- I should mention my solution doesn't work by calculating all of the numbers of each type and checking the lists of them against each other. That's probably a lot slower than what I did.
[2014-12-22. : 5:02 am]
Dem0n -- math fucking blows. fuck all this shit.
[2014-12-22. : 5:01 am]
Moose -- If you write out a bunch of the triangular/pentagonal/hexagonal numbers, you may notice one or more useful pattern(s), by the way.
[2014-12-22. : 5:01 am]
MasterJohnny -- too much cs
[2014-12-22. : 5:01 am]
Moose -- They're like functions but members of a class. Again, don't worry about it!
[2014-12-22. : 5:00 am]
Dem0n -- lel
[2014-12-22. : 5:00 am]
MasterJohnny -- wtf are methods
[2014-12-22. : 5:00 am]
Dem0n -- might be familiar with lists maybe in C# and shit?
[2014-12-22. : 5:00 am]
Dem0n -- array lists are dynamic and have methods, whereas arrays don't or some shit
[2014-12-22. : 5:00 am]
Moose -- It's a Java thing, don't worry about it
[2014-12-22. : 5:00 am]
MasterJohnny -- wtf is an array list vs an array
[2014-12-22. : 4:59 am]
Moose -- Keep in mind this is my scrub code from a year ago
[2014-12-22. : 4:59 am]
Moose -- My old ass code for 45 finds it in under half a second
[2014-12-22. : 4:59 am]
jjf28 -- in c++ it's an array list
[2014-12-22. : 4:59 am]
Moose -- It's like, dynamic or some shit
[2014-12-22. : 4:59 am]
MasterJohnny -- its like an array but better
[2014-12-22. : 4:59 am]
Dem0n -- wtf is a vector :awesome:
[2014-12-22. : 4:55 am]
MasterJohnny -- but for problem 45...if the answer is big...
[2014-12-22. : 4:53 am]
Moose -- MasterJohnny
MasterJohnny shouted: is t here an easy way to compare if two vectors have the same element...
iterate through each element and compare is the best I can think of offhand. If the one searched is sorted, you can stop once an element exceeds what you're looking for, too. Other than that, maybe one of those CS types around here knows.
[2014-12-22. : 4:52 am]
MasterJohnny -- is t here an easy way to compare if two vectors have the same element...
[2014-12-22. : 4:51 am]
O)FaRTy1billion[MM] -- I have a folder full of problem#.c :awesome:
[2014-12-22. : 4:47 am]
Moose -- My solution for #187 has been going for 4 hours. Should I run it overnight for shits and giggles?
[2014-12-22. : 4:46 am]
Moose -- I do have old code and notes for #45, though! These days I've learned my lesson on the impermanence of posts there and take notes on all problems I solve.
[2014-12-22. : 4:44 am]
Moose -- I don't even have my solution program for #44 anymore and my solution post is long gone because I did that one in 2013. Possibly I could have done it on pen and paper o_O
[2014-12-22. : 4:41 am]
MasterJohnny -- i still havnt been able to do any problems recently
[2014-12-22. : 4:41 am]
Moose -- #45 has been solved by roughly a third more people, so that might be a hint
[2014-12-22. : 4:40 am]
Jack -- #45 looks easier. I think I have a bug in my code somewhere though T_T
[2014-12-22. : 4:39 am]
Moose -- I actually did #45 first

Pages: < 1 « 3138 3139 3140 3141 31423540 >


Members Online: 8giannae6985gc0