Skip to content

Instantly share code, notes, and snippets.

View akhal3d96's full-sized avatar

Ahmed Khaled akhal3d96

View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
int times[1000001],indst[1000001],inden[1000001],n,i,f,maxn,max;
maxn=-1;
scanf("%d",&n);
memset(times, 0, 1000001*sizeof(int));
for(i=0;i<n;i++)