TCS PRA 6th September || JAVA/ PYTHON || IEVOLVE ANSWERS
2.69K subscribers
385 photos
1.62K files
124 links
Download Telegram
TCS NQT 2PM SLOT AUGUST 20 โœ…๐Ÿ’ฏ

ADVANCE ๐Ÿ’ฏ๐Ÿ’ฏ

1.5/48
2.45 C
3.3
4.B
5.15
6.4
7.291060
8.2016
9.marketing
10.accounting


Advance Reasoning ๐Ÿ’ฏโœ…
11.No
12.puma
13.171820911
14.14
15.data in both statement
16.Candidates is not to be selected
17.Harsh
18.UBPJDJQU


๐Ÿ“Œ๐Ÿ“Œ Telegram:
https://t.me/tcs_pra_java_python
https://t.me/tcs_pra_java_python

Keep Sharing โœ…Keeping Sharing โœ… make our channel 3K for Free coding answers โœ…๐Ÿ’ฏ๐Ÿ’ฏ

In your WhatsApp groups and our channel screenshot in large groups ๐Ÿ™๐Ÿป๐Ÿ™๐Ÿป๐Ÿ™๐Ÿป
๐Ÿ‘2๐Ÿฅฐ1๐Ÿ‘1
Who need codes mesg to @rockycoder780

It's paid 200/- for both codes ๐Ÿƒ๐Ÿƒ๐Ÿƒ๐Ÿƒ๐Ÿƒ๐Ÿ˜Œโœ…โœ…๐Ÿ’ฏ๐Ÿ’ฏ


All test cases passed
๐Ÿ‘2
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
๐Ÿ‘5
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
๐Ÿ‘1
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
๐Ÿ‘2