RTU Notes • RawCoderz
الذهاب إلى القناة على Telegram
Hello Engineers !!!🙋🏻 Plz join our channel for all Notes, NK, Old & guess papers of RTU Semesters.
إظهار المزيدلم يتم تحديد البلدالفئة غير محددة
362
المشتركون
لا توجد بيانات24 ساعات
+17 أيام
-230 أيام
أرشيف المشاركات
n = int(input())
a = input()
b = input()
res, res2 = "", ""
for x in range(len(a)):
if a[x]!=b[x]:
res+=a[x]
res2+=b[x]
for _ in a :
if _ not in b:
print(-1)
break
else :
for x in set(res2):
if x not in a:
print(-1)
break
else:
print(len(set(res2)))
#include<stdio.h>
#include<string.h>
main()
{
char a[100];
int i,j,n,temp,count=0,c=0;
scanf("%s",a);
n=strlen(a);
for(i=0;i<n;i++)
{
if(a[0]==a[i])
coun++;
}
if(c==n)
{
printf("-1");
}
else
{
for(i=0;i<n;i++)
{
for(j=i+1;j<n;j++)
{
if(a[j]<=a[i])
{
temp=a[j];
a[j]=a[i];
a[i]=temp;
}
}
}
for(i=1;i<n;i++)
{
if(a[0]!=a[i])
count++;
} printf("%d",count);
}
}
TCS NQT 19TH AUG Answer
1)625/126
2)1/15
3)1/5,-1/5
4) 7
5)22.5
6)43.72
7)2500
8-13.5
9-13:27
10- 40%
11)217:65:18
12.8500
13.600
Repost from OFF CAMPUS DRIVE IT
TCS VERBAL
1-i like to sit at
2-a graduate
3-the ascent
4-(A) vision (B) achieve
5-cdbb
6-marcus is so
7-1.reflected upon 2.certain quarters
8-clap of thunder
9-4213
10-2,4,1,3
11-4123
12-Qp
13) Causing a variety of problems, lo personal and social problems
14)Were measured against, empty act of taking a simple tablet
14-were against measured
15-problem everyone wants
16-jaywalking
17-BEDCA
18- PQ
19-kumaresan had not
Telegram - https://t.me/placements_study_materials
Repost from OFF CAMPUS DRIVE IT
for i in range(int(input())):
n = input()
if n == n[::-1]:
print("wins")
else:
print("loses")
Python
Repost from OFF CAMPUS DRIVE IT
Tcs 9 am answers
1) 625/126
2)1/15
3)1/5,-1/5
4)7
5)22.5
6)43.72
7)2500
8)13.5
9)13.27
10)40%
11)217:65:18
12)8500
13)600
14)33
15)9
10- 40%
11) 217:65:18
12) 8500
13) 600
14)33
15)913-300
16)12✓3
17)1/2
18)0
19)8
20)70
Telegram - https://t.me/placements_study_materials
Repost from OFF CAMPUS DRIVE IT
10- 40%
11) 217:65:18
12) 8500
13) 600
14)33
15)913-300
14-33
15-9
16-12✓3
17-1/2
18-0
19-8
20-70
Telegram - https://t.me/placements_study_materials
Repost from OFF CAMPUS DRIVE IT
#include<stdio.h>
#include<string.h>
int main()
{
int t;
long int sum=0,l;
char s[100000];
scanf("%d",&t);
while(t--)
{
scanf("%s",s);
l=strlen(s);
for(int i=0;s[i];i++)
{
if(s[i]=='a's[i]=='e's[i]=='i'||s[i]=='o'
s[i]=='u's[i]=='A's[i]=='E's[i]=='I's[i]=='O's[i]=='U')
sum=sum+(i+1)*(l-i);
}
printf("%ld\n",sum);
sum=0;
}
return 0;
}
C++
Telegram -https://t.me/placements_study_materials
Repost from OFF CAMPUS DRIVE IT
TCS NQT 19TH AUG
1)625/126
2)1/15
3)1/5,-1/5
4) 7
5)22.5
6)43.72
7)2500
8-13.5
9-13:27
10- 40%
11) 217:65:18
12) 8500
13) 600
Telegram - https://t.me/placements_study_materials
Hello Coderz,
Are You looking for Internships?
The Summer Of 2022 is at it's peak and many of you may haven't got any opportunities yet.
No need to worry!!!
@rawcoderz are Here for you,
✨List Of 1100+ Tech Companies Interns Offer✨
Check Out the Pdf 🤌👇
All the best... & Share with your Krishna/Sudama 🕊
