2 051
المشتركون
لا توجد بيانات24 ساعات
لا توجد بيانات7 أيام
لا توجد بيانات30 أيام
أرشيف المشاركات
Hi Klara Stread Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
n=int(input())
x=int(input())
y=int(input())
z=int(input())
a=[]
for i in range(n):
a.append(int(input()))
s=(x*1)+(y*2)+(z*3)
c=0
for i in a:
if i<=s:
c+=1
print(c)
Python
John Code
Telegram
https://t.me/Coding_solution_0
public int numDecodings(String s) { int [] numberOfDecodings = new int [s.length()]; int currentNum, nextNum; currentNum = Integer.parseInt(s.charAt(s.length() - 1 )+""); if ( currentNum != 0 ) numberOfDecodings [s.length() - 1 ] = 1; else numberOfDecodings [s.length() - 1 ] = 0; for (int i = s.length() - 2; i >= 0; i--) { nextNum = currentNum; currentNum = Integer.parseInt(s.charAt(i) +""); if (currentNum == 0) numberOfDecodings [i] = 0; else { if ( currentNum >= 3 || (currentNum == 2 && nextNum >= 7 ) ) numberOfDecodings [i] = numberOfDecodings [i + 1]; else if ( i + 2 <= s.length() - 1 && ( ( currentNum == 1 || currentNum == 2 ) && nextNum == 0) ) numberOfDecodings [i] = numberOfDecodings [i + 2]; else { if ( i + 2 <= s.length() - 1) numberOfDecodings [i] = numberOfDecodings [i + 1] + numberOfDecodings [i + 2]; else { if ( ( currentNum == 1 || currentNum == 2 ) && nextNum == 0) numberOfDecodings [i] = 1; else numberOfDecodings [i] = 2; } } } } return numberOfDecodings [0]; } }
Hi Haripriya , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi Tej Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi Tony Starck Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@placement_0
@placement_0
Hi Vaishnavi , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi .. Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
