treffen:codegolfing:005

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
treffen:codegolfing:005 [2020/11/28 15:19]
max [(some) Testcases]
treffen:codegolfing:005 [2022/07/01 18:56] (aktuell)
marc_weber [PHP] ist Python
Zeile 1: Zeile 1:
-[[treffen:codegolfing|CodeGolfings]]+{{:treffen:problemsolving:rummy.jpg?400|}}
  
-====== 005 Code Golfing Colorized rummy ======+[[https://creativecommons.org/licenses/by-sa/3.0/|CC BY-SA 3.0]] by [[https://en.wikipedia.org/wiki/Rummy#/media/File:A_Game_of_Rummy.JPG|David Lazich]]
  
-| Submission due | Sat. Nov 28th 2020 at 3pm| + 
-| Event | Sat. Nov 28th 2020 at 4pm | + 
-| Details| {{ :treffen:005_codegolfing_v0.2.pdf |005 CodeGolfing v0.2 [PDF]}} |    +====== 005: Colorized Rummy ====== 
-| Venue| [[https://meet.jit.si/005CodeGolfing|https://meet.jit.si/005CodeGolfing]] PW: ''v0x201''+ 
-| Contact| max at vspace.one |+| Series | [[treffen:codegolfing|CodeGolfings]] |  
 +| Submission due  | Sat. Nov 28th 2020 at 3pm| 
 +| Event  | Sat. Nov 28th 2020 at 4pm | 
 +| Details | {{ :treffen:005_codegolfing_v0.2.pdf |005 CodeGolfing v0.2 [PDF]}} |    
 +| Venue | [[https://meet.jit.si/005CodeGolfing|https://meet.jit.si/005CodeGolfing]] PW: ''v0x201''
 +| Contact | max at vspace.one 
 +| Difficulty | {{:treffen:problemsolving:progress2.png?nolink&160 |}} 
  
  
Zeile 30: Zeile 36:
 ===== Solutions ===== ===== Solutions =====
  
-==== Ruby ==== +==== Ruby (>=2.7) ==== 
-69B max | +69Bmax 
 + 
 +Beschreibung: {{ :treffen:20210325_005_codegolfing_v2.pdf |005 Code Golfing Solution [pdf]}}
  
 <code> <code>
Zeile 39: Zeile 47:
  
 ==== Python ==== ==== Python ====
-83B chris +83Bchris
  
 <code> <code>
Zeile 48: Zeile 56:
  
 ==== Python ==== ==== Python ====
-85B max +85Bmax
  
 <code> <code>
Zeile 57: Zeile 65:
  
 ==== Perl ==== ==== Perl ====
-86B max +86Bmax
  
 <code> <code>
Zeile 65: Zeile 73:
  
 ==== Python ==== ==== Python ====
-172B m0rix +172Bm0rix
  
 <code> <code>
Zeile 77: Zeile 85:
  
 ==== Python ==== ==== Python ====
-226B nikax +226Bnikax
  
 <code> <code>
Zeile 99: Zeile 107:
  
 ==== PHP ==== ==== PHP ====
-105B marc +105Bmarc
  
 <code> <code>
Zeile 106: Zeile 114:
  
 ==== Java ==== ==== Java ====
-1.7KB alexander +1.7KBalexander
  
 <code> <code>
Zeile 167: Zeile 175:
 </code> </code>
  
 +===== Außer Konkurrenz =====
 +==== Python ====
 +78B, chris,max
 +
 +<code Python>
 +import sys
 +a,b,c,d=sorted(sys.argv[1].count(x) for x in"rybk")
 +1/(a>=2*d-b-c)
 +</code>
  
  
  • treffen/codegolfing/005.1606576789.txt.gz
  • Zuletzt geändert: 2020/11/28 15:19
  • von max