Coding | EXAMS | IBM ACCENTURE | VIRTUSA | IBM | AMAZON | TCS | EPAM | WILEY EDGE | TECH MAHINDRA | JPMORGAN | HCL | WIPRO
Open in Telegram
Main channel https://t.me/Coding_000 Contact Admin 👉 @ILOVEU_143 for booking your exam slots Web- https://coding000.github.io/Projects/ 💯% clearance in any placement exams OffCampus -https://t.me/Offcampus_000 Discussion- https://t.me/exams_discussion
Show more3 257
Subscribers
No data24 hours
-107 days
-3930 days
Posts Archive
python
22 Oct 2022, 06:45
MAX = 10000
# prefix[i] is going to
# store count of primes
# till i (including i).
pt =[0]*(MAX + 1)
def abc():
prime = [1]*(MAX + 1)
p = 2
while(p * p <= MAX):
if (prime[p] == 1):
i = p * 2
while(i <= MAX):
prime[i] = 0
i += p
p+=1
for p in range(2,MAX+1):
pt[p] = pt[p - 1]
if (prime[p]==1):
pt[p]+=1
//@Coding_000
def query(a,b):
return pt[b]-pt[a-1]
n=int(input())
c=0
for i in range(n):
a,b=map(int,input().split())
abc()
c+=query(a,b)
mod=10**9+7
print(c%mod)
prime numbers in range[L,R]
All test cases passed
Telegram :- @Coding_000
22 Oct 2022, 06:40
Alex code
Python3 👆👆👆
22 Oct 2022, 06:39
Array A length n code
22 Oct 2022, 06:30
C++
XOR code 👆
22 Oct 2022, 06:24
Send all ur questions here
https://t.me/+TF1M5QbSkTEwNjA1
https://t.me/+TF1M5QbSkTEwNjA1
share our channel @Coding_000✅✅✅✅✅✅✅
22 Oct 2022, 05:32
AnimatedSticker.tgs0.02 KB
22 Oct 2022, 05:29
INFOSYS Exam Ans (22/10/22)
3:00PM
↗️Share with your friends and groups
Telegram:- @Coding_000
22 Oct 2022, 05:05
22 Oct 2022, ~21:17
who want afternoon INFOSYS exam help share our channel fast 😊
SHARE ✅ SHARE ✅@Coding_000
22 Oct 2022, 05:05
22 Oct 2022, ~21:17
Guy's don't worry what ever codes i get i will myself share to you please don't personally dm and ask.
22 Oct 2022, 04:25
22 Oct 2022, ~21:17
My request to our group family don't trust anyone simply and don't lose money 🙏
22 Oct 2022, 04:06
C++ ✅
Koko has an array code
22 Oct 2022, 03:11
INFOSYS Exam Ans (22/10/22)
3:00PM
↗️Share with your friends and groups
Telegram:- @Coding_000
ILOVEU_000❤️😍
22 Oct 2022, 02:25
who want afternoon INFOSYS exam help share our channel fast 😊
@ILOVEU_000❤️❤️
SHARE ✅ SHARE ✅
22 Oct 2022, 02:19
22 Oct 2022, ~05:05
Share share✅✅✅✅
22 Oct 2022, 02:16
22 Oct 2022, 02:14
22 Oct 2022, ~02:14
c++ code @Coding_000
infosys solutions
22 Oct 2022, 02:13
