Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
markow:seriex [2016/11/08 10:43] – [7 TIC TAC TOE] Tscherter, Vincent | markow:seriex [2024/03/03 22:36] (aktuell) – Tscherter, Vincent | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Serie X ====== | ||
+ | |||
+ | ===== - SoundEx ===== | ||
+ | |||
+ | ++++ soundex (Beat):| <code text> | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /--/-/! | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ++++ soundex by Vincent Tscherter | <code text> | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /[=]//g | ||
+ | </ | ||
+ | |||
+ | ++++ SoundEx Solution by Simon | <code text>/ | ||
+ | /-α+/-/ | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /α//g | ||
+ | / | ||
+ | |||
+ | ===== - TIC TAC TOE == | ||
+ | <code text> | ||
+ | O| |X O| |X | ||
+ | -+-+- -+-+- | ||
+ | | | -> |O| | ||
+ | -+-+- -+-+- | ||
+ | X| | X| | | ||
+ | </ | ||
+ | |||
+ | ++++ Antwortzugang | <code text> | ||
+ | / ((.|\n){9})X((.|\n){9})X/ | ||
+ | / | ||
+ | / | ||
+ | / ((.|\n){13})X((.|\n){13})X/ | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / ((.|\n){11})X((.|\n){11})X/ | ||
+ | / | ||
+ | /(X\| \|X|X\|X\| | \|X\|X)/ | ||
+ | / ((.|\n){9})O((.|\n){9})O/ | ||
+ | / ((.|\n){13})O((.|\n){13})O/ | ||
+ | / ((.|\n){11})O((.|\n){11})O/ | ||
+ | / \|O\|O/ | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /O\| \|O/ | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /O\|O\| /O|O|X/i! | ||
+ | / /X/i! | ||
+ | </ | ||
+ | |||
+ | ===== - Zahlen in einem Text markieren ==== | ||
+ | Schreibe einen Algorithmus, | ||
+ | |||
+ | ; Eingabe | ||
+ | : < | ||
+ | ; Ausgabe | ||
+ | : < | ||
+ | 13 | ||
+ | 26</ | ||
+ | |||
+ | ++++ Lösung | < | ||
+ | und kein Zeilenumbruch sind mit einem | ||
+ | | ||
+ | / | ||
+ | /\n*$// ! Lösche Zweilenumbrüche am Ende STOPP</ | ||
+ | |||
+ | ===== - Check for Prime ===== | ||
+ | cf. https:// | ||
+ | |||
+ | Löschen aller nicht Primzahlen | ||
+ | < | ||
+ | |||
+ | Generator, erzeugt zum Abbruch durch step/ | ||
+ | < | ||
+ | /μ// | ||
+ | / | ||
+ | / | ||
+ | |||
+ | ===== - Primfaktorzerlegung ===== | ||
+ | |||
+ | ; Eingabe | ||
+ | : '' | ||
+ | ; Ausgabe | ||
+ | : '' | ||
+ | ; Code | ||
+ | : < | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | // | ||
+ | : Code 2< | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ===== - Eingabe Kopieren===== | ||
+ | |||
+ | ; Eingabe | ||
+ | : '' | ||
+ | ; Ausgabe | ||
+ | : '' | ||
+ | ; Code | ||
+ | : < | ||
+ | ; Code-RISC | ||
+ | : < | ||
+ | /ατ/1α/ | ||
+ | /0σ/σ0/ | ||
+ | /1σ/σ1/ | ||
+ | /0τ/τ0/ | ||
+ | /1τ/τ1/ | ||
+ | /β1/τ1β/ | ||
+ | /β0/σ0β/ | ||
+ | /α// | ||
+ | /β// ! | ||
+ | //αβ/ | ||
+ | </ | ||
+ | |||
+ | ===== - Beliebige Additition und Substraktion in Unär ===== | ||
+ | ; Eingabe | ||
+ | : '' | ||
+ | ; Ausgabe | ||
+ | : '' | ||
+ | ; Code | ||
+ | : < | ||
+ | /-I/⇩-/g | ||
+ | / | ||
+ | /[-+]//g | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /α./Iα/ | ||
+ | /α// | ||
+ | /π//! | ||
+ | / | ||