UMCM(Unreadable Mozheng Code Maker)是一款由 @keatsli 起草,@CaCa_Condy 完成的不可读魔怔代码生成器。
UMCM兼容旧版cnc的一切功能,并加入了下划线等大量魔怔内容,详情见下
UMCM(Unreadable Mozheng Code Maker)
- ver 1.3.1
- Authors: CYX LJC
- Code Size:26.0KB
- How to Use:This is a code to let your solutions be unreadable.There are 4 different types of settings:
- If you open mode xiahuaxian, you will see the variables and functions become lots of underlines.
- If you don’t open it, they will look like “_NaMe_000” and keywords become misleading words with random strings.
- If you set codetype to 0, the code will looks like a BEAUTIFUL semi-circle.
- If you set codetype to 1, the code will looks like a LONG noodle.
- If you set codetype to 2, you will see a BEAUTIFUL code and you will shout ‘what the f***?!’!
- If you set codetype to 3, you will see a code which every lines’ length is between _MIN_…_ ~ _MAX_…_
- If you open randomstr, all the strings in your code will be a strange thing.
- If you don’t open it, you can continue use it to get the right output.
- Run it in Linux: g++ UMCM.cpp -std=c++14 -o umcm && ./umcm < yourcode.cpp > resultcode.cpp
- Run it in Windows(Use cmd): g++ UMCM.cpp -std=c++14 -o umcm && umcm.exe < yourcode.cpp > resultcode.cpp
- Have a Good Day! Be happy and mozheng! =)
Updates
- ver 1.1: fixed the bug of notes.
- ver 1.1.2: delete all notes in input code and fixed the bug of define, ifdef and undef, now you can use UMCM to change itself with no errors!
- ver 1.1.3: it dead. well, we let the code change a lot, and it takes lots of bugs.
- ver 1.1.4: we can fix all the known bugs now!
- ver 1.1.5: now you can run the code perfectly even it has many ”\”, fixed the strange things in mz mode.
- ver 1.1.6: your output will be random strings when define dntac, and open a new mode ‘wtf’!!! now you can use UMCM in any modes!!!!!!
- ver 1.1.7: last version author forget to update on luogu, this time fixed some little bug.
- ver 1.2: change the names and ways to choose the code’s types, and fixed some cryptic bugs. Added codetype-3 and 4 types to add spaces.
- ver 1.2.1: Accelerated the speed of code, now you can UMCM itself in 0.2s!!!
- ver 1.3: now all digits will be represented as an expression composed of 1,1,4,5,1,4 and operational symbols! Source of inspiration: https://lab.magiconch.com/homo/
- ver 1.3.1: last version is so big even close to 50KB, so this time change a way to initialize the basic mozheng digits.
目前已经修复了已知的 bug。
这款生成器的特性:
- 独具一格地把所有常见的关键字和函数名等全都改成两侧有随机字符串中间有误导性内容的奇怪的东西
- 如果你使用了
mz模式,你会看到竖着并且长达数千数万行的条状代码。 - 如果你不使用
mz模式,你会看到一堆奇奇怪怪的定义和一大堆美丽的半圆。 - 如果你用了
___模式,所有变量名和非 define 的函数名以及 1 里面修改的那些名字全都会变成一大堆一大堆下划线,并且前面有美元符号。 - 如果你不使用
___模式,变量名和非 define 函数名会变成_Name_000这种格式。 - 如果你打开
dntac模式,你会发现输出里的所有空格变成了奇怪的字符,字符串也变成了随机字符! - 它自动删除了代码里的所有注释、非必要的空格和制表符。
- 新的
wtf模式会在你不打开mz模式的时候把代码变得十分美丽。
如果你能发现 UMCM 的 bug,欢迎把代码放进云剪贴板并把链接发到下面评论区!
当然,也请大家多多宣传!
代码链接:here
请勿用于任何商业用途(?),但是可以尝逝把生成的代码放到题解里面,不过请注明来源(((