Advents-/April-Gewinnspiel 2010/11
spacer
Autor Nachricht
Webo
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starhalf offtopic starofftopic star
Beiträge: 536
Erhaltene Danke: 7

Win 7, Debian
Delphi 7 Enterprise, Delphi 2010 Pro
BeitragVerfasst: Mo 28.03.11 17:44 
user profile iconjasocul hat folgendes geschrieben Zum zitierten Posting springen:
user profile iconThom hat folgendes geschrieben Zum zitierten Posting springen:
Laß Wiki weg und benutze den eigenen Kopf. Ins itcwhitr skclh iwcehr... :idea:

Das war für mich der wesentliche Hinweis.
"Ins itcwhitr skclh iwcehr" konnte ich einfach so lesen ohne zu "übersetzen". Danach wurde es offensichtlich. Boah, ist das einfach. :mrgreen:


Ging mir genau so :D

_________________
Man kann nur das aus dem Ärmel schütteln, was man auch vorher reingesteckt hat.
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
Werbung ausblenden? Dann registriere Dich kostenlos. Weitere Gründe für eine Registrierung.


Werbung ausblenden? Dann registriere Dich kostenlos. Weitere Gründe für eine Registrierung.
Kha
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starhalf offtopic star
Moderator
Beiträge: 3722
Erhaltene Danke: 133

Arch Linux, Win 7
F#, C# (VS2010)
BeitragVerfasst: Di 29.03.11 00:37 
Ds asi, fc, ahsöshesikcihf maihcr hbkeudr izn Agut fmd eais nKeo ndrieec rhet, nedne Asr Cmon doec ;) . shh eai bnepiaca hrm Taalg vees rcz hio cnhetnemtu...

