अपठनीय , 1647 बाइट्स
' "" "" "'" " '" "" "" "'" "" ' "" "" "" ""' "" ' "" "'" "" "" "" "" " '" "" "" "" "" "" "" "" "" "" "" "" " '" ""' "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" """ "" " '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " ' "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" """ "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " "" ' "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " ' "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""'"" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " '" "" "" "" "" ' "" "" "" "" "'" "" "" "" "" "" "" "" "" "" "" "" "" "" """" "" "" "" "" "" " '" "" "" "" ""' "" "" "" ' "" "'" "" "" "" "" "" " "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ' "" "" "" "" "'" "" "" " '" ""' "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" """" "" "" "" "" "" "" "" "" "" "" ' "" "" "" "" "'" "" "" " '" ""' "" " "" "" " '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " ' "" "" "" "" ""' "" "" "" "" " '" "" "" "'" "" ' "" "" "" "" "" """ "" " '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " ' "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ' "" "" "" "" "'" "" "" " '" ""' "" "" "" "" "" "" "" ""' "" "" "" "" "" "" "" "" "" "" "" "" ""' "" "" "" "" " '" "" "" "'" " " '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "' "" "" "" "" " '" "" "" "'" "" ' "" "" "" "" "" "" "" "" "" "" "" "" '" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "'" "" "" "" "" ' "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ' "" "" "" "" "" "'" "" "" " '" "" "" "'"" "" "" ' "" "" ""' "" "" "" ' "" "" "" "" "'" " '" "'" " '" "'" "" " "" ' ""' "" "" "" "" "" "" "" "" "" "" ' "" "'" ' "" "" "" "'" " '" "' "" "" "" "" " '" "'" "" ' ""' "" "" "" "" " '" ""' "" "" ' "'" "" """" ' ""' "" ' "" "" "" "" "'" " '" ""' "" "" "" "" "" "
व्याख्या
यह कार्यक्रम इस तरह छद्मकोश के बराबर है:
while (cp = (ch = read)) + 1 {
(
(cp -= 65) ? // A
(cp -= 4) ? // E
(cp -= 4) ? // I
(cp -= 6) ? // O
(cp -= 6) ? // U
(cp -= 12) ? // a
(cp -= 4) ? // e
(cp -= 4) ? // i
(cp -= 6) ? // o
(cp - 6) ? // u
0
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
) ? ((--vs)+4) ? print(ch) : (++vs) : {
print(ch)
vs = 0
}
}
निम्नलिखित चर असाइनमेंट के साथ:
0 (unused) (13 bytes)
1 cp ( 4 bytes; occurs 20× in the code)
2 vs ( 7 bytes; occurs 5× in the code)
3 ch (10 bytes; occurs 3× in the code)
जैसा कि आप देख सकते हैं, मैंने वेरिएबल स्लॉट 0 से परहेज किया है क्योंकि 0
लिखने के लिए इतना लंबा कंटेंट है।
इसलिए हम हर किरदार पढ़ सकते हैं और दोनों में मूल्य की दुकान cp
और ch
। हम संशोधित करेंगे, cp
लेकिन ch
इधर-उधर रखेंगे ताकि जरूरत पड़ने पर हम उसे प्रिंट कर सकें। हम क्रमिक रूप से संख्या 65, 4, 4, 6, आदि को घटाते हैं, cp
यह जांचने के लिए कि क्या यह ASCII में 10 संभावित स्वर वर्णों में से प्रत्येक है (ध्यान दें कि अंतिम को असाइन करने की आवश्यकता नहीं है)।
vs
हमेशा 3 की संख्या से कम होता है, जो अभी भी मुद्रित होने की अनुमति देता है। यह बाहर शुरू होता है 0
, इसलिए 3 स्वरों को मुद्रित किया जा सकता है। जब यह पहुंचता है -3
, तो हम स्वरों को प्रिंट करना बंद कर देते हैं।
यदि हम एक गैर-स्वर (स्थान सहित) का सामना करते हैं, तो हम print(ch)
उसके बाद निष्पादित करते हैं vs = 0
। जैसा कि आपने शायद अनुमान लगाया है, यह स्वर काउंटर को रीसेट करता है।
यदि हम एक स्वर का सामना करते हैं , तो हम निष्पादित करते हैं ((--vs)+4) ? print(ch) : (++vs)
। चलो इसे तोड़ दो:
- कमी
vs
;
- अगर मूल्य अब है
-4
, हम बहुत दूर चले गए हैं, इसलिए कुछ भी प्रिंट न करें, लेकिन वेतन वृद्धि vs
वापस -3
इसलिए हम स्वरों को प्रिंट करने से इनकार करते रहेंगे ;
- अन्यथा, वर्ण मुद्रित करें।
aaYYAAaaaAERGH
।