TCS 2020 MOCKVITA

Ye mockvita k ide m, agar vector.size() or string.length() ko int se typecast nhi karte to compilation error deta h🤦‍♂️

2 Likes

college wale to Insta, facebook, youtube pr follow/like/comment krne ko bhi bolte hai bhai. or fir hume Screenshot leke whatsapp group mein daalna hota hai.

Maybe to show placement stats

Different college have different rules man , and day by day they are just force students in which they wanna do , last year my whole college give INFYTQ and 2 students are selected only ( me and one of my friend ) … they just running behind numbers of placement , not quality of placement.

2 Likes

are bhai konse stats. TCS bhi nahi aati hai aaj kal to or bc inhone Google, Microsoft likha hua hai poster pr.

woh compilar is duniya ki hai hi nahi.

Yes …
I think muje ek article likhna hi padega :rofl:

and they post on social media like this —

XYZ student got placement in ABC company with "whooping money of 3.6 LPA ", and I’m be like Bhagwan se to daro ****

3 Likes

Forcing students is never a good idea, and colleges (especially in India) will never understand that,
and it eventually leads to cheating in contests… This is a major reason why so many cheaters are from India.

1 Like

or bhai uske niche 36 comment milengi or un sabme ek cheez common hogi “Asst. Professor at this college”.

1 Like

Ha bhai likho ek…ye second problem m N and Array element eksath de diya ek line m, m socha size ka input kaha h😂

Read this thread , and u get to know , that tcs wale gaanja maarke bethte hai :rofl:

From last year I and smit , and samarth discuss on this question .

Same or udhar bola hai ki first line mein N milega or 2nd line mein Array element. Jabki pura sample input, 1 line mein hai. Python wale RIP.

Why RIP , as I said u have to deal with it

ls = list(map(int,input().split(' ')))
sz = ls[0]
n_ls = ls[1:]

bhai D wale question mein N sach mein diya hua hi nahi hai.

Edit: logout ho gaya or 15 min wait krne ko bol raha hai.

Mujhe python use karna padha😂

If u need ’ , ’ separated array in c++ then -

int n;
cin>>n;
int arr[n];
char ch;
for(int i=0;i<n;i++)
 {
      cin>>a[i];
      if(i!=n-1)
         cin>>ch;
 }

Same Problem. I logged in then after two minutes It said that your session is timed out please login again and when I tried to log in again It shows same error as yours.

1 Like

Matlab ye codevita wale, agar unique question na banaye, to aesa problem denge ki participant input e na le paye lol

2 Likes

3 to 4 questions were easy but 5th and 6th is too hard .