Stealing window โ
State of Art โ
#include <bits/stdc++.h>
using namespace std;
// Function to find the extended GCD
int64_t extendedGCD(int64_t a, int64_t b, int64_t &x, int64_t &y) {
if (b == 0) {
x = 1;
y = 0;
return a;
}
int64_t x1, y1;
int64_t gcd = extendedGCD(b, a % b, x1, y1);
x = y1;
y = x1 - (a / b) * y1;
return gcd;
}
int main ()
{
int64_t a, b; cin >> a >> b;
int64_t w; cin >> w;
w *= 1000;
int64_t x,y;
int64_t gcd = extendedGCD(a,b,x,y);
if (w%gcd != 0) cout << -1 << endl;
else {
x *= w / gcd;
y *= w / gcd;
a /= gcd;
b /= gcd;
int64_t lowerbound=ceil(-(double)x/b);
int64_t upperbound=floor((double)y/a);
if (lowerbound <= upperbound) {
int64_t res1 = (x+b*lowerbound) + (y-a*lowerbound);
int64_t res2 = (x+b*upperbound) + (y-a*upperbound);
cout << res1 + res2 << endl;
} else {
cout << - 1 << endl;
}
}
}
Fruit weight combinations โ
def romanizer(numbers):
n1 = numbers
final = []
d = {1:'I', 4:'IV', 5:'V', 9:'IX', 10:'X', 40:'XL', 50:'L', 90:'XC', 100:'C', 400:'CD', 500:'D', 900:'CM', 1000:'M'}
for n in n1:
res = ''
while n > 0:
for i, j in reversed(d.items()):
if i <= n:
n -= i
res += j
break
final.append(res)
return final
Python3โ
n1 = numbers
final = []
d = {1:'I', 4:'IV', 5:'V', 9:'IX', 10:'X', 40:'XL', 50:'L', 90:'XC', 100:'C', 400:'CD', 500:'D', 900:'CM', 1000:'M'}
for n in n1:
res = ''
while n > 0:
for i, j in reversed(d.items()):
if i <= n:
n -= i
res += j
break
final.append(res)
return final
Python3โ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Scogo is hiring for Software Engineer role (2022 and 2023 grads can apply)
Apply only if you have knowledge of React, Typescript and NodeJS.
If interested, send your resume over: shurti@scogo.in
Apply only if you have knowledge of React, Typescript and NodeJS.
If interested, send your resume over: shurti@scogo.in
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int N = scanner.nextInt();
int M = scanner.nextInt();
int[] A = new int[N];
for (int i = 0; i < N; i++) {
A[i] = scanner.nextInt();
}
WaxElement(A, N, M);
scanner.close();
}
private static void WaxElement(int[] A, int N, int M) {
for (int i = 0; i <= N - M; i++) {
int max = A[i];
for (int j = 1; j < M; j++) {
if (A[i + j] > max) {
max = A[i + j];
}
}
System.out.print(max + " ");
}
}
}
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int N = scanner.nextInt();
int M = scanner.nextInt();
int[] A = new int[N];
for (int i = 0; i < N; i++) {
A[i] = scanner.nextInt();
}
WaxElement(A, N, M);
scanner.close();
}
private static void WaxElement(int[] A, int N, int M) {
for (int i = 0; i <= N - M; i++) {
int max = A[i];
for (int j = 1; j < M; j++) {
if (A[i + j] > max) {
max = A[i + j];
}
}
System.out.print(max + " ");
}
}
}
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Daimler Truck is hiring 2024 passouts for Software Roles.
Minimum CGPA: 6.5
Connect with any Daimler employee on LinkedIn and ask for referral (Last Date: 15 Dec)
Minimum CGPA: 6.5
Connect with any Daimler employee on LinkedIn and ask for referral (Last Date: 15 Dec)
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
EY India is looking for professionals for their Business Consulting Risk team to execute various engagements, deliverables, internal audits and business-related presentations.
Position: Consultant
Experience: 0-3 years
Qualification: CA/ MBA / CIA / CA Inter
Location: Gurgaon
Interested candidates can comment and share their resume at rishabh.tyagi1@in.ey.com by mentioning subject as "Application for Consultant at EY"
Position: Consultant
Experience: 0-3 years
Qualification: CA/ MBA / CIA / CA Inter
Location: Gurgaon
Interested candidates can comment and share their resume at rishabh.tyagi1@in.ey.com by mentioning subject as "Application for Consultant at EY"
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Quicko Hiring Multiple Roles
Batch : 2021/2022/2023
https://docs.google.com/forms/d/e/1FAIpQLSfif8e8H_LKGzi_M1ivscytmLx8RW96eLZDA9jt8oF0VoN_Fw/viewform
https://www.linkedin.com/posts/quicko-official_join-our-force-quicko-ugcPost-7140281867747979266-CMLm
Batch : 2021/2022/2023
https://docs.google.com/forms/d/e/1FAIpQLSfif8e8H_LKGzi_M1ivscytmLx8RW96eLZDA9jt8oF0VoN_Fw/viewform
https://www.linkedin.com/posts/quicko-official_join-our-force-quicko-ugcPost-7140281867747979266-CMLm
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Aryan Solutions Pte Ltd is currently Hiring Technical Recruiters
https://www.linkedin.com/posts/jitendra-shukla-470799145_hi-connections-aryan-solutions-pte-ltd-activity-7139908816959160320-__lk
https://www.linkedin.com/posts/jitendra-shukla-470799145_hi-connections-aryan-solutions-pte-ltd-activity-7139908816959160320-__lk
Linkedin
Hi Connections,
Aryan Solutions Pte Ltd is currently Hiring Technicalโฆ | JITENDRA SHUKLA | 173 comments
Aryan Solutions Pte Ltd is currently Hiring Technicalโฆ | JITENDRA SHUKLA | 173 comments
Hi Connections,
Aryan Solutions Pte Ltd is currently Hiring Technical Recruiters
Market Area โ APAC
Profile: Technical Recruiter, IT Recruiter
Fresher or Experience candidate both can apply
Basic Eligibility:
Qualification: B. Tech, BCA, B. Sc, M.โฆ
Aryan Solutions Pte Ltd is currently Hiring Technical Recruiters
Market Area โ APAC
Profile: Technical Recruiter, IT Recruiter
Fresher or Experience candidate both can apply
Basic Eligibility:
Qualification: B. Tech, BCA, B. Sc, M.โฆ
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Only 2024 Batch
https://www.linkedin.com/posts/shoikatdas_internship-opportunities-softwaredevelopment-activity-7139864881377308672-OT_j
https://www.linkedin.com/posts/shoikatdas_internship-opportunities-softwaredevelopment-activity-7139864881377308672-OT_j
Linkedin
Shoikat Das on LinkedIn: #internship #opportunities #softwaredevelopment #joinst #onest | 243 comments
I am looking for a software development intern for the duration of 6/12 months at STMicroelectronics, Greater Noida.
The candidate should be proficient inโฆ | 243 comments on LinkedIn
The candidate should be proficient inโฆ | 243 comments on LinkedIn
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Glider AI is hiring for Associate Software Engineers
If interested share your resume :
shruthi.r@glider.ai
https://www.linkedin.com/posts/vijay-kumar-15253b186_hiring-activity-7138390533441298432-3WWC
If interested share your resume :
shruthi.r@glider.ai
https://www.linkedin.com/posts/vijay-kumar-15253b186_hiring-activity-7138390533441298432-3WWC
Linkedin
Sign Up | LinkedIn
500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Volvo hiring Data Analyst Intern
Batch : 2022/2023
https://xjobs.brassring.com/TGnewUI/Search/home/HomeWithPreLoad?partnerid=25079&siteid=5171&PageType=JobDetails&jobid=774755#jobDetails=774755_5171
Batch : 2022/2023
https://xjobs.brassring.com/TGnewUI/Search/home/HomeWithPreLoad?partnerid=25079&siteid=5171&PageType=JobDetails&jobid=774755#jobDetails=774755_5171
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Lupin hiring Graduate Engineer Trainee - Infotech (Data Engineer)
Experience : 0-1
https://careers.lupin.com/job/Airoli-Graduate-Engineer-Trainee-Infotech-%28Data-Engineer%29/1014227201/
Experience : 0-1
https://careers.lupin.com/job/Airoli-Graduate-Engineer-Trainee-Infotech-%28Data-Engineer%29/1014227201/
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
AI Research Intern - Origin Medical
Batch :2022/2023/2024/2025
https://docs.google.com/forms/d/e/1FAIpQLSdulHiSWdL8BrQ8Kw8C9VBQ1NE2XcOTPWSLprTXut2df6ptnA/viewform
Batch :2022/2023/2024/2025
https://docs.google.com/forms/d/e/1FAIpQLSdulHiSWdL8BrQ8Kw8C9VBQ1NE2XcOTPWSLprTXut2df6ptnA/viewform
Forwarded from OffCampus Jobs | OnCampus Jobs | Daily Jobs Updates | Lastest Jobs | All Jobs | CSE Jobs | Fresher Jobs โฅ (Dushyant)
Linkedin
Ram Kumar on LinkedIn: #freshers | 177 comments
Opportunity for #Freshers : Software Developer Internship at Terabyte Innovations! ๐
Are you passionate about software development and eager to kick-startโฆ | 177 comments on LinkedIn
Are you passionate about software development and eager to kick-startโฆ | 177 comments on LinkedIn