Skip to content

Instantly share code, notes, and snippets.

View nikp123's full-sized avatar
🏠
Working from home

nikp123 nikp123

🏠
Working from home
View GitHub Profile
@nikp123
nikp123 / guesstimate_correct_file.c
Created August 23, 2025 17:25
C snippet for taking multiple files in as input and guessing the correct output based off of sheer probability.
#include <assert.h>
#include <stddef.h>
#include <stdio.h>
#include <limits.h>
/**
* @return - Element of that list which is the biggest
* @params len - Lenght of that list
* @params n - List of ints that you want to search