Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
β€1
Please open Telegram to view this post
VIEW IN TELEGRAM
Form the string β
def form_str(n, subs, main):
m_len = len(main)
dp = [float('inf')] * (m_len + 1)
dp[0] = 0
for i in range(m_len + 1):
if dp[i] == float('inf'):
continue
for s, c in subs:
s_len = len(s)
max_olap = min(i, s_len)
for olap in range(max_olap + 1):
start = i - olap
end = start + s_len
if end > m_len:
continue
if start >= 0:
if main[start:i] == s[:olap]:
if main[i:end] == s[olap:]:
dp[end] = min(dp[end], dp[i] + c)
return "Impossible" if dp[m_len] == float('inf') else dp[m_len]
n = int(input())
subs = []
for _ in range(n):
ln = input().strip()
if not ln:
continue
parts = ln.split()
if len(parts) != 2:
w = " ".join(parts[:-1])
cost = int(parts[-1])
else:
w, cost = parts[0], int(parts[1])
subs.append((w, cost))
main = input().strip()
subs = [(s, c) for s, c in subs if s in main]
print(form_str(n, subs, main), end="")
AMDOCS ONCAMPUS help done βΆοΈ βοΈ
Test accomplishedβΆοΈ
All placement help available
OA HELP: @MRTRUELIVING_IXβοΈ
#Amdocs #ONCAMPUS #Done
Test accomplished
All placement help available
OA HELP: @MRTRUELIVING_IX
#Amdocs #ONCAMPUS #Done
Please open Telegram to view this post
VIEW IN TELEGRAM
https://app.joinsuperset.com/join/#/signup/student/jobprofiles/896ca255-1e49-462a-9991-abb6e8d1cbb7
Only for womens
Infor off campus - 2025 batch
Apply now
https://whatsapp.com/channel/0029VahiS3p2v1IyoS891Y1g/1347
Only for womens
Infor off campus - 2025 batch
Apply now
https://whatsapp.com/channel/0029VahiS3p2v1IyoS891Y1g/1347
Please open Telegram to view this post
VIEW IN TELEGRAM
void sort_students(struct Student arr[], int n) {
struct Student temp;
for (int i = 0; i < n-1; i++) {
for (int j = i+1; j < n; j++) {
if (arr[i].score < arr[j].score ||
(arr[i].score == arr[j].score && strcmp(arr[i].first_name, arr[j].first_name) > 0) ||
(arr[i].score == arr[j].score && strcmp(arr[i].first_name, arr[j].first_name) == 0 && strcmp(arr[i].last_name, arr[j].last_name) > 0)) {
temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
}
}
}AMDOCS β
Please open Telegram to view this post
VIEW IN TELEGRAM
Oracle βοΈ
Test accomplished β€οΈ
All placement help available
HELP: @MRTRUELIVING_IX
#ORACLE #ONcampus #DoneβΆοΈ
Test accomplished β€οΈ
All placement help available
HELP: @MRTRUELIVING_IX
#ORACLE #ONcampus #Done
Please open Telegram to view this post
VIEW IN TELEGRAM
Accenture ON // OFF campus
Help available
-@MRTRUELIVING_IX
-@MRTRUELIVING_IX
HELP THROUGH THE REMOTE ACCESSβΆοΈ
π― Test Clearanceπ€
Help available
-@MRTRUELIVING_IX
-@MRTRUELIVING_IX
HELP THROUGH THE REMOTE ACCESS
π― Test Clearance
Check previous helping proofsπ¦ π«‘ π€
Please open Telegram to view this post
VIEW IN TELEGRAM
Dear Students, This is to inform you that ACCENTURE campus drives are cancelled across India due to unforeseen circumstances. All the colleges received mail from HR.
#Alert #Accenture #ONCAMPUS
Please open Telegram to view this post
VIEW IN TELEGRAM
π4
Please open Telegram to view this post
VIEW IN TELEGRAM
def maxEvents(arrival, duration, n):
c = arrival[0]
d = 0
for i in range(n):
if 1 <= arrival[i] <= 1000 and 1 <= duration[i] <= 1000:
if c <= arrival[i]:
c = arrival[i] + duration[i]
d += 1
return d
Meesho maxEvents
Please open Telegram to view this post
VIEW IN TELEGRAM
DevRev sending interview mail's βΆοΈ
Check your mailsβοΈ
Congratulations π & Well prepared for that βΊοΈ
#DEVREV #INTERVIEW
Check your mails
Congratulations π & Well prepared for that βΊοΈ
#DEVREV #INTERVIEW
Please open Telegram to view this post
VIEW IN TELEGRAM
β€2π1π«‘1
Upcoming all placement help available
-@MRTRUELIVING_IX
TEST Clearance π―βΆοΈ
#Remote Access
Feel free to contact @MRTRUELIVING_IX
-@MRTRUELIVING_IX
TEST Clearance π―
#Remote Access
Feel free to contact @MRTRUELIVING_IX
Please open Telegram to view this post
VIEW IN TELEGRAM