Liste des Groupes | Revenir à ol advocacy |
On Mon, 17 Jun 2024 23:27:18 -0400, DFS <nospam@dfs.com> wrote in
<6670fe94$0$989$882e4bbb@reader.netnews.com>:
>On 6/16/2024 8:04 PM, vallor wrote:>On 6/16/2024 4:19 AM, vallor wrote:>On Jun 15, 2024 at 3:20:19 PM EDT, "Farley Flud" <ff@linux.rocks>>
wrote:
>On Sat, 15 Jun 2024 14:29:04 +0000, Farley Flud wrote:>
>
>Write a C program to compute the subfactorial of an integer N.Nobody got it (as predicted).
>
>
Because no one bothered.
I actually took the opportunity to install the GMP documentation on
my system, look up what a "subfactorial" is, and do an implementation
that works for !N where N is 0 through 50.
Where's your code?
https://github.com/vallor/subfactorial/
100 LOC, incl a makefile and a README, copyrighted and released to the
public under the MIT license?
Obviously, you've not set up a repo on github.
>
What does the README say? "needs GMP" or something like that.
>
It also asks you for a license. In a split-second decision,
I picked "MIT".
ha! VERY FOSS cheesy!>
Nobody cares, it's a trivial exercise.
>Always release your non-commercial code to the public domain.>
Depends on the code.
Les messages affichés proviennent d'usenet.