Bro any idea about the ranklist?
I searched for it and found that rank would be published just before the global phase reg startsā¦
so waitā¦
How much wait?Please tell
Bro you sure? And how much time will it take??
Found it where ā¦ ?
i dont remember the site but it says what i said , happened in previous codevitas
i am not sure ā¦ i said what i read
It was published check hereā¦
https://campuscommune.tcs.com/channels/codevita-season-8/medias/codevita-round-1-results-for-zone-2
how did u get these , my page isnt opening
how did u manage to get these, guide me sir
this ranklist is wrong its of previous codevita
Is it mandatory to write TCS NQT if we got qualified in codevita ?
It is official. You can visit the campus commune channel to check it
your rank is 4499 harshit
The zone 2 link ā¦ Of codevita
hey , i solved bottle neck problem .
my program compiled successfully with accepted answer , but after submitting i got runtime error
please check my code ā¦plz.
i wrote program in java on eclipse, it was giving correct answer for all testcases which i made on my own. But i donāt know what is the problem in codevita compiler
MY CODE
indent preformatted text by 4 spaces
import java.util.Arrays;
import java.util.Scanner;
public class BottleNeck {
public static int MinimumVisibile(int rad[])
{
int vis=0;
int index_1=0 , index_2=0;
Arrays.sort(rad);
for(int j=0;j<rad.length;j++)
{
for(int i=j+1;i<rad.length;i++)
{
if(rad[i]>rad[j])
{
if(i==index_2)
{
continue;
}
index_1=j;
index_2=i;
vis++;
break;
}
}
}
int ans= rad.length-vis;
return ans;
}
public static void main(String args[])
{
Scanner s= new Scanner(System.in);
int n= s.nextInt(); // enter total number of bottles
int rad[]=new int[n];
for(int i=0;i<n;i++)
{
rad[i]=s.nextInt(); // enter radius of respective bottles
}
int x=MinimumVisibile(rad);
System.out.print(x);
}
}
But the campus commune page says that ranklist would be announced shortly. It has not been announced yet
https://campuscommune.tcs.com/channels/codevita-season-8
Access denied, the ranklist you provided seems correct though