С++++
С++++ — Язык программирования, созданный Стёвём Джёбсём.
Синтаксис[править]
Если в С ;
используется для разделения строк, то в C++++ ;
используется для разделения элементов в функции.
В C++++ скобки не пишутся
Например: В Python print('a', 'b')
, а в C++++ print 'a';'b'
Если в функцию, которая может принимать значения, не принимаются значения, то пишется \00
Например: В Python print()
, а в C++++ print\00
В C++++ есть 256 байтовых команд:
- \00 — Передача ничего в функцию
- \01 — print
- \02 — for
- \03 — while
- \04 — foreach
- \05 — open
- \06 — convertfile
- \07 — helloworld
- \08 — byeworld
- \09 — run
- \0a — list
- \0b — int
- \0c — float
- \0d — complex
- \0e — string
- \0f — randint
- \10 — if
- \11 — else
- \12 — elif
- \13 — randfloat
- \14 — floor
- \15 — ceil
- \16 — round
- \17 — input
- \18 — sort (sorted в Python)
- \19 — write
- \1a — sudo
- \1b — hack
- \1c — getip
- \1d — changeip
- \1e — root-sudo или r-sudo
- \1f — return
- \20 — ${}
- \21 — def
- \22 — const
- \23 — var
- \24 — let
- Дополнить
- \ff — credits (print('С++++ version 2.5.54308428790203478762340052723346983453487023489987231275412390872348475 © Ctyov Djyobs\nBased on B, С±, HTML\nu15o8gp7f is my favourite number') в Python)
C++++ vs Python[править]
C++++: print 'Hello, world!'
Python: print('Hello, world!')
C++++: for i;6;print input\00 +1
Python: for i in range(6): print(int(input())+1)
C++++: open '%GD%/CCLocalLevels.dat';'gd.dat'
import base64
import gzip
dat = 'll'
if dat == 'll':
file = 'CCLocalLevels.dat'
elif dat == 'gm':
file = 'CCGameManager.dat'
path = '%localappdata%\\GeometryDash\\'
CCLocalLevels = str(open(path + file, 'r').read())
BaseLocalLevels =
print('xor decrypting...')
for i in range(len(CCLocalLevels)):
if i % 1000000 == 0:
print(str(i // 1000000) + 'm/' + str(len(CCLocalLevels) // 1000000) + 'm')
BaseLocalLevels += chr(ord(CCLocalLevels[i]) ^ 11)
print('base-64 decoding...')
ArchiveLocalLevels = base64.urlsafe_b64decode(BaseLocalLevels)
print('unpacking...')
TxtLocalLevels = open(path + 'LocalLevels.txt', 'wb')
TxtLocalLevels.write(ArchiveLocalLevels)
TxtLocalLevels.close()
LocalLevels = str(gzip.open(path + 'LocalLevels.txt', 'r').read())[2:-1]
LL2file = open(path + 'LL2file.txt', 'w')
LL2file.write(LocalLevels)
LL2file.close()
ph = input('Press enter, when yon done...')
LocalLevels = str(open(path + 'LL2file.txt', 'r').read())
if dat == 'll':
print(LocalLevels)
LevelName = input('Print level name: ')
print('finding...')
LocalLevel = LocalLevels[LocalLevels.find(LevelName):-1]
LocalLevel = LocalLevel[LocalLevel.find('H4'):-1]
LocalLevel = LocalLevel[0:LocalLevel.find('<')]
print('base-64 decoding...')
ArchiveLevel = base64.urlsafe_b64decode(LocalLevel)
print('unpacking...')
text = open(path + 'text.txt.gz', 'wb')
text.write(ArchiveLevel)
text.close()
new = open(path + 'new.txt', 'w')
data = str(gzip.open(path + 'text.txt.gz', 'r').read())[2:-1]
new.write(data)
new.close()
print(data)
ph = input('Press enter, when yon done...')
print('packing...')
new = str(open(path + 'new.txt', 'r').read())
ArchiveNew = gzip.compress(bytes(new, 'utf8'))
print('base-64 encoding...')
NewLevel = str(base64.urlsafe_b64encode(ArchiveNew))
print('pasting...')
LocalLevels2 = LocalLevels[LocalLevels.find('H4'):-1] + LocalLevels[-1]
NewLevels = LocalLevels[0:LocalLevels.find('H4')] + NewLevel[2:-1] + LocalLevels2[LocalLevels2.find('<'):-1] + LocalLevels[-1]
elif dat == 'gm':
NewLevels = LocalLevels
print('packing...')
NewArchive = gzip.compress(bytes(NewLevels, 'utf8'))
print('base-64 encoding...')
NewBase = str(base64.urlsafe_b64encode(NewArchive))[2:-1]
print('xor encoding...')
NewFile =
for i in range(len(NewBase)):
if i % 1000000 == 0:
print(str(i // 1000000) + 'm/' + str(len(CCLocalLevels) // 1000000) + 'm')
NewFile += chr(ord(NewBase[i]) ^ 11)
print('writing...')
CCLocalLevels2 = open(path + file, 'w')
CCLocalLevels2.write(NewFile)
CCLocalLevels2.close()
Очевидно преимущество C++++
![]() |
Это незаконченная статья Быть может, автор заснул от скуки. Помогите Абсурдопедии расширить эту статью. ✍
|