« first day (806 days earlier)      last day (4146 days later) » 

11:00 PM
@Ell That's gonna be a dupe of Lippert's generalized Cartesian Product answer
 
user142019
@sehe mijn natuurkundeleraar noemde mensen altijd zo als ze hun huiswerk niet afhadden en toen werden ze de les uitgestuurd. xD
 
@Zoidberg'-- s/en toen/en _dan_/?
 
user142019
But oliebollen are tasty and students who don't do their homework aren't.
 
user142019
That's the big difference.
 
@Zoidberg'-- Elke keer als ik in de kantine wat lunch haal (op mijn werk) begroet de cassiere mij met "krentenbol", or "mueslibol". I invariably take that personally
@Zoidberg'-- Some are. Although, oliebollen taste good even if they're really fat
 
user142019
11:03 PM
I need to shave my beard.
 
user142019
XMONAD Y U NO SWITCH WORKSPACES YOU PIECE OF SHIT
 
user142019
brb
 
@Zoidberg'-- If you don't shave for a month now it will be Manuary
 
user142019
Back; had to reboot. :<
 
Manuary lol
 
user142019
11:05 PM
No-fap 2013.
 
@Zoidberg'-- happy much? (does not sound like a happy year)
 
user142019
No-fap 2010's.
 
@Zoidberg'-- What is it with you and no-fap?
 
pre-fap 2013
 
user142019
@DeadMG IT'S FUNNY
 
user142019
11:08 PM
Impossible challenges are always funny!
 
@Tuntuni There are only 4 fractions that do that btw.
 
@Rapptz ya :S
@Rapptz my program only outputs 3
 
They're called Anomalous Cancellation Fractions.
 
ah
could you tell me if this is right
so the conditions i have
before actually canceling the digits
 
user142019
11:11 PM
@JohanLarsson I cannot fap to that either.
 
i check if the num and den are NOT factors of 10, if the fraction is less than 1, if they even have a common digit
 
I actually never coded that one :P
 
i also check to see if they're not palindromes of each other but idk if that's good
ah ;D
 
@Zoidberg'-- use it as background image on phone and computer then?
 
I just know them because there are only 4. 4/1, 8/4, 5/1, 5/2.
 
11:13 PM
wut?
 
user142019
@JohanLarsson I'm using a tiling window manager that leaves no empty space.
 
4/1, 8/4 and 5/1 aren't less than 1
o.O :C
i've been tricked
neither is 5/2
 
You're doing that question where they cancel out right?
64/16 = 4/1
 
ya
 
yeah there are only four of those
 
11:14 PM
yeah but
1 sec let me quote
 
I went to check right now, I'm pretty sure that's still right
 
"There are exactly four non-trivial examples of this type of fraction, less than one in value, and containing two digits in the numerator and denominator."
"less than one in value"
 
that question is worded poorly
 
also the answer is 100 (the product of their denominators)
 
4/1 * 8/4 * 5/1 * 5/2 = 200/2 = 100
 
11:16 PM
ah their product, not the product of their denominators lol
 
How can I convince my friend he isn't a bad coder?
 
@Rapptz erm. lol, give him an easy task ;)
but pretend it is hard for you
or something
 
lol I gave him an easy problem but he still thinks he's pretty bad
 
lol, why does he think so?
 
Tell him to stop caring and play a game instead
 
11:19 PM
@CatPlusPlus or that
rapptz, the denominator has to be 100
 
His brother plays on his Steam account
 
not the numerator
16/64 = 1/4
19/95 = 1/5
26/65 = 2/5
this is what i have
 
Don't share Steam accounts :cripes:
 
4th one isn't coming out
but it's the one in the problem itself
4/8
8/800 = 1/100 :D
 
13/325, 16/64, 19/95, 26/65, 124/217, 127/762, 138/184, 139/973, 145/435, 148/185, 154/253, 161/644, 163/326, 166/664, 176/275, 182/819, 187/286, 187/385, 187/748, 199/995, 218/981, 266/665, 273/728, 275/374, 286/385, 316/632, 327/872, 364/637, 412/721, 436/763
 
11:21 PM
snap
do you cancel multiple digits here?
 
no I'm just showing you how little of them are two digit ab/bc = a/c
 
oh
 
but really just taking the inverse wouldn't make the answer incorrect.
100^-1 = 1/100, 1/100^-1 = 100
 
