Remove alt versions of 1991/cdupont
This commit is contained in:
1 parent
0e46931ae6
commit
9b7fa92052
6 files changed
+2
-140
No files matched your search
@@ -4,11 +4,6 @@
|
||||
make all
|
||||
```
|
||||
|
||||
There are two alt versions that demonstrate a problem that the code documents
|
||||
(as an obfuscation technique) and what the judges document, respectively, so
|
||||
that you can see what the results are. See [alternate code](#alternate-code)
|
||||
below for more details.
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
@@ -17,36 +12,6 @@ below for more details.
|
||||
```
|
||||
|
||||
|
||||
## Alternate code:
|
||||
|
||||
These two versions show what will happen if certain things are done that were
|
||||
warned against: if you remove a comment and more so an unused `goto` label or if
|
||||
you beautify it. The [cdupont.alt.c](cdupont.alt.c) is the one with both the
|
||||
unused `goto` label and comments removed and the [cdupont.alt2.c](cdupont.alt2.c)
|
||||
is beautified. This required changing the `s` macro to be `__FILE__` as
|
||||
otherwise it would read in the original code which doesn't have the
|
||||
modifications.
|
||||
|
||||
|
||||
### Alternate build:
|
||||
|
||||
|
||||
```sh
|
||||
make alt
|
||||
```
|
||||
|
||||
|
||||
### Alternate try:
|
||||
|
||||
|
||||
```sh
|
||||
./cdupont.alt
|
||||
./cdupont.alt2
|
||||
```
|
||||
|
||||
Enjoy! :-)
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Why is the following label necessary?
|
||||
|
||||
Reference in new issue
Block a user