Smart cheating programs 👋🌐 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Smart cheating programs 👋🌐

Hi, I want to create a collection of programs which are cheating Since I cant explain what I exactly mean, I give you two examples: Pascal Triangle https://code.sololearn.com/cVifR0ybhcNu/#py The shortest program(2 Characters) which shows hello world with output See header Please contribute to that list.

19th Aug 2018, 9:57 AM
Oma Falk
Oma Falk - avatar
8 Answers
+ 4
time to create the iopcc ? i am in ! https://www.ioccc.org/
19th Aug 2018, 11:58 AM
VcC
VcC - avatar
+ 2
Matthias no.. print("the first hundred primes") Is a solution for print the first hundred primes but somehow it is cheating
19th Aug 2018, 10:25 AM
Oma Falk
Oma Falk - avatar
+ 1
Ah, ok 😅
19th Aug 2018, 10:55 AM
Matthias
Matthias - avatar
+ 1
https://code.sololearn.com/cLb2sG6JSll3/?ref=app
19th Aug 2018, 5:39 PM
hinanawi
hinanawi - avatar
0
You mean one liners?
19th Aug 2018, 10:05 AM
Matthias
Matthias - avatar
0
print("".join(chr(100+0x3408D74D98//20**i%20) for i in range(10)))
19th Aug 2018, 11:51 AM
VcC
VcC - avatar