cybersecurity · beginner · ~15 min · safe pentest lab
Check a size against a limit.
Implement int fits_archive(long total, long max) returning 1 if total <= max, else 0.
int fits_archive(long total, long max) {
/* TODO */
return 0;
}
Solve this exercise in the browser editor — compile and run against the test harness, no setup required.