GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Wolf480pl (wolf480pl@mstdn.io)'s status on Friday, 19-Dec-2025 22:54:35 JSTWolf480plWolf480pl
    in reply to

    @algernon
    I have things

    OG print10.c: 556ms

    print10-gr.c:

    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    #include <unistd.h>
    #include <sys/random.h>

    #define ITERATIONS 100000000

    int main() {
    static char maze[ITERATIONS];

    getrandom(maze, sizeof(maze), 0);

    for (long i = 0; i < ITERATIONS; i++) {
    maze[i] = maze[i] % 2 ? '/' : '\\';
    }
    write(1, maze, ITERATIONS);

    return 0;
    }

    190ms

    1/

    In conversationabout 2 months ago from mstdn.iopermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.