indeed
 
user142019
Time to shit brbb..
 
11:25 PM
@Zoidberg'-- lol, thanks for letting us know? :D
 
hey guys
how can I check if a vector exists inside another vector?
 
long time no seen
@AgainstASicilian how? inb4 storing "the STL"
@AgainstASicilian IOW, show more code. What elements does the vector contain? Do you mean nested containers? Or subsequences? What is equality (ordered/unordered) etc?
 
@sehe vector p looks like <i,j>, i have a vector T full of <<a,b>,<c,d>,<e,f>...>
I want to see if P exists in T
P is a vector<long long> T is a vector< vector<long long> >
 
@AgainstASicilian a vector of tuples then
std::find()
 
I tried that
 
11:35 PM
@AgainstASicilian it works
 
there we go
@Rapptz You try 408?
 
yes
 
Does anyone know of a good monitor arm that can hold a 27" monitor?
 
just for an hour or so
 
11:39 PM
@JohanLarsson ironically, it starts with an ad for health insurance
 
@sehe or clever?
 
any progress?
i've got a working code but it is slow
 
No.
 
I have some sort of adblock in Chrome, never see ads. Always see them using IE, not using IE much
 
Problem isn't really that hard it just doesn't interest me
 
11:42 PM
it's pretty hard
 
I guess in comparison to some yeah
 
@JohanLarsson irony is often clever. If not intentional, the detection of it is
 
hmm
Clang's API, so mightily confusing
 
@DeadMG Just think of the code you witnessed at Oracle. Order restored in the univers
 
@sehe Just plain find()
if (find(T.begin(), T.end(), p)!=T.end()){
 
11:47 PM
@AgainstASicilian Maybe I haven't stressed the question enough:
> so, what was the result
@ThePhD 0x20 is a space
 
there we go :D
found an error
 
I don't understand what you mean, what was the result?
 
lol grats
 
result of what
 
@Rapptz xD a lot of code but eh :)
 
11:49 PM
14 mins ago, by AgainstASicilian
I tried that
 
if i'd used some math properties or something it would probably be simpler
 
could definitely shorten it
 
oh, I had typed it incorrectly before
 
^ You implied it didn't work. What happened. What was the result?
 
@Rapptz yup :)
 
11:49 PM
it wasn't compiling
figured it was some datatype mismatch
 
@AgainstASicilian PEBCAK. See links ^^
 
yep it was
it works now tho
 
@AgainstASicilian That's what I wanted to know. I can stop helping the non-needy then
 
@Rapptz did 9 PE problems today :D
 
And on that not, I call it a day. Perhaps a year. Depends on how bored I can get tomorrow before 14:00 (probably not very)
 
11:52 PM
Nice.
 
@Tuntuni I'd personally focus on PE solutions. But, hey, contributing new problems is also quite an achievement (depending on their quality, I guess)
 
i'm trying to solve PE408
 
lol
How's that going for you?
 
but it is such a royal pain
 
@sehe You misunderstood. I solved 9 of them :D
 
11:53 PM
my code's running, no idea when it'll finish
 
@AgainstASicilian haha
 
You miscommunicated :)
FTR I understood. I just choose to interpret
 
@sehe FTR? :D
 
Can you validate the answers provided?
 
11:54 PM
@Tuntuni GIYF
 
^ or that
 
@Rapptz Yes
 
@sehe wut* :o
@CatPlusPlus tyvm
 
But validating it at 1000 is nothing compared to 10^7
 
11:54 PM
I actually have no idea how to code it lol
 
it's not a very helpful test case
 
You could start just typing it out you lazy bastards
 
@sehe ah i see now :)
 
That font AA shit is driving me crazy
 
@Tuntuni lmgtfy: bit.ly/sQ9X85
 
11:56 PM
408 is basically problem 15 on steroids
 
@CatPlusPlus ^ there - me being helpful
 
with an occasional kick to the balls
 
@AgainstASicilian lol
 
@sehe What?
 
@sehe ah, haha. nice one. ;)
 
11:57 PM
That's.. a very far fetched resemblance but okay.
 
How does it relate to that message
Find me a solution for font rendering going haywire
 
Somniac hobbies and sack hitting: coming up
Night
 
@sehe night
 

« first day (806 days earlier)      last day (4146 days later) »