#include <iostream>
#include<bits/stdc++.h>
using namespace std;
int main() {
int n1,n2,i,j,c;
cin>>n1>>n2;
int a[n1],b[n2];
set<int> s;
for(i=0;i<n1;i++)
{
cin>>a[i];
s.insert(a[i]);
}
for(i=0;i<n2;i++)
{
cin>>b[i];
s.insert(b[i]);
}
vector<int> v(s.begin(),s.end());
c=s.size();
if(c%2==1)
{
c=c/2;
cout<<v[c];
}
else
{
n1=c/2;
n2=n1-1;
float q=(v[n1]+v[n2])/2.0;
cout<<q;
}
return 0;
}
C++ Language
Storeroom code
Telegram - https://t.me/Coding_human
#include<bits/stdc++.h>
using namespace std;
int main() {
int n1,n2,i,j,c;
cin>>n1>>n2;
int a[n1],b[n2];
set<int> s;
for(i=0;i<n1;i++)
{
cin>>a[i];
s.insert(a[i]);
}
for(i=0;i<n2;i++)
{
cin>>b[i];
s.insert(b[i]);
}
vector<int> v(s.begin(),s.end());
c=s.size();
if(c%2==1)
{
c=c/2;
cout<<v[c];
}
else
{
n1=c/2;
n2=n1-1;
float q=(v[n1]+v[n2])/2.0;
cout<<q;
}
return 0;
}
C++ Language
Storeroom code
Telegram - https://t.me/Coding_human
✅Tcs answers
1.1
2.0.16
3.1-5 power32
4.450
5.19
6.9
7.500,20
8.12
9.2:1
10.28.24 loss
11.650
12.24
13.7/12
✅Telegram - https://t.me/Coding_human
1.1
2.0.16
3.1-5 power32
4.450
5.19
6.9
7.500,20
8.12
9.2:1
10.28.24 loss
11.650
12.24
13.7/12
✅Telegram - https://t.me/Coding_human
Verbal
1.peremenent...
2.had completely sank
3.being witness
4.festival ...oration...laud
5.CDAB
6.cup of tea....a blessing in disguise
7.took the plung
8.spice of life.............laid out
9.2431
10.DABEC
11.CABDE
12.P and R
13.we all commeit error.......and blunders out of ignorance or inexperience in the course of acquire experience man everyone often stumbles and falls
14.incentivies of patakers will not align with some treating it disregarding the sustainability of
15) ingenious
16) Conscientious
17) BLADE
18) QR
19) The narrator was keen on taking
Telegram - https://t.me/Coding_human
1.peremenent...
2.had completely sank
3.being witness
4.festival ...oration...laud
5.CDAB
6.cup of tea....a blessing in disguise
7.took the plung
8.spice of life.............laid out
9.2431
10.DABEC
11.CABDE
12.P and R
13.we all commeit error.......and blunders out of ignorance or inexperience in the course of acquire experience man everyone often stumbles and falls
14.incentivies of patakers will not align with some treating it disregarding the sustainability of
15) ingenious
16) Conscientious
17) BLADE
18) QR
19) The narrator was keen on taking
Telegram - https://t.me/Coding_human
TCS NQT [9AM] SOLUTION GROUP:
https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/tcs_nqt_thryve_wiley_edge_code
✅ Share post in ur college Whatsapp grps.
https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/tcs_nqt_thryve_wiley_edge_code
✅ Share post in ur college Whatsapp grps.
Forwarded from CodingHuman #Coding_Help , All exam codes, Coding solutions, accenture TCS Wipro Nagarro Persistent Cisco
Please read guys 🙏🙏
Don't give money to anyone.
We are providing free help.
Stay away from rippers.
Stay alert stay safe.
Kisi ko bhi koi paisa/rs dene ki koi zaroorat nahi h,
Hum free material provide karte hai.
Aap Rippers se door the.🙏
If you are ripped by someone, we are not responsible at all.
Thank you
@Coding_human
Don't give money to anyone.
We are providing free help.
Stay away from rippers.
Stay alert stay safe.
Kisi ko bhi koi paisa/rs dene ki koi zaroorat nahi h,
Hum free material provide karte hai.
Aap Rippers se door the.🙏
If you are ripped by someone, we are not responsible at all.
Thank you
@Coding_human
🚫Infosys is blacklisting life time for malpractice
🚫TCS is blacklisting one year for malpractice
⚠️Before attending any exam make sure you follow all guidelines and then attend exam
✅ Telegram: https://t.me/Coding_human
🚫TCS is blacklisting one year for malpractice
⚠️Before attending any exam make sure you follow all guidelines and then attend exam
✅ Telegram: https://t.me/Coding_human
🚫TCS Cancelled exam is rescheduled on 3rd Sept❗️
Forwarded from CodingHuman #Coding_Help , All exam codes, Coding solutions, accenture TCS Wipro Nagarro Persistent Cisco
Please read guys 🙏🙏
Don't give money to anyone.
We are providing free help.
Stay away from rippers.
Stay alert stay safe.
Kisi ko bhi koi paisa/rs dene ki koi zaroorat nahi h,
Hum free material provide karte hai.
Aap Rippers se door the.🙏
If you are ripped by someone, we are not responsible at all.
Thank you
@Coding_human
Don't give money to anyone.
We are providing free help.
Stay away from rippers.
Stay alert stay safe.
Kisi ko bhi koi paisa/rs dene ki koi zaroorat nahi h,
Hum free material provide karte hai.
Aap Rippers se door the.🙏
If you are ripped by someone, we are not responsible at all.
Thank you
@Coding_human
🤩TCS NQT 2023 results are out.
They will send mail to selected candidates within 2 days.
Telegram : https://t.me/Coding_human
They will send mail to selected candidates within 2 days.
Telegram : https://t.me/Coding_human
a=input()
b= input()
m,n=len(a),len(b)
vow="aeiou"
DP= [[0 for i in range(n + 1)]for j in range(m + 1)]
i, j = 0, 0
for i in range(m + 1):
for j in range(n + 1):
if (i == 0 or j == 0):
DP[i][j] = 0
elif ((a[i - 1] == b[j - 1]) and a[i - 1] in vow):
DP[i][j] = DP[i - 1][j - 1] + 1
else:
DP[i][j] = max(DP[i - 1][j],DP[i][j - 1])
print(DP[m][n])
Vowels program
TG: https://t.me/Coding_human
b= input()
m,n=len(a),len(b)
vow="aeiou"
DP= [[0 for i in range(n + 1)]for j in range(m + 1)]
i, j = 0, 0
for i in range(m + 1):
for j in range(n + 1):
if (i == 0 or j == 0):
DP[i][j] = 0
elif ((a[i - 1] == b[j - 1]) and a[i - 1] in vow):
DP[i][j] = DP[i - 1][j - 1] + 1
else:
DP[i][j] = max(DP[i - 1][j],DP[i][j - 1])
print(DP[m][n])
Vowels program
TG: https://t.me/Coding_human
#include<stdio.h>
int main()
{
int n,i,dis,c=0;
scanf("%d %d",&n,&dis);
int order[n];
for(i=0;i<n;i++)
{
scanf("%d",&order[i]);
if(order[i]>0 && dis%order[i]==0)
c++;
}
printf("%d",c);
}
E-commerce code
TG: https://t.me/Coding_human
int main()
{
int n,i,dis,c=0;
scanf("%d %d",&n,&dis);
int order[n];
for(i=0;i<n;i++)
{
scanf("%d",&order[i]);
if(order[i]>0 && dis%order[i]==0)
c++;
}
printf("%d",c);
}
E-commerce code
TG: https://t.me/Coding_human