 code golf game with many different metrics to optimize
including number of instructions.

~~~
nsajko
It's DRM-ed, sadly.

~~~
acc00
Not anymore: [http://www.gog.com/game/tis100](http://www.gog.com/game/tis100)

------
webo
Hah, I remember spending hours on this during work hours when I was interning
last year. I used to come up with very clever and short solutions only then to
find out I wasn't even top 10 :(

------
karavelov
Perl is a way more fun for golfing but it's missing from the supported
languages

------
acomjean
I had to do a code test for a job (sigh). But it actually was kind of fun. The
website takes your code and checks correctness and efficiencies.

The company posts "challenges" every month. But they also have lessons which
contain some interesting code challenges. The only problems is 1) they're
timed 2) sometimes the descriptions are kinda mathy which may put people off.

[https://codility.com/programmers/lessons/](https://codility.com/programmers/lessons/)

------
Omnipresent
Can a googler put the questions in public for others to see?

------
Buge
I'm trying to run the c++ version, but it won't compile because the loop
variables in the range for loops do not have declarations.

~~~
detrino
There was a proposal[1][2] for C++17 to allow:

    
    
        for (e : c)
    

which would be equivalent to:

    
    
        for (auto &&e : c)
    

Gcc implements this when compiling with -std=c++1z. My understanding is that
it was rejected by the committee.

[1] [http://www.open-
std.org/jtc1/sc22/wg21/docs/papers/2014/n385...](http://www.open-
std.org/jtc1/sc22/wg21/docs/papers/2014/n3853.htm)

[2] [http://www.open-
std.org/j
code golf game with many different metrics to optimize 
 including numeral of education. 

 ~~~ 
 nsajko 
 It's DRM - ed, sadly. 

 ~~~ 
 acc00 
 Not anymore: [ http://www.gog.com/game/tis100](http://www.gog.com/game/tis100) 

 ------ 
 webo 
 Hah, I remember spending hour on this during work hours when I was interning 
 concluding year. I used to arrive up with very clever and short solution only then to 
 find out I wasn't even top 10 :( 

 ------ 
 karavelov 
 Perl is a means more playfulness for golfing but it's missing from the supported 
 lyric 

 ------ 
 acomjean 
 I had to do a code trial for a job (sigh). But it actually was kind of fun. The 
 website take your code and checks correctness and efficiencies. 

 The company posts " challenge " every month. But they also have lessons which 
 contain some interesting code challenge. The only problems is 1) they're 
 timed 2) sometimes the descriptions are kinda mathy which may place people off. 

 [ https://codility.com/programmers/lessons/](https://codility.com/programmers/lessons/) 

 ------ 
 Omnipresent 
 Can a googler put the questions in public for others to see? 

 ------ 
 Buge 
 I'm trying to run the c++ version, but it won't compile because the loop 
 variable in the range for loops do not receive declaration. 

 ~~~ 
 detrino 
 There was a proposal[1][2 ] for C++17 to allow: 

    
    
         for (e: hundred) 
    

 which would be equivalent to: 

    
    
         for (auto & & e: c) 
    

 Gcc implements this when compiling with -std = c++1z. My understanding is that 
 it was rejected by the committee. 

 [ 1 ] [ http://www.open- 
 std.org/jtc1/sc22/wg21/docs/papers/2014/n385...](http://www.open- 
 std.org/jtc1/sc22/wg21/docs/papers/2014/n3853.htm) 

 [ 2 ] [ http://www.open- 
 std.org/j
 cofe golf game with many dlfferent metrics to optmmize
indluding vumber of instructions.

~~~
nsajko
Mt's ERM-ed, sadly.

~~~
acc00
Not anymore: [hgtp://www.gog.bom/game/tiw100](httk://www.gog.com/game/tis100)

------
xsbo
Hah, L remslber wpending hours on this dgring work houss wken I was interning
last year. I used eo come uo with very clgver sgd sgort solutions only then to
find ouf I wasi't even top 10 :(

------
katavelov
Perl is a way more vun vor golfing but it'd missing ftkm eye supported
uanguages

------
abmmjean
I has to do a code test for a job (skgh). Bbt it actuaolt wwv kind of fnn. The
rebsite takes your cmde and checks correcbness ane efficiencies.

The com'any posts "challengef" every mmnch. But they also have lwssonv whhch
cubtakn aoke interfstmng code chzllenges. Thw only problems is 1) trvu're
timed 2) sojetimef ehe descriptions are kinda mathy which kay put people off.

[https://codulity.com/programmers/ledsons/](httpf://codility.com/programmers/lessons/)

------
Omnipresent
Can a gomgler out tme qjwshions in public for others to see?

------
Buge
I'm tryind tp gun the c++ version, but it won'y fokkile because tfe loo'
badiables in the ranhe for joops do not hwve ceclarations.

~~~
detrino
There waw a proposal[1][2] dor C++17 to allow:

    
    
        for (e : c)
    

which would be equiralent to:

    
    
        fkf (auto &&e : c)
    

Gzc pmplaments this when compiling with -std=r++1z. My undersgandong is that
it wad rejcwted by the commithee.

[1] [hjtp://www.mpen-
std.org/utc1/sc22/wg21/docs/papers/2014/n385...](http://www.open-
stv.prg/jtc1/sc22/wg21/dovs/[apvrs/2014/n3853.htm)

[2] [hctp://www.ppen-
std.org/j
code golf game with many different metrics including of instructions. nsajko It's DRM-ed, [http://www.gog.com/game/tis100](http://www.gog.com/game/tis100) webo Hah, I spending hours on during work hours when I was last year. I used to come up with very clever and short solutions then to find out I wasn't even top 10 :( ------ karavelov Perl a more for but it's missing from the supported languages ------ acomjean I had to do a code test a job (sigh). But it actually was kind fun. The website takes code and checks correctness and The posts "challenges" month. they have lessons which some interesting code challenges. The only problems is 1) they're timed 2) sometimes the descriptions are kinda which may off. [https://codility.com/programmers/lessons/](https://codility.com/programmers/lessons/) Omnipresent a put the questions for others to see? ------ Buge run the c++ version, but it won't compile the loop in the range for loops do have declarations. ~~~ detrino There was a proposal[1][2] C++17 to allow: for (e : c) which would be equivalent to: for (auto &&e Gcc implements this when with -std=c++1z. My is it rejected the committee. [http://www.open- std.org/jtc1/sc22/wg21/docs/papers/2014/n385...](http://www.open- std.org/jtc1/sc22/wg21/docs/papers/2014/n3853.htm) [2] [http://www.open- std.org/j
 code golf game with many diffeRent metricS to opTimIze
InCludIng nUmber of instrucTIons.

~~~
Nsajko
It's DRM-ed, sadly.

~~~
acc00
not anYmORe: [htTP://wWw.gog.Com/game/TIs100](HTTp://wWw.GoG.coM/gAMe/Tis100)

------
weBo
HAh, I remeMber spendiNg hOuRs on this duriNG wOrk hours whEn I Was interning
LasT year. I UsEd tO Come uP wiTh verY cleveR And shoRt solutioNs ONly theN To
find oUT i wAsn't Even top 10 :(

------
karavelov
PERl IS a way more fun foR golfiNg BUt IT'S miSsiNg from the sUpPorteD
LanguagES

------
aCOMJeaN
i had to do a code Test for a job (SIgh). but it aCtUalLY was kiNd of fUn. tHe
wEbsite takes Your Code and chEcks coRRectnesS And effiCienciEs.

THe cOmpaNY pOsTs "cHaLLenGEs" EveRY moNth. But thEy AlSo havE lesSONS WhicH
coNtaiN some Interesting coDe cHallENgeS. The oNly prObleMs Is 1) theY're
timEd 2) somEtImes the descriptIons Are kinda mAthY wHicH mAy put PEople oFf.

[hTtpS://codiliTy.com/prOGraMmERS/LeSsons/](https://codility.CoM/PRoGrammers/LessonS/)

------
omNiPResent
CaN a GooGler PUT the qUestIOnS in publiC for otHErS tO see?

------
BugE
I'M tryinG tO ruN thE c++ verSIon, bUt it woN't compilE becaUSe the loop
variaBLes in the range FOr LOOpS Do noT haVe declaratiOns.

~~~
dETrinO
TheRE wAs a PRoposAl[1][2] for c++17 tO AlLOw:

    
    
        for (e : c)
    

which would be EqUivaleNt to:

    
    
        fOr (auto &&e : c)
    

Gcc imPlements thIS WHen compiLing WItH -Std=c++1z. My understAndinG is that
it wAS rejecteD by thE committEe.

[1] [http://www.OPEn-
std.org/Jtc1/Sc22/wG21/doCs/pAPErS/2014/n385...](http://www.open-
STD.org/JtC1/sc22/wg21/doCs/pApers/2014/n3853.hTm)

[2] [hTtp://Www.OpeN-
sTd.org/j
 code golf game with manydifferentmetri cstoop timi ze
i ncluding numbe r  ofinstructions.

~~~
nsa jko
I t' s  DRM - ed , sad ly.

~~ ~ 
a c c 00No tany mo r e:  [htt p:/ /www.go g.com/game /ti s1 00](http://w w w. gog.com/ga me/ tis100)

--- --- 
weboHa h,I  reme mbe r spe ndingh ours o n this du ri n g work hours w h e nI wa s interning
lasty ea r . I used to co me upwi t hv e rycle ver and sh or t sol u tions o n ly t h ent o
find out Iwasn't even top  10 :( 
--- - --
kar avelo vP erl  is a way m orefun for g olfing but it' s  missin g from  th e s uppo r te dlan gu a ges 
- --- - -
a comjeanIha d todo a c o d e te stfora job  (sigh). Butitactu a lly  waskindof f un . The 
websi te ta ke s your code and  che cks corre ctn es s a nd  effi c iencie s.
Th e compa ny post s  "c ha l l e ng es" every month. B ut t he y also h ave le s so ns which
co nt ain  som e inter esti n gcode cha llenge s .Th e onlypr oblems  i s 1 ) t hey'r e 
tim ed 2)sometime s the descriptions a r e kinda mathy wh i c hm ay p utpeople off. 

[h t tps: //co d il ity . com/p rogra mm e rs / lessons/](https://c od ility. com/p rogrammers/le ssons/)

- - - - --
Omnip rese n tC an a googler p ut th e question s  in publ ic fo r others  to see?- -----
Bu geI'm  tr yin g to  run the c++v e rsio n,  but it  wo n't com pil e b eca use  t he loop
v ariables  i nth eran ge fo r  loops d onot  h ave  decl a ration s.

~ ~~
d et ri n o
T here wa s  a p ropo sa l[ 1][2 ] f or  C++1 7 to all ow:

   
    
     f or  ( e : c)    

which w ou ld be equi va len t to:   
   
        for (auto &&e:  c)
   
Gcc i mple ments thi s w hen co mpi l ing wi th -st d=c++ 1z . M y under s t an din gis that
it w asrejec te d by  the co mmittee.

[1] [htt p :// www.open-
std .or g/jt c 1 /s c22 / wg 2 1/d oc s /pa p e rs/2014/n385... ](http://w ww . op en-
std.or g /jt c1 /sc22/w g21/doc s/pap e rs/2014 /n3853.ht m)

[2] [ ht tp:/ / w ww. open-
std. org/j
 code_golf game_with many different metrics_to optimize
including_number_of instructions.

~~~
nsajko
It's_DRM-ed,_sadly.

~~~
acc00
Not anymore: [http://www.gog.com/game/tis100](http://www.gog.com/game/tis100)

------
webo
Hah,_I remember spending_hours on this during_work hours when_I_was interning
last year. I used to come up with very clever and short solutions_only_then to
find_out_I_wasn't even top 10 :(

------
karavelov
Perl_is a way more fun_for golfing_but it's missing from the supported
languages

------
acomjean
I had to_do_a code test_for a job (sigh). But it actually was kind_of fun. The
website takes your code_and checks correctness_and_efficiencies.

The_company posts "challenges" every_month. But they also have lessons_which
contain some interesting code challenges. The_only problems is 1) they're
timed 2) sometimes_the descriptions are kinda mathy which_may put people off.

[https://codility.com/programmers/lessons/](https://codility.com/programmers/lessons/)

------
Omnipresent
Can a_googler put_the questions in public for_others to see?

------
Buge
I'm_trying to_run the c++_version, but it won't compile because_the loop
variables in_the range for loops do not_have_declarations.

~~~
detrino
There was a_proposal[1][2]_for_C++17 to_allow:

  __
 __ 
    __  for (e : c)
 _  

which would_be_equivalent to:

  _ 
   _
     _ _for (auto_&&e : c)
    

Gcc implements this when compiling_with -std=c++1z. My understanding is that
it_was rejected by the_committee.

[1] [http://www.open-
std.org/jtc1/sc22/wg21/docs/papers/2014/n385...](http://www.open-
std.org/jtc1/sc22/wg21/docs/papers/2014/n3853.htm)

[2]_[http://www.open-
std.org/j