Forum Settings
       
This thread is locked

Bored Druid ThreadFollow

#3827 Dec 21 2010 at 8:56 AM Rating: Good
4e657264732e
#3828 Dec 21 2010 at 1:22 PM Rating: Good
****
7,732 posts
536179732074686520677579207573696e67206865782c20746865206e6572646965722076657273696f6e206f662062696e617279
____________________________
Hellbanned

idiggory wrote:
Drinking at home. But I could probably stand to get laid.
#3829 Dec 22 2010 at 12:22 PM Rating: Excellent
***
1,764 posts
Translation for the people too lazy to google a binary/hexidecimal => plain-text translator:

Horsemouth wrote:
010001110110010101110100001000000110010001100001011001000110010001

11100100100000011000010010000001100010011001010110010101110010001011100000110100001010

Get daddy a beer.

Kalivha wrote:
01000001 01101100 01101100 00100000 01110100 01101000 01100101 00100000 01100010 01100101 01100101 01110010 00100000 01001001 00100000 01101000 01100001 01110110 01100101 00100000 01101001 01110011 00100000 01100111 01101001 01100110 01110100 00101101 01110111 01110010 01100001 01110000 01110000 01100101 01100100 00100000 01100001 01101100 01110010 01100101 01100001 01100100 01111001 00101110 00100000 01010011 01101111 01110010 01110010 01111001 00100000 01101101 01100001 01110100 01100101 00101110 00001101 00001010

All the beer I have is gift-wrapped already. Sorry mate.

Overlord Norellicus wrote:
4e657264732e

Nerds.

Horsemouth wrote:
536179732074686520677579207573696e67206865782c20746865206e6572646965722076657273696f6e206f662062696e617279

Says the guy using hex, the nerdier version of binary

Translator found here.

#3830 Dec 22 2010 at 1:04 PM Rating: Excellent
Meat Popsicle
*****
13,666 posts
AstarintheDruid wrote:
Translation for the people too lazy to google a binary/hexidecimal => plain-text translator:


Thank you, I was feeling lazy. Also, you all are weird. Smiley: tongue

On a more personal note I really need to re-activate my wife's account as soon as I get paid. She's been playing on my account and cutting into my time. Not cool.
____________________________
That monster in the mirror, he just might be you. -Grover
#3831 Dec 22 2010 at 2:22 PM Rating: Excellent
*****
10,601 posts
I just assumed all the 'code' was "blah blah blah blah blah, I suck". Lbh ner nyy penml. Nyfb lbhe pbqrf ner jrnx.

Edited, Dec 22nd 2010 2:24pm by Xsarus
____________________________
01001001 00100000 01001100 01001001 01001011 01000101 00100000 01000011 01000001 01001011 01000101
You'll always be stupid, you'll just be stupid with more information in your brain
Forum FAQ
#3832 Dec 22 2010 at 5:28 PM Rating: Excellent
***
1,764 posts
/sigh

Not a fan of cryptograms. Someone else can try and translate that.
#3833 Dec 22 2010 at 5:46 PM Rating: Good
****
7,732 posts
Sir Xsarus wrote:
Lbh ner nyy penml. Nyfb lbhe pbqrf ner jrnx.


LBHE NGGRZCG GB PBASHFR HF JNF JRNXRE
____________________________
Hellbanned

idiggory wrote:
Drinking at home. But I could probably stand to get laid.
#3834 Dec 23 2010 at 3:15 AM Rating: Good
******
27,272 posts
someproteinguy wrote:
Also, you all are weird.

someproteinguy wrote:
Also, you all are weird.

someproteinguy wrote:
Also, you all are weird.

someproteinguy wrote:
Also, you all are weird.

someproteinguy wrote:
Also, you all are weird.

someproteinguy wrote:
Also, you all are weird.