ausblenden Gcorlifpst markieren
1:
.{:c;'09AZazüÜßß'2/{{}/c<\c>|!}%{|}*}:p,.2%\(;2%+:t;{.p{t(\:t;}@if}%

_________________
>λ=


Zuletzt bearbeitet von Kha am Di 29.03.11 11:13, insgesamt 1-mal bearbeitet
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starhalf offtopic starofftopic star
Beiträge: 8625
Erhaltene Danke: 147

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 29.03.11 00:49 
Gwii br tde dsed reTn hC roedae?
dae uicg hein ntL leiscb hadreUknod dwiaenrnt?

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
Jann1k
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starhalf offtopic starofftopic star
Beiträge: 786
Erhaltene Danke: 9

Win 7
TurboDelphi, Visual Studio 2010
BeitragVerfasst: Di 29.03.11 09:28 
Zitat:
Gwii br tde dsed reTn hC roedae?
dae uicg hein ntL leiscb hadreUknod dwiaenrnt?


Dea iscmhü asms0t 1e0 g4 ls.ae uibn.

_________________
Viele Leute denken, Zeit sei wie ein Fluss, der sanft und sicher in eine Richtung fließt, ich aber habe das Antlitz der Zeit gesehen und ich sage euch sie haben Unrecht, Zeit ist ein Ozean im Sturm...
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
Narses Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starhalf offtopic star
Administrator
Beiträge: 8370
Erhaltene Danke: 244

W2k, WXPpro
TP3 - D7pro
BeitragVerfasst: Di 29.03.11 10:08 
Moin!

user profile iconBenBE hat folgendes geschrieben Zum zitierten Posting springen:
Und wann wird der Thread eigentlich dekodiert?
Jetzt :P

Es handelte sich übrigens um eine Transposition über alle Buchstaben und Ziffern im Text. :idea:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
HenryHux
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 524
Erhaltene Danke: 33

Windows 7 Premium
Delphi XE, Eclipse
BeitragVerfasst: Di 29.03.11 10:14 
Ah verstanden..
Daabse drazuuelratn mgier! :D
Swcühnösncehni Tcahg!

Edit: Werden die Aufgaben einfach gepostet oder brauch man eine Anmeldung o.ä?
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 14

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Di 29.03.11 17:58 
user profile iconKha hat folgendes geschrieben Zum zitierten Posting springen:
Ds asi, fc, ahsöshesikcihf maihcr hbkeudr izn Agut fmd eais nKeo ndrieec rhet, nedne Asr Cmon doec ;) . shh eai bnepiaca hrm Taalg vees rcz hio cnhetnemtu...

ausblenden Gcorlifpst markieren
1:
.{:c;'09AZazüÜßß'2/{{}/c<\c>|!}%{|}*}:p,.2%\(;2%+:t;{.p{t(\:t;}@if}%


Ist das Perl?
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
Kha
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starhalf offtopic star
Moderator
Beiträge: 3722
Erhaltene Danke: 133

Arch Linux, Win 7
F#, C# (VS2010)
BeitragVerfasst: Mi 30.03.11 01:35 
Diese verbose Skriptsprache :gruebel: ? Nein, es ist eigentlich schon, was dransteht: Golfscript.

Edit:
user profile iconHenryHux hat folgendes geschrieben Zum zitierten Posting springen:
Werden die Aufgaben einfach gepostet oder brauch man eine Anmeldung o.ä?
Eingeloggt solltest du schon sein ;) . Der Rest dürfte dann selbsterklärend sein, sobald die Links da sind.

_________________
>λ=
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 15833
Erhaltene Danke: 737

XP, W7 x64 (Chrome, IE9, FF), Debian, (OSX 10.7)
RAD XE 2, Java (NB), C++, C# (VS 2010), JS/HTML, PHP, Lazarus
BeitragVerfasst: Mi 30.03.11 01:54 
Dann mal hier noch die ausführliche Version von mir:
ausblenden volle Höhe Delphi-Quelltext markieren
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
const
LETTER_CHARS = ['a' .. 'z', 'A' .. 'Z', 'ä', 'ö', 'ü', 'Ä', 'Ö', 'Ü',
'0'..'9', 'ß'];

type
TCryptAction = (caEncrypt, caDecrypt);

procedure IncPos(var APosition: PChar; AEndPos: PChar; ACount: Integer;
AIgnoreBrackets: Boolean);
var
InsideBrackets: Boolean;
begin
InsideBrackets := False;
while (ACount >= 0) and (APosition < AEndPos) do
begin
while (not CharInSet(APosition^, LETTER_CHARS)
or (InsideBrackets and not AIgnoreBrackets))
and (APosition < AEndPos) do
begin
if CharInSet(APosition^, ['[', ']']) then
InsideBrackets := not InsideBrackets;
Inc(APosition);
end;
if (ACount > 0) and (APosition < AEndPos) then
Inc(APosition);
Dec(ACount);
end;
end;

function Crypt(const AValue: string; AAction: TCryptAction;
AIgnoreBrackets: Boolean): string;
var
SecondRun: Boolean;
CurrentEncPos, CurrentDecPos, EncEndPos, DecEndPos, EncStartPos: PChar;
begin
SetString(Result, PChar(AValue), Length(AValue));
if AAction = caEncrypt then
begin
CurrentEncPos := PChar(Result);
CurrentDecPos := PChar(AValue);
end
else
begin
CurrentEncPos := PChar(AValue);
CurrentDecPos := PChar(Result);
end;
EncEndPos := CurrentEncPos + Length(AValue);
DecEndPos := CurrentDecPos + Length(AValue);
while not CharInSet(CurrentEncPos^, LETTER_CHARS) do
Inc(CurrentEncPos);
while not CharInSet(CurrentDecPos^, LETTER_CHARS) do
Inc(CurrentDecPos);
EncStartPos := CurrentEncPos;
SecondRun := False;
while CurrentEncPos < EncEndPos do
begin
if AAction = caEncrypt then
CurrentEncPos^ := CurrentDecPos^
else
CurrentDecPos^ := CurrentEncPos^;
IncPos(CurrentEncPos, EncEndPos, 2, AIgnoreBrackets);
IncPos(CurrentDecPos, DecEndPos, 1, AIgnoreBrackets);
if not SecondRun and (CurrentEncPos = EncEndPos) then
begin
SecondRun := True;
CurrentEncPos := EncStartPos + 1;
while not CharInSet(CurrentEncPos^, LETTER_CHARS) do
Inc(CurrentEncPos);
end;
end;
end;

procedure TfrmAprilDF01Main.btnDecryptClick(Sender: TObject);
begin
memDecrypted.Text := Crypt(memEncrypted.Text, caDecrypt,
chbIgnoreBrackets.Checked);
end;

procedure TfrmAprilDF01Main.btnEncryptClick(Sender: TObject);
begin
memEncrypted.Text := Crypt(memDecrypted.Text, caEncrypt,
chbIgnoreBrackets.Checked);
end;
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
Tintenblut
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starhalf offtopic starofftopic star
Beiträge: 38
Erhaltene Danke: 2



BeitragVerfasst: Mi 30.03.11 09:58 
user profile iconThom hat folgendes geschrieben Zum zitierten Posting springen:
Laß Wiki weg und benutze den eigenen Kopf. Ins itcwhitr skclh iwcehr... :idea:


Danach hatte ich es auch ;)
 
Antworten mit Zitat Beitrag melden
Private Nachricht sendenPosting in privater Nachricht zitieren
home home