Stack Exchange
log in
users (40)
rooms (30)
faq
David Arenburg
general
recent
conversations
Discussion between flodel and David A
…
Imported from a comment discussion on
codegolf.stackexchange.c...
David Arenburg
Sep 7, 2015 21:59
btw, you and me are competing for the top 20
r
users all time on SO :)
David Arenburg
Sep 7, 2015 21:58
time for me to go asleep
David Arenburg
Sep 7, 2015 21:58
anyway, thanks for the guidance
David Arenburg
Sep 7, 2015 21:57
got lots of credit which I dont deserve probably
David Arenburg
Sep 7, 2015 21:57
actually i had a nice start here
David Arenburg
Sep 7, 2015 21:57
its not really a pain :)
David Arenburg
Sep 7, 2015 21:50
this is a nice site but everyone code here using this strange Pyth language which practically unbeatable in byte count
David Arenburg
Sep 7, 2015 21:47
added
scan
btw
David Arenburg
Sep 7, 2015 21:47
i spend way too much time on SO
David Arenburg
Sep 7, 2015 21:47
yes, that makes sense
David Arenburg
Sep 7, 2015 21:42
so btw, it seems like you left SO in favor of this site, why is that if I may ask?
David Arenburg
Sep 7, 2015 21:39
but Im editing the other answer with scan
David Arenburg
Sep 7, 2015 21:39
not sure if implicaple in that case
David Arenburg
Sep 7, 2015 21:38
or just to use scan like you did
David Arenburg
Sep 7, 2015 21:36
yeah, you added a nice alternative
David Arenburg
Sep 7, 2015 21:33
so gow should be my answer be written in order to it be a script?
David Arenburg
Sep 7, 2015 21:30
in order for it to be a function it should define
def
(like
function
in R)
David Arenburg
Sep 7, 2015 21:29
but its not wrapped into a function and it imports an external package
David Arenburg
Sep 7, 2015 21:29
it reads from stdin
David Arenburg
Sep 7, 2015 21:29
the python answer follows 1 out of 3 rules
David Arenburg
Sep 7, 2015 21:28
you also said that you should write a program
David Arenburg
Sep 7, 2015 21:28
you only talking regarding the stdin
David Arenburg
Sep 7, 2015 21:28
but the rules were also not to use external package
David Arenburg
Sep 7, 2015 21:25
thought the Python answer isn't a function
David Arenburg
Sep 7, 2015 21:25
i already agreed like 10 times :)
David Arenburg
Sep 7, 2015 21:25
yes
David Arenburg
Sep 7, 2015 21:24
let me work it out anyway
David Arenburg
Sep 7, 2015 21:24
doesnt look like many follow the rules here
David Arenburg
Sep 7, 2015 21:24
though me and many others also used packages
David Arenburg
Sep 7, 2015 21:23
yes, that is the cinnection part, I agree
David Arenburg
Sep 7, 2015 21:23
hmmm I guess you are right
David Arenburg
Sep 7, 2015 21:21
but you are right regarding the connection part
David Arenburg
Sep 7, 2015 21:21
I also dont see this requirement in the question
David Arenburg
Sep 7, 2015 21:20
awk and Python answers are functions?
David Arenburg
Sep 7, 2015 21:20
hi
David Arenburg
Sep 7, 2015 21:19
@flodel where is it written that this should be a function? Most of the answers here aren't wrapped into functions neither
David Arenburg
Sep 7, 2015 21:19
@flodel I already have that... You are right regarding reading from connection though, need to add that too.
David Arenburg
Sep 7, 2015 21:19
@edc65 fixed it.
David Arenburg
Sep 7, 2015 21:19
@edc65 that easy to fix, I just thought of it as a bonus.
David Arenburg
Sep 7, 2015 21:19
@BetaDecay thanks :)