#3835 Dec 23 2010 at 4:03 AM Rating: Good
****
7,732 posts
His Excellency Aethien wrote:
someproteinguy wrote:
Also, you all are weird.
/facepalm
His Excellency Aethien wrote:
someproteinguy wrote:
Also, you all are weird.
/facepalm
His Excellency Aethien wrote:
someproteinguy wrote:
Also, you all are weird.
/facepalm
His Excellency Aethien wrote:
someproteinguy wrote:
Also, you all are weird.
/facepalm
His Excellency Aethien wrote:
someproteinguy wrote:
Also, you all are weird.
/facepalm
His Excellency Aethien wrote:
someproteinguy wrote:
Also, you all are weird.
/facepalm
____________________________
Hellbanned

idiggory wrote:
Drinking at home. But I could probably stand to get laid.
#3836 Dec 23 2010 at 4:16 PM Rating: Good
***
3,272 posts
85 on my dk.

Switched to unholy for pvp.

Unholy gcd is rigoddamndiculous.

First two pieces of Bloodthirsty already.

Good times.
#3837 Dec 23 2010 at 5:06 PM Rating: Good
So I have a text file that I need to convert into 10100 integers, can't be bothered to write the code to do that in C++ right now and can't be bothered to write the stuff I already wrote in C++ to process it in Python slash Ruby slash some other language that makes for easy text file parsing. Wat do?


I'm thinking sleep over it and write it in the morning.
#3838 Dec 23 2010 at 8:19 PM Rating: Good
****
7,732 posts
Kalivha wrote:
So I have a text file that I need to convert into 10100 integers, can't be bothered to write the code to do that in C++ right now and can't be bothered to write the stuff I already wrote in C++ to process it in Python slash Ruby slash some other language that makes for easy text file parsing. Wat do?


I'm thinking sleep over it and write it in the morning.


Why do you have to convert 20 integers?

For text parsing if you know Perl, I'd use that as its really good at that sort of thing.
____________________________
Hellbanned

idiggory wrote:
Drinking at home. But I could probably stand to get laid.
#3839 Dec 24 2010 at 3:37 AM Rating: Good
That 10100 is in denary, so it's a lot of intergers. It's a math riddle. I have a working solution written out in C++, I just need to get the data in there. I'll learn Perl eventually, others have recommended it already, but I already have the stuff I need to do to the data in C++.
#3840 Dec 24 2010 at 4:58 AM Rating: Good
****
7,732 posts
What is the riddle?
____________________________
Hellbanned

idiggory wrote:
Drinking at home. But I could probably stand to get laid.
#3841 Dec 24 2010 at 5:39 AM Rating: Good
******
27,272 posts
Hey Kali, I've got a nice math riddle for you.
Help me figure out hunter stats.

Blizzard has managed to mess it up so badly that instead of simplifying gearing up it's impossible to even see if anything is an up or downgrade without the spreadsheet and nobody has figured out how to gear yet.
Well, as far as secondary stats go anyway, specifically haste and crit.
#3842 Dec 24 2010 at 8:43 AM Rating: Good
This is the riddle. I've actually found a function to parse the text file's content into a vector of strings, but I'm having trouble converting those into series of integers. It gives me "vector subscript out of range" errors, so I suspect the problem is some number that is wrong in the code that I can't find right now.

I've already used the algorithm on Problem 18, so it should work once I've got all the integers where they belong.

Edit: Actually never mind, I used ifstream incorrectly, so it only parsed every other line into the vector.

Edited, Dec 24th 2010 2:47pm by Kalivha
#3843 Dec 24 2010 at 10:22 AM Rating: Good
For the record, this is the complete .cpp:

#include <iostream> 
#include <vector> 
#include <fstream> 
#include <string> 
 
using namespace std; 
 
vector< vector<int> > r(100, vector<int>(100)); 
vector<string> l(101); 
 
inline int addition(int m, int n, int o) 
{ 
	int f = m; 
	if (n > o) 
	{ 
		f += n; 
	} 
	else 
	{ 
		f += o; 
	} 
	return f; 
} 
 
