Skip to content

Instantly share code, notes, and snippets.

#include <time.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv) {
if (argc == 1) {
fprintf(stderr, "USAGE: %s [options]\n", argv[0]);
return 1;
}
srand(time(NULL));