Post History
If you actually use the library, sure, I guess. How you are going to get it running on online compilers, I have no idea. It's very uninteresting for others to view some code using a custom library ...
Answer
#2: Post edited
- If you actually use the library, sure, I guess. How you are going to get it running on online compilers, I have no idea. It's very uninteresting for others to view some code using a custom library though... you'd be golfing "single player".
Your answer here is doesn't use the library and is against the rules IMO:- https://codegolf.codidact.com/posts/279147?sort=age&page=1#answer-282484
Because you don't use some library, you just defined a function-like macro and then don't count characters in that macro. That can obviously not be alloweded, or otherwise I can easily beat you:- # [C (clang)], 1 byte
- <!-- language-all: lang-c -->
- M
- [Try it online!][TIO-kqkmu1g5]
- [C (clang)]: http://clang.llvm.org/
- [TIO-kqkmu1g5]: https://tio.run/##S9ZNzknMS/@vnJmXnFOakqpgU1ySkpmvl2HHpZySmpaZl6rgq8CVmVeikJuYmaehWc2lAAQFpSXFGkoeqTk5@ToK4flFOSmKSprWXLX/ff//BwA "C (clang) – Try It Online"
- ---
- The only sensible rule is that all C contributions using macros have to post the macro as part of the counted code.
- If you actually use the library, sure, I guess. How you are going to get it running on online compilers, I have no idea. It's very uninteresting for others to view some code using a custom library though... you'd be golfing "single player".
- Your answer here doesn't use the library and is against the rules IMO:
- https://codegolf.codidact.com/posts/279147?sort=age&page=1#answer-282484
- Because you don't use some library, you just defined a function-like macro and then don't count characters in that macro. That can obviously not be allowed, or otherwise I can easily beat you:
- # [C (clang)], 1 byte
- <!-- language-all: lang-c -->
- M
- [Try it online!][TIO-kqkmu1g5]
- [C (clang)]: http://clang.llvm.org/
- [TIO-kqkmu1g5]: https://tio.run/##S9ZNzknMS/@vnJmXnFOakqpgU1ySkpmvl2HHpZySmpaZl6rgq8CVmVeikJuYmaehWc2lAAQFpSXFGkoeqTk5@ToK4flFOSmKSprWXLX/ff//BwA "C (clang) – Try It Online"
- ---
- The only sensible rule is that all C contributions using macros have to post the macro as part of the counted code.
#1: Initial revision
If you actually use the library, sure, I guess. How you are going to get it running on online compilers, I have no idea. It's very uninteresting for others to view some code using a custom library though... you'd be golfing "single player". Your answer here is doesn't use the library and is against the rules IMO: https://codegolf.codidact.com/posts/279147?sort=age&page=1#answer-282484 Because you don't use some library, you just defined a function-like macro and then don't count characters in that macro. That can obviously not be alloweded, or otherwise I can easily beat you: # [C (clang)], 1 byte <!-- language-all: lang-c --> M [Try it online!][TIO-kqkmu1g5] [C (clang)]: http://clang.llvm.org/ [TIO-kqkmu1g5]: https://tio.run/##S9ZNzknMS/@vnJmXnFOakqpgU1ySkpmvl2HHpZySmpaZl6rgq8CVmVeikJuYmaehWc2lAAQFpSXFGkoeqTk5@ToK4flFOSmKSprWXLX/ff//BwA "C (clang) – Try It Online" --- The only sensible rule is that all C contributions using macros have to post the macro as part of the counted code.