IBM EXAM SOLUTION
前往频道在 Telegram
500+ Placement & Competitive Exam Materials 75+ Companies Materials 100+ JOB Updates in a Month 🚀DM for Promotion @Wren_0 🚀Placement Updates: @offcampusjobs_0 🌟 Placment Material: @placement_materials0
显示更多未指定国家未指定类别
198
订阅者
无数据24 小时
无数据7 天
无数据30 天
帖子存档
@harry907 [
1951394799] is sending a spam message.
Action: Warn (1/3) ❕ until 22/09/2021 18:59.Hi Mo Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi Devakumar Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
TCS Smart Hiring | 2020 2021 2022 Batch | BSc BCA
⚠️ Deadline - 2nd Nov
📆 Exam Date - 19th Nov
tcs.com/careers/tcs-smart-hiring
✅ Share post with ur college 2022 Batches
Telegram - https://t.me/offcampusjobs_0
Hi Chandana Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi Sudeesh Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Xor and count
PYTHON code
def xexamster(n,arr,queries):
ans = []
lst = [0]
for i in arr:
lst.append(i)
for i in queries:
sublist = []
l,r = i[0],i[1]
res = helper(l,r)
for j in res:
temp = [lst[k] for k in range(j[0],j[1]+1)]
X=0
for k in temp:
X^=k
if (X^1)==(X+1):
sublist.append(j)
ans.append(len(sublist))
return ans
def helper(l,r):
res = []
i=l
while i<=r:
for j in range(i,r+1):
res.append([i,j])
i+=1
return res
n = int(input())
m = int(input())
lst = list(map(int,input().split()))
q = []
for i in range(m):
l,r = map(int,input().split())
q.append([l,r])
result = xexamster(n,lst,q)
print(*result)
Xor and count
PYTHON code
Join for more
https://t.me/offcampusjobs_0
Avariki Ayan GRE and TOEFL kavalaa kavalisna Vallu ping chayandi chala takkuva ki rastanu
GET ALL THE SOLUTIONS TOMORROW
JUST HIT THE SUBSCRIBE BUTTON
WE WILL SHARE THE SOLUTION THIS CHANNEL 🚀🚀
https://youtube.com/channel/UCmYO_4lgP8V5qRAunlc9wSg
Viven [
1833528157] is sending a spam message.
Action: Warn (1/3) ❕ until 08/10/2021 01:34.Hi R.V.Giran Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Dear all
*Those who are shortlisted for INFYTQ ADVANTAGE ROUND*
▶️ NEED NOT REGISTERED FOR THE ADVANTAGE EXAM SEPARATELY
▶️ If you are registered for HACKWITHINFY, the same exam will be considered as ADVANTAGE ROUND
▶️ If you are not registered for HACKWITHINFY, Infosys will allot the exam date(it will be on March 5th)-Infosys will send mail
http://t.me/HackWithInfy_group
