Activity Selection Problem

forget the problem…i m not solving…it…
just check my code and correct it to executable form…
cuz i want to clear my concept on pairs…

code link…

regards

hi @ManasxCOdE
the line using namespace std; should come before any code.
corrected code: https://ide.codingblocks.com/s/306473

image