David Arenburg

Sep 7, 2015 21:59
btw, you and me are competing for the top 20 users all time on SO :)
Sep 7, 2015 21:58
time for me to go asleep
Sep 7, 2015 21:58
anyway, thanks for the guidance
Sep 7, 2015 21:57
got lots of credit which I dont deserve probably
Sep 7, 2015 21:57
actually i had a nice start here
Sep 7, 2015 21:57
its not really a pain :)
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
Sep 7, 2015 21:47
added scan btw
Sep 7, 2015 21:47
i spend way too much time on SO
Sep 7, 2015 21:47
yes, that makes sense
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?
Sep 7, 2015 21:39
but Im editing the other answer with scan
Sep 7, 2015 21:39
not sure if implicaple in that case
Sep 7, 2015 21:38
or just to use scan like you did
Sep 7, 2015 21:36
yeah, you added a nice alternative
Sep 7, 2015 21:33
so gow should be my answer be written in order to it be a script?
Sep 7, 2015 21:30
in order for it to be a function it should define def (like function in R)
Sep 7, 2015 21:29
but its not wrapped into a function and it imports an external package
Sep 7, 2015 21:29
it reads from stdin
Sep 7, 2015 21:29
the python answer follows 1 out of 3 rules
Sep 7, 2015 21:28
you also said that you should write a program
Sep 7, 2015 21:28
you only talking regarding the stdin
Sep 7, 2015 21:28
but the rules were also not to use external package
Sep 7, 2015 21:25
thought the Python answer isn't a function
Sep 7, 2015 21:25
i already agreed like 10 times :)
Sep 7, 2015 21:25
yes
Sep 7, 2015 21:24
let me work it out anyway
Sep 7, 2015 21:24
doesnt look like many follow the rules here
Sep 7, 2015 21:24
though me and many others also used packages
Sep 7, 2015 21:23
yes, that is the cinnection part, I agree
Sep 7, 2015 21:23
hmmm I guess you are right
Sep 7, 2015 21:21
but you are right regarding the connection part
Sep 7, 2015 21:21
I also dont see this requirement in the question
Sep 7, 2015 21:20
awk and Python answers are functions?
Sep 7, 2015 21:20
hi
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
Sep 7, 2015 21:19
@flodel I already have that... You are right regarding reading from connection though, need to add that too.
Sep 7, 2015 21:19
@edc65 fixed it.
Sep 7, 2015 21:19
@edc65 that easy to fix, I just thought of it as a bonus.
Sep 7, 2015 21:19
@BetaDecay thanks :)