TCS PRA 6th September || JAVA/ PYTHON || IEVOLVE ANSWERS
2.68K subscribers
385 photos
1.62K files
124 links
Download Telegram
Vijay Industrial code โœ…
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
Vijay Industrial code โœ…
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
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
Readington Code โœ…
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
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 โœ…
Share our channel screenshot in large groups ๐Ÿ™๐Ÿป๐Ÿ™๐Ÿป๐Ÿ™๐Ÿป
TCS NQT AUGUST 21st 2Pm slot โœ…โœ…๐Ÿ’ฏ

VERBEL ๐Ÿ’ฏ

1.reach home
2.from the
3.the creation
4. Roams
5.bdca
6.nobel art
7.line gold ....
8.fallen prey
9.3142
10. 3421
11.241
12.D
13.profound C
14.C
15.The scary
16.stoic
17.EDCBA
18.RQ
19.C
20.B
21.RST
22.22.Concrete results in riding temp
24.

๐Ÿ“Œ๐Ÿ“Œ 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 โœ