Skip to content

Instantly share code, notes, and snippets.

View Musi07's full-sized avatar

Musfiq-07 Musi07

View GitHub Profile
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int n;
cout << "Enter number of processes: ";
cin >> n;
int bt[n], wt[n], tat[n];