I bet nobody on /g/ can prove/solve this with code.
>>44204577
<code>
#include <stdio.h>
int main(void)
{
char *object = "house";
int objectCount = 3;
printf("Supply all %i %s with water, electricity, and gas without crossing any lines. Hard, but possible!\n", objectCount, object);
return 0;
}
</code>
>>44204666int main(void)
iirc that's not possible unless you "cheat" and go through the houses. Once you know you can do that it's retardedly easy.
>>44204577
I can't be bothered to do so, but surely you can write a program that draws a solution on any surface of positive genus?
>>44204755
>sharing utilities
good luck metering, this ain't an apartment
>>44204577
>>44204577
Pythonrocks{
int houses = 3
print("supply ", houses, " houses with everything"}
Run Pythonrocks
>>44204577
Lel
>>44204717
Yes, why would you want to include the argv and argc if you would not use them? Putting fun(void) is a way to tell C that there is no arguments. fun() would mean that the function can accept a variable number of arguments.
>>44204755
you just gave the solution, without cheating.
There's a very small space(3 pixels maybe) maybe the roof and house base that you can go through
Pic related
>>44204839
>2 shades of red
>2 shares of green
>1 shade of blue
shit nigger what are you doing
>>44204873
3 shades of green. nigger what are you doing?
>>44204577
>>44204873
Actually, there are 3 shades of green.
>>44204577
>Build the houses in Singapore
Singapore has a high occurrence of lightning strikes.
>Set one house on fire. The fire spreads to the other house.
Fire is distributed
>Firefighters arrive to put the fire out with water.
Water is distributed
>Lightning strikes cause nature
Electricity is distributed
Wachu gonna do now faggot
>>44204577to spiral :w :a :x :c :ww
if :c = [stop]
penwidth :ww
color [255-:w*2 0 :w*2]
lt :x
fw :w
rt :x
fw :w
rt :a
spiral :w +0.5 :a :x+0.000000001 :c -1 :ww + 0.03
end
reset
spiral 1 40 10 90 2
>>44204896
well shit im color blind or my monitor sucks
>>44204905
>>44204905
101/10
watq
>>44204909
>Lightning strikes cause nature
Don't you mean: ``Nature causes lighting strikes.''?
>>44204857
>>>/g/ as fuck
>>44204839
i see, it's so someone doesn't exploit your hello world.
>>44204839
You crossed the circle and circles are lines.
thinkpads suck
>>44205008
You forgot to give two of them gas.
>>44204905
>using_vim_for_the_first_time.jpg
What, are you guys retarded or something?
Solved from my iPad
>>44205008
you only did the gas to one house you pleb
>>44205008
Red line needs to connect to 2 houses.
Not so easy
>>44205045
Why does the house on the left get 2 fire and no lightning?
>>44204873
Are you colour blind? There are three shades of green
how did I do?
>>44205045
2fire0electric
>>44205045
You have double electric to the right house and double fire to the middle. Ya dun' goofed.
>>44205118
8/8 for b8 m8
>>44204946
there's 3 shades of green
Get your god damn eyeballs checked
>>44205118
Poorly.
>>44205118
lol oops I just saw that I messed up
>>44205024
this wins 10/10 but if I wanted to be an unimaginative pain in the butt I would say:
>turn on faucet to wash hands
>electrically charged water that is also on fire shoots out and accidentally the whole house
>>44205148
Why exactly are we supplying fire to houses anyway?
>>44204966
I mean like
"OP is a gay cause he's a faggot"
I used the informal version of "because"
>>44205118
>this wins 10/10
aside from the fact the lines cross at every point? its completely wrong
>>44205174
gas
>confirmed for basement dweller
>>44205143
I dont see any difference between those colors.
>>44205035
.>_____eeffggiiiijmmnoprsstttuv
Water (blue) and gas (red) are on a separate area in the third dimension and do not overlap.
>>44204577
Closest I can get.
>>44205230
We could crucify 4 Jesus's with those
>>44205230
Better explained than my idea but yea
>>44204577
I'm pretty sure that's impossible
>>44204577
Only electricity runs through lines,water and gas runs through pipes.
>>44205225
Wow, then you are color blind. There's a huge distinctive difference between all 3.
>>44205279
If you used a gas powered generator you could take care of two off the back. And then like set the houses near a lake and your done.
The houses already have electricity, you fucking morons, the lights are on.
and done!
>>44204905
Underrated post.
>>44205313
Why do that though?
Why not just use electric heating, an induction cooktop and electric oven?
>>44204577
I read about this in a book, It's actually impossible.
Did I win?
>2014
>needing gas
>not being electric/water + propane bbq for emergencies master race
>>44205345
Why not use nuclear power which has to be near water anyways so that all three are taken care of.
i feel like half of these posts are trolls
>>44205045
Routed_with_eagle.jpg
>>44205374
You failed really hard.
>>44205355
>Grilling meat on anything that isn't wood.
>>44205369
Just because /g/ runs on soda and never showers doesn't mean that standard, you still need flowing water in your house. You don't actually need natural gas though.
>>44205374
your lines dont make any sense.
>>44205405
Well water brah
>>44204577
Why the fuck would you supply houses with fire? That's fucking retarded, fire burns houses down. Have a logo of heat waves or something instead.
/g/ can't into graph theory
Faggots
>>44205374
Almost.
Wow so fucking difficult
>>44205472
wrong
>>44205472
3rd house has no electricity
try again
damn retards
>>44205279
Power lines aren't actually lines in the physical sense, they have an inner section area which varies depending on how much current they are designed to carry.
>>44205472
Oh god I'm retarded I take it back please don't bully
>>44205472
>Wow so fucking difficult
>gets it wrong
>>44205472
Dis fuckin nigga
I like dis nigga
>>44205494
Mixing fire and electricity, you trying to create plasma or something kid?
easiest thing ive done all day.
Why can't you just run lines under and above each other at different depths? OP is a fag.
>>44204577
DURRR WOW THIS WAS SOO HARD
lel give me a real challenge fagget
>>44205517
already pointed out >>44204755
we're assuming you cannot pass through houses.
>>44205517
>first house explodes
>other two houses are fucked
no thank you
Did I make a mistake? This wasn't hard at all
>>44205550
lines have to connect to the houses, not the icons.
>>44204577
>autism test
This must be a /g/ exclusive
>>44205550
gas house 2
MAD DONUT SKILLS MOTHERFUCKERS
Do I pass?
>>44205587
Oh yes, that's it.
>>44205323
audibly kekd
>>44205492
Cables used for the purpose of transporting electric power are called power lines, they fact they are physical objects and thus don't comply with the mathematical definition of a line is irrelevant.
The challenge only requires you to not cross lines, you can cross pipes though.
>>44204905
i can sleep easy tonight thanks to you
>>44204577
Closest possible?
>>44205213
why is there a spoon next to the cabin ?
>>44205643
Nah, 1st house has no red line.
>>44205532
Someone should do this in Blender, and show the depth
>>44205610
>>44205225
then you're colorblind
actually, you're just blind, one shade of green is so far different it's even easy to tell apart in black/white
You only actually need water and fire to all three houses. The water can then be used to produce electricity. Problem solved
>>44205665
>Nah, 1st house has no red line.
>Closest possible?
>engineering masterrrace
>solve problems with ease
>>44205345
In most of Ireland they don't have gas lines at all, my nanny and aunt use peat from the bog to heat their houses
>>44204577
False alarm guys, it's a dangling participle.
It says "supply...without crossing any lines"
It could either mean the lines are not allowed to cross or that you are not allowed to cross the lines.
This vague structure lets me interpret it as I see fit.
The lines are allowed to cross each other but you are not allowed to cross the lines.
>>44205713
No, you just have to supply the gas without crossing any lines.
>>44205197
what happens when we light the russian gas pipelines throughout yurop on fire
>>44205442
Time for a lesson on Euler I think
>>44205725
It also says we just need to supply these needs, it doesn't even state that we need to use the magic resource orbs floating there.
I think this is a clever ruse
>>44205695
>engineer
yeah, stick to fixing trains faggot
>>44205610
autism/10
>>44204577
>>44205825
you cant cross the houses you fucking retard
Not possible unless you go through houses.
Literally took this anti-autism test when I was 5. The solution is so obvious.
>>44204905
10/10
>>44205832
Not in the rules at the bottom. Deal with it.
>>44205853
What's the test? If you try for more than a minute or two, you're autism?
>>44205864
Top kek
It says "all three", not "each of the three"
/english major smug out
howd i do
>>44205890
How the fuck do I know?
Always assumed that if you can't figure out that the problem is impossible then you're autistic.
Autistic people can't accept that there isn't a solution to a problem and freak the fuck out
>>44205944
>English major
>smug
lol
>>44205967
resolution/10
I win!
I think I cracked it.
D-do I win ?
>>44204577
IF YOU ATTEMPT THE TEST YOU'RE AUTISTIC.
>>44204905
It's a joke about autism.
Autistic kids always sort things.
This also explains the people that develop sorting algorithms.
>>44205980
you lost the autism test
>>44205977
Average people can't see that there isn't a solution.
>>44205239
this man knows how to make printed circuit boards
>>44205996
>not integrated solutions in synergising the power of The Cloud
>>44206008
So sorting things is autistic?
>>44204577
not even hard at all
how is this an autism test?
>>44205996
You can't packet-switch electricity and water, fgt
>>44206041
Everything is autistic according to /g/, /v/, and every intelligent person's parents.
>>44206057
Does this mean I can get disability payments?
>>44206043
You didn't finish.
>>44206013
Proof that autism doesn't exist
>>44206073
Ask /jp/
>>44206073
Probably.
>>44206110
>Wasting three cables per house
Trunk up nigga
>>44205683
you have no idea what being colorblind even means, do you
is..is this ok?
>>44206085
Autism, or at least aspergers is supposed to be an extreme male brain, a male brain being more systemising than empathising and a female brain vice versa
Whether that is counted as a disorder is up to you, personally I think it's pretty normal, our brains aren't all the same, same with a lot of personality disorders
>>44205695
Yeah, except no one puts electric lines and
water pipes in the same conduit, dipshit.
>>44206139
It's like autism for the eyes, right?
>>44206124
Congrats, you should use fumes from the back of your car to be authentic though
ez
>>44205585
What the fuck are you talking about you mental faggot?
>>44206164
why doesn't the middle house get water?
>>44206110
Costs less to run three wires than to buy managed switches for every house.....nigga.
>>44206164
Solution is too logical.
>>44206183
10/10 post
>>44206188
because they needed to pay rent
>>44205610
7/10. Circles still look like shit
>>44206188
They buy water bottles.
>>44204577
Engineering major, two of out three isn't bad.
That guy on the left is probably amish anyway.
>>44206194
>Not just buying old 3550s from Ebay
>>44206183
Took me a second.
>>44204577
This is a problem from a field of mathematics called graph theory (which is deeply tied to computer science). It is not possible to solve this problem without cheating because connecting the houses to all of the utilities forms a graph called K-3,3, the complete bipartite graph with three vertices. This graph is special because it can be shown that if any graph contains this graph (or another called K-5) that it is impossible to draw it without line crossings.
Everyone stop wasting your time on this troll. It is mathematically impossible.
>>44206228
> Does not know the price of Cat10 water edition per feet.
>>44205988
How'd I do, /g/? Do I win a jawbreaker?
theres nothing wrong with running electricity through /under a house.
>>44204905
My fucking sides.. oh God,... my fucking sides they hurt so bad
>>44206183
It's a good thing all the neighbors have water.
>>44206216
H-how about now?
>>44206302
what about the other 400 houses in the background?
>>44204577
Did I do it?
>>44206234
I'm still not getting it
>Graphics card
>Gas
I'm probably being stupid but ho hum
>>44206338
Genius. Just make a straight line and every house gets water, electricity and gas. Only the last house will miss one! That house may be a storage house.
>>44205996
>Router with 6 NICs
>>44206338
fuck them
>>44205662
its a dragon dildo you fuckwit
>>44205996
That means I can use NAT to convert to the water to gas , now I just need to find the nearest JCC and wait for them to shower.
alright guys
i've got the final solution
>>44206434
There you go.
the complete bipartite graph K_3,3 is not planar. so there is no solution
>>44206357
>symbol is a flame
>Fermi
I don't understand why this is hard, the only thing that needs to complete the circuit is electricity and not even that because you can just ground it.
>>44206434
I felt someone was going to do something like this. Nice.
What do I win?
>>44206491
Who the fuck supplies fire to houses?
>>44206529
Nvidia
>>44206529
The fire department
>>44206529
Most homes are heated by natural gas
>>44206164
>he overlapped
>and he still failed
>>44206434
>>44206183
>>44206124
>>44205996
>>44204905
You've passed; you all have autism.
>>44206529
nba jam
This question only has solution if you change the plain, i this case, somethig like in this image.
Easy
>>44206544
The real winner of this thread.
>>44205386
That triggered me motherfucker put some damn warnings next time.
>>44206529
it's supposed to be gas
>>44206529
murrica
>>44204905
that last line of text is really short compared to the others
I'm posting on /g. Doesn't that already complete the test?
>>44206544
i gave ur mom natural gas
>>44206552
You heard it from the authority on Autism, Stallman himself.
>>44205224
lol'd
>>44206267
Except it opens up a single point of failure should that house cease functioning. The other houses shouldn't have to depend on another house.
>>44206552
Thanks rms
>>44206529
>his house doesn't have a direct line of high quality flames piped into it
What third world shithole do you live in?
>>44204839
Old shitty nigger versions of C that needed that.
>>44206626
I don't get it.
>>44206769
install gentoo
How can I become even more autistic?
Is there a way to train my autism?
Someone mail stallman, I think he'll find the solution.
>>44206571
Missing electricity for houses 1, 2, and 3
OP is a fat fuck living in his moms basement
He's a freeloader and doesn't pay rent
OP is a faggot and loves the cock
OP is a faggot and loves the cock
He lurks /b/ only 2, maybe 3 hours a day
He loves the cock but insists he's not gay
OP is a faggot and loves the cock
OP is a faggot and loves the cock
OP would liek to be raped by a horde of guys
Yet he insists that he is only bi…
OP is a faggot and loves the cock
OP is a faggot and loves the cock
>>44206760
The nigger version of C we use at work requires main to return an int and have an argc and argv.
>>44206787
I used water to conduct the electricity
>>44206825
Still better than the win32 main functionint WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow);
>>44204839
>why would you want to include the argv and argc if you would not use them
Because most people are used to seeing those things there and the values are going to be stored in memory regardless of you using them so you may as well have a pointer to them for quick in-code debugging purposes. Also it's a more widely supported entry pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp
>>44206860
Anon?
>>44204577
>>44206249
Except that the houses are not dots, they have an area. And nowhere in the rules it is stated that houses cannot be crossed.
Logic theorems are only good as far as the premisses go, the moment we start assuming things not explicitly stated things go downhill. Like using integers for pointers (type size) or shifts to multiply/divide by two in binary (endianess).
>>44206816
I love this pasta
what are the results, doc?
>>44206860
I think Anon is dead. Does anyone know where he lives so we can send him an ambulance?
did I win?
https://www.youtube.com/watch?v=hjAP8Fy5WhE
>>44204577
>>44206903
>the moment we start assuming things not explicitly stated things go downhill.
>And nowhere in the rules it is stated that houses cannot be crossed.
So, you first say not to make assumptions, and then you say that it is okay to make assumptions about the rules. Great post.
https://www.youtube.com/watch?v=zDZFcDGpL4U&index=8&list=PL39BF9545D740ECFF
>>44206903
Also, the dots having area or not is irrelevant. Feel free to solve this problem. I will be impressed if you can.
>>44207051
wait you really dont know how? okay, ill do it, hold on
you guys are acting like its impossible for some reason. gimme a sec
>>44207051
I meant, the cheat is not a cheat.
>>44206903
On what type of machine does the bit shift to multiply by 2 trick not work?
Does C handle this?
>>44205852
you retards
>>44207212
third house is on fire
>>44207192
>those forearm biceps
It's unpossable
>>44207132
Don't listen to this guy. He is nuts.
>>44207289
Maybe, but it's actually an interesting question. How does that even work on little endian?
>>44204577
Did I do it right?
>>44207267
I wonder how you could prove this mathematically
>>44207324
See >>44206249 and related reading.
Hint: It's known, but it's not simple to understand the actual mathematical proof.
>>44207267
if this was a 2 layer circuit board you would get a gold star for only using 1 via.
>>44207324
See this:
>>44206903
>>44205538
ooo let's make new rules that aren't explicitly stated.
Fuck no.
Bien vos grottes ?
>>44206049
>packet-switch
>router
no ccna for u mister
>>44206183
Holy shit anon. My sides.
>>44205494
Fret not, fellow gamer. This is a safe space.
>>44206183
That should work.
>>44205472
I am....
AUTISMO!
WITH THE POWER OF FLAMETRICITY!
>>44207587
This is a safe space.*
>* for those who share my opinions
>>44205695
le 'ol black-tube abstraction.
>>44204577
bitch shut the fuck up
>implying this isn't how all modern city hookups are already implemented
>electric companies
So judging by the responses I guess "with code" means "draw lines on the picture."
Haskell programming master race.
Do you even into lazy, newfigs?
>>44207773
>implying /g/ knows how to code
>>44204577
EASY
>>44207773
code
k?d/Submit
noun
1.
a system of words, letters, figures, or other symbols substituted for other words, letters, etc.,
The lines are code.
You should have specified programming language as the type of code.
>>44205239
then the left doesnt get gas you fucking retard kill yourself nobody like you
>>44207797
>implying I am OP
>implying you didn't know what he meant
>>44204577
I've spent so much time designing PCBs that I don't even have to think about it.
>>44207890
>implying he shouldn't have just specified.
<img src="http://i.4cdn.org/g/1410923573017.jpg">
Tada, solved with code.
fuck off
>plebs can't into graph theory
>plebs haven't tried embedding it on a torus
>plebs
/sci/ laughs at /g/
>>44207735
>using bright yellow on white for the house you shortchange
>force me to look closely at your picture before realizing you are full of shit.
Asshole.
>>44205695
what kind of engineer are you to mix water and electrical currents in the same place
go back to community college m8
>>44205550
No gas on house 2 retard
>>44204905
Are you the 2014 version of red lines guy?
>>44204577
what do I win
test post
Every pixel counts
>>44208314
It's weston!
>>44204577
Assume each "line" is actually three lines very close together.
They cross over the houses, and drop off a termination at each house.
>>44205596
Your torus a shit.
Everyone else is doing this shit wrong.
You need a donut, I did it in a test, you need to solve it with a donut
>>44204577
what do I win?
>>44206903
congratulations, you pass
>>44204577
ezpz
>>44207132
Negative signed numbers.
the real autism test
>>44208582
Are you doing this in two's complement notation or not?
'cause it should work, even if it rounds down.
>>44204905
i snorted like a retard and my gf just is kind of staring at me now thanks
>>44205596
>graph on the surface of T^2
I don't even algebraic topology, m8
in my mind they are niggers
cant afford anything
why else would the houses be so close together?
>>44204577
i don't have an electrician's license so there's no way i could do that OP
>>44208693
Detroit edition, Electric and gas but no water
>>44207817
Can you not read? Retard.
>>44207323
Finally someone that does it in 3 dimensions
>>44205010
>a line is defined by 2 points and stretches indefinitely
>a circle is defined by indefinitely many points equidistant from a central point
circles != lines
>>44204577
>>44208777
You pass, you have autism.
>>44204905
>autism.jpg
>hhhhH
>Sssssssss
it's merely aspergers
>>44208777
>2014
>Being a quitter
even the wolfram language can't do it
Can't be done with a programming language:
http://mathforum.org/dr.math/faq/faq.3utilities.html
>>44206183
It says gas, not burn the whole house down.
Done the real /g/ way
>>44208863
Why does GIMP have a pepper brush anyways?
>>44208913
http://imgur.com/r/linux/eeq6han
>>44204577
Not possible without fucking up the house. I guess in a sense it's possible.
>>44205695
>>44207665
>>44208922
>Skype: No way! That's nonfree (freedom-denying) software.
>Use Ekiga or an ordinary phone call.
Doesn't a normal phone contain freedom-denying software?
>>44208954
stallman doesn't care about privacy and freedom-ness on non-computer systems or things that are out of his control, like landline phone networks.
>>44206110
0/10
You could just use a hub
God damn /g/ I'm at the airport, my sides were confiscated.