Skip to content

qschneid-progress/code_golf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to kill a joke

...or Jason really is the smarter one here

Contains three submissions. Please grade according to your understanding of the rules.

If input files never contain trailing spaces, only digits separated by newlines:

$ python3 149.py <<filename>>

If input files can contain trailing spaces, and lines need to be stripped before parsing:

$ python3 152.py <<filename>>

If whitespace truly doesn't count, no matter what:

$ python3 cheating.py <<filename>>

If you don't want to run an exec blob for fear of having a rootkit installed, and would instead like to compile your own whitespace bomb:

$ python3 how_to_cheat.py 152.py > runme.py
$ python3 runme.py <<filename>>

You can also swap the exec for print to see what you'll be running before you run it.

About

Code Golf Tournament!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%