Who need codes mesg to @rockycoder780
It's paid 200/- for both codes ๐๐๐๐๐๐โ โ ๐ฏ๐ฏ
All test cases passed
It's paid 200/- for both codes ๐๐๐๐๐๐โ โ ๐ฏ๐ฏ
All test cases passed
Vijay Industrial code โ
Stream : Python ๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
Stream : Python ๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
N=int(input())
K=int(input())
price=list(map(int,input().split()))
vol=list(map(int,input().split()))
maxvol=0
volu=0
maxvol=max(vol)
for i in range(0,N):
if (maxvol==vol[i] and price[i]<=K):
K=K-price[i]
volu=maxvol
for i in range(0,N):
for j in range(i+1,N+1):
if (price[i]<=K and price[i]==price[j]):
if (vol[i]>vol[j]):
volu=volu+vol[i]
K=K-price[i]
else:
volu=volu+vol[j]
K=K-price[j]
elif (price[i]<=K and price[i]!=price[j]):
K=K-price[i]
volu=volu+vol[i]
print(volu)
Vijay Industrial code โ
Stream : Python ๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
K=int(input())
price=list(map(int,input().split()))
vol=list(map(int,input().split()))
maxvol=0
volu=0
maxvol=max(vol)
for i in range(0,N):
if (maxvol==vol[i] and price[i]<=K):
K=K-price[i]
volu=maxvol
for i in range(0,N):
for j in range(i+1,N+1):
if (price[i]<=K and price[i]==price[j]):
if (vol[i]>vol[j]):
volu=volu+vol[i]
K=K-price[i]
else:
volu=volu+vol[j]
K=K-price[j]
elif (price[i]<=K and price[i]!=price[j]):
K=K-price[i]
volu=volu+vol[i]
print(volu)
Vijay Industrial code โ
Stream : Python ๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
Vijay Industrial code โ
Stream : Python ๐ฏ
๐๐ Telegram:
https://t.me/exam_cell_solutions_rb
https://t.me/exam_cell_solutions_rb
Stream : Python ๐ฏ
๐๐ Telegram:
https://t.me/exam_cell_solutions_rb
https://t.me/exam_cell_solutions_rb
N=int(input())
K=int(input())
price=list(map(int,input().split()))
vol=list(map(int,input().split()))
maxvol=0
volu=0
maxvol=max(vol)
for i in range(0,N):
if (maxvol==vol[i] and price[i]<=K):
K=K-price[i]
volu=maxvol
for i in range(0,N):
for j in range(i+1,N+1):
if (price[i]<=K and price[i]==price[j]):
if (vol[i]>vol[j]):
volu=volu+vol[i]
K=K-price[i]
else:
volu=volu+vol[j]
K=K-price[j]
elif (price[i]<=K and price[i]!=price[j]):
K=K-price[i]
volu=volu+vol[i]
print(volu)
Vijay Industrial code โ
Stream : Python ๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
K=int(input())
price=list(map(int,input().split()))
vol=list(map(int,input().split()))
maxvol=0
volu=0
maxvol=max(vol)
for i in range(0,N):
if (maxvol==vol[i] and price[i]<=K):
K=K-price[i]
volu=maxvol
for i in range(0,N):
for j in range(i+1,N+1):
if (price[i]<=K and price[i]==price[j]):
if (vol[i]>vol[j]):
volu=volu+vol[i]
K=K-price[i]
else:
volu=volu+vol[j]
K=K-price[j]
elif (price[i]<=K and price[i]!=price[j]):
K=K-price[i]
volu=volu+vol[i]
print(volu)
Vijay Industrial code โ
Stream : Python ๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
Channel name was changed to ยซTCS NQT 21TH || TCS IRA 22ND JAVA/ PYTHON || TCS PRA JAVA/ PYTHON || IEVOLVE ANSWERSยป
Channel name was changed to ยซTCS NQT 21st || TCS IRA 22ND JAVA/ PYTHON || TCS PRA JAVA/ PYTHON || IEVOLVE ANSWERSยป
n=int(input())
k=int(input())
mon=[]
for i in range(n):
mon.append(int(input()))
mi=min(mon)
ma=max(mon)
ma=ma-k
mi=mi+k
diff=ma-mi
print(diff)
Readington Code โ
Stream :Python 3๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ โ Share โ โ share โ โ share
k=int(input())
mon=[]
for i in range(n):
mon.append(int(input()))
mi=min(mon)
ma=max(mon)
ma=ma-k
mi=mi+k
diff=ma-mi
print(diff)
Readington Code โ
Stream :Python 3๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ โ Share โ โ share โ โ share
Readington Code โ
Stream :Python 3๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ โ Share โ โ share โ โ share
Stream :Python 3๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ โ Share โ โ share โ โ share
( Line 5 :- for i in range(a):
Readington Code โ
Stream :Python 3๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ โ Share โ โ share โ โ share
Readington Code โ
Stream :Python 3๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ โ Share โ โ share โ โ share
Readington Code โ
Stream :Python 3๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ โ Share โ โ share โ โ share
Stream :Python 3๐ฏ
๐๐ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ โ Share โ โ share โ โ share
TCS NQT AUGUST 21st 2Pm slot โ
โ
๐ฏ
Aptitude ๐ฏ๐ฏ
1.4
2.0
3.96,50
4.1
5.293.75
6.182.82
7.7,05,600
8.9300
9.73
10.9,33,308
11.A/16,BC/5
12.120
13.13 days
14.5.5 hours
15.2hrs 30mins
16.154
17.13
18.33
19.44
20.28
๐๐ Telegram,:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ Keep sharing our channel screenshot in large gorups for complete help โ
Aptitude ๐ฏ๐ฏ
1.4
2.0
3.96,50
4.1
5.293.75
6.182.82
7.7,05,600
8.9300
9.73
10.9,33,308
11.A/16,BC/5
12.120
13.13 days
14.5.5 hours
15.2hrs 30mins
16.154
17.13
18.33
19.44
20.28
๐๐ Telegram,:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python
โ Keep sharing our channel screenshot in large gorups for complete help โ