Skip to content

Instantly share code, notes, and snippets.

View galaxygamerman's full-sized avatar

M Imaad Iqbal galaxygamerman

  • Mangalore
  • 17:44 (UTC +05:30)
View GitHub Profile
@galaxygamerman
galaxygamerman / CGlab_exps5-9.ipynb
Last active April 22, 2025 08:36
CG Lab python scripts for image processing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#include <iostream>
#include <iomanip>
using namespace std;
#define MAX 20
int table[MAX + 1][MAX + 1] = { 0 };
int n, wt[MAX + 1], val[MAX + 1], max_wt;
int fmax(int a, int b) {
return a > b ? a : b;