int main() 
{ 
	ifstream ifs ("C:\\Users\\Kalivha\\My Documents\\triangle.txt"); 
	for (int c = 0; c <=99; c++) 
		getline(ifs, l[c]); 
	for (int c = 0; c <=99; c++) 
		for (int d = 0; d <= c; d++) 
			r[c][d] = (l[c][3*d] - '0')*10 + (l[c][3*d+1] - '0'); 
	for (int i = 98; i >= 0; i--) 
	{ 
		for (int j = 0; j <= i; j++) 
		{ 
			r[i][j] = addition(r[i][j], r[i+1][j], r[i+1][j+1]); 
		} 
	} 
	cout << r[0][0]; 
	return 0; 
}
#3844 Dec 24 2010 at 2:46 PM Rating: Good
****
7,732 posts
When I first looked at it I thought you had to make little triangles that added to 23.

Then I realized it was a longest path problem. Then I had flashbacks to coding Dijkstra's algorithm in skool for a class.
____________________________
Hellbanned

idiggory wrote:
Drinking at home. But I could probably stand to get laid.
#3845 Dec 24 2010 at 6:30 PM Rating: Good
Horsemouth wrote:
When I first looked at it I thought you had to make little triangles that added to 23.

Then I realized it was a longest path problem. Then I had flashbacks to coding Dijkstra's algorithm in skool for a class.


How did you get to 23?

Oh, you mean the example in the question? Yeah, it's a longest path problem. I sort of automatically went with the efficient algorithm for number 18, that's why I didn't want to switch to Perl or Ruby or Python for this one. I'll switch eventually, I think, but I first want to grow a bit more proficient in C++ and the language we'll use at uni (whichever that will be), if I can teach myself that.
#3846 Dec 24 2010 at 7:32 PM Rating: Good
****
7,732 posts
Kalivha wrote:
Horsemouth wrote:
When I first looked at it I thought you had to make little triangles that added to 23.

Then I realized it was a longest path problem. Then I had flashbacks to coding Dijkstra's algorithm in skool for a class.


How did you get to 23?

Oh, you mean the example in the question? Yeah, it's a longest path problem. I sort of automatically went with the efficient algorithm for number 18, that's why I didn't want to switch to Perl or Ruby or Python for this one. I'll switch eventually, I think, but I first want to grow a bit more proficient in C++ and the language we'll use at uni (whichever that will be), if I can teach myself that.


I got to 23 because I'm sick and my brain isn't working to good. So I thought you had to find path that added to 23.

Which doesn't really make much sense at all.
____________________________
Hellbanned

idiggory wrote:
Drinking at home. But I could probably stand to get laid.
#3847 Dec 25 2010 at 8:26 AM Rating: Good
So rate my code from a scale of 1 to 10.
#3848 Dec 25 2010 at 4:26 PM Rating: Good
****
7,732 posts
Kalivha wrote:
So rate my code from a scale of 1 to 10.


I'm not a teacher.
____________________________
Hellbanned

idiggory wrote:
Drinking at home. But I could probably stand to get laid.
#3849 Dec 26 2010 at 5:48 AM Rating: Good
******
27,272 posts
Kalivha wrote:
So rate my code from a scale of 1 to 10.
It looks like alphabet soup to me. Smiley: grin
#3850 Dec 26 2010 at 9:34 AM Rating: Excellent
***
1,764 posts
His Excellency Aethien wrote:
Kalivha wrote:
So rate my code from a scale of 1 to 10.
It looks like alphabet soup to me. Smiley: grin

"There's a message in my alphabet soup... it says 'oooooo'!"

"Those are Cheerios."
#3851 Dec 26 2010 at 10:43 AM Rating: Good
His Excellency Aethien wrote:
Kalivha wrote:
So rate my code from a scale of 1 to 10.
It looks like alphabet soup to me. Smiley: grin


It has lots of words you should be familiar with, like "using", "if", and "addition".

I left out the completely insane annotations that are actually in English.
This thread is locked
You cannot post in a locked topic!
Recent Visitors: 121 All times are in CST
Anonymous Guests (121)