๐๐ฆ ๐๐น๐ด๐ผ ๐ป ๐ ใ๐๐ผ๐บ๐ฝ๐ฒ๐๐ถ๐๐ถ๐๐ฒ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ดใ
Python 3โ
import java.util.Scanner;
public class Source {
public static String canReachFavoriteNumber(int n, int m, int[] stack1, int[] stack2, int[] stack3) {
for (int i = 0; i < (1 << n); i++) {
int knowledge = 0;
for (int j = 0; j < n; j++) {
if ((i & (1 << j)) != 0) {
knowledge |= stack1[j];
}
}
for (int j = 0; j < n; j++) {
if ((i & (1 << j)) != 0) {
knowledge |= stack2[j];
}
}
for (int j = 0; j < n; j++) {
if ((i & (1 << j)) != 0) {
knowledge |= stack3[j];
}
}
if (knowledge == m) {
return "YES";
}
}
return "NO";
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int t = scanner.nextInt();
for (int testCase = 0; testCase < t; testCase++) {
int n = scanner.nextInt();
int m = scanner.nextInt();
int[] stack1 = new int[n];
int[] stack2 = new int[n];
int[] stack3 = new int[n];
for (int i = 0; i < n; i++) {
stack1[i] = scanner.nextInt();
}
for (int i = 0; i < n; i++) {
stack2[i] = scanner.nextInt();
}
for (int i = 0; i < n; i++) {
stack3[i] = scanner.nextInt();
}
String result = canReachFavoriteNumber(n, m, stack1, stack2, stack3);
System.out.println(result);
}
}
}
Java โ
public class Source {
public static String canReachFavoriteNumber(int n, int m, int[] stack1, int[] stack2, int[] stack3) {
for (int i = 0; i < (1 << n); i++) {
int knowledge = 0;
for (int j = 0; j < n; j++) {
if ((i & (1 << j)) != 0) {
knowledge |= stack1[j];
}
}
for (int j = 0; j < n; j++) {
if ((i & (1 << j)) != 0) {
knowledge |= stack2[j];
}
}
for (int j = 0; j < n; j++) {
if ((i & (1 << j)) != 0) {
knowledge |= stack3[j];
}
}
if (knowledge == m) {
return "YES";
}
}
return "NO";
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int t = scanner.nextInt();
for (int testCase = 0; testCase < t; testCase++) {
int n = scanner.nextInt();
int m = scanner.nextInt();
int[] stack1 = new int[n];
int[] stack2 = new int[n];
int[] stack3 = new int[n];
for (int i = 0; i < n; i++) {
stack1[i] = scanner.nextInt();
}
for (int i = 0; i < n; i++) {
stack2[i] = scanner.nextInt();
}
for (int i = 0; i < n; i++) {
stack3[i] = scanner.nextInt();
}
String result = canReachFavoriteNumber(n, m, stack1, stack2, stack3);
System.out.println(result);
}
}
}
Java โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
IBM Hiring
Apply link:- https://careers.ibm.com/job/19372309/application-developer-content-courseware-design-bangalore-in/
You will get test link immediately after applying.
Link will expire soon so apply ASAP.
Playsegment
IBM โ
IBM โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Sprinklr Hiring Product Analyst
Batch - 2023/2022/2021
Link - https://sprinklr.wd1.myworkdayjobs.com/en-US/careers/job/India---Haryana---Gurgaon/Product-analyst_107446-JOB
Batch - 2023/2022/2021
Link - https://sprinklr.wd1.myworkdayjobs.com/en-US/careers/job/India---Haryana---Gurgaon/Product-analyst_107446-JOB
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Ericsson Hiring Automation Analyst
Link - https://jobs.ericsson.com/careers/job/563121757320992-automation-analyst-gurgaon-haryana-india?domain=ericsson.com
Link - https://jobs.ericsson.com/careers/job/563121757320992-automation-analyst-gurgaon-haryana-india?domain=ericsson.com
Ericsson
Automation Analyst | Gurgaon,Haryana,India | Ericsson
Work with local IT to confirm IT security assessment and data privacy controls (no file can be transmitted without this). Coordinate project timeline with business, receiving vendor, and payroll development to ensure all development, test, and launch datesโฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
https://www.linkedin.com/posts/suruchi-dambhare-b0910b171_hexaware-activity-7138860722356207617-OFkN
Linkedin
Suruchi Dambhare on LinkedIn: #hexaware | 144 comments
Hexaware Technologies Ltd. is hiring for Domestic English Voice Process
Job Title: - Customer Support Executive (E-Commerce Domain)
Job Location: - MIHANโฆ | 144 comments on LinkedIn
Job Title: - Customer Support Executive (E-Commerce Domain)
Job Location: - MIHANโฆ | 144 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Only 2024 Batch
Note : BE/Btech are not eligible
https://usrecruiting.deloitte.com/usi-open-talent-network-risk-and-financial-advisory#subpage/undergraduate/section/nkljb
Note : BE/Btech are not eligible
https://usrecruiting.deloitte.com/usi-open-talent-network-risk-and-financial-advisory#subpage/undergraduate/section/nkljb
Deloitte
Open Talent Network by Risk & Financial Advisory - Deloitte US-India Offices
Deloitte US-India Offices' Risk and Financial Advisory presents Open Talent Network 3.0 - for all final-year students looking for career opportunities.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Forbes Advisor hiring Intern - Data Research (Looking for 2023 graduates/ BCA/MCA/Bsc-Csc/ BE/ Btech) in Mumbai, Maharashtra, Indiaโฆ
Posted 9:22:09 AM. Company DescriptionForbes Advisor is a new initiative for consumers under the Forbes MarketplaceโฆSee this and similar jobs on LinkedIn.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Company Name: Autodesk
Batch: 2023 passouts
Role: Software Engineer Apprentice
Apply Link : https://autodesk.wd1.myworkdayjobs.com/en-US/uni/job/Apprentice--Software-Engineer--For-2023-Graduates-Only-_23WD74228
Batch: 2023 passouts
Role: Software Engineer Apprentice
Apply Link : https://autodesk.wd1.myworkdayjobs.com/en-US/uni/job/Apprentice--Software-Engineer--For-2023-Graduates-Only-_23WD74228
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
๐ฏ NTrust Infotech Walk-in Drive 2023 for Trainee | 11 to 15 December 2023 ๐ฏ
Job Role : Trainee
Qualification : B.Com/BA/BCA/B.Sc/BBM/BBA
Batch : : 2023
Salary : Rs. 2.15 Lakhs per Annum
Job Role : Trainee
Qualification : B.Com/BA/BCA/B.Sc/BBM/BBA
Batch : : 2023
Salary : Rs. 2.15 Lakhs per Annum