Sponsors

Programming

Codeforces Round #443 (Div....

#include<bits/stdc++.h> using namespace std; int main() { int n,i,s,d,t=0; cin>>n; for(i=0;i<n;i++) { cin>>s>>d; while(s<=t) { s=s+d; } t=s; } cout<<s<<endl; }

Codeforces Round #444 (Div....

#include<bits/stdc++.h> #define maxn 1000050 using namespace std; int a,b,c,n,k,m,t; int main() { ...

Codeforces Round #444 (Div....

#include<iostream> #include<cstdio> #include<cstring> #include<string> #include<cmath> #include<algorithm> #include<cstdlib> #define eps 1e-7 using namespace std; double x,y,r,L; struct node{double l,r;}a; struct P{double...

Codeforces Round #444 (Div....

#include <cstdio> #include <algorithm> using namespace std; long long n,a,b,c,d,st,len,t; int q; int main() { scanf("%lld%lld%lld%lld%lld%lld%lld",&n,&a,&b,&c,&d,&st,&len); for...

Codeforces Round #444 (Div....

#include <bits/stdc++.h> using namespace std; const int R = { {12, 13,...

Codeforces Round #444 (Div....

#include<stdio.h> int main() { int n,i,j,k,m,A,B; scanf("%d",&n); for(i=1;i<=n;i++){ for(j=1;j<=6;j++){ scanf("%d",&A);} } for(i=1;i<=100;i++){ B=0;} for(i=1;i<=n;i++){ for(j=1;j<=6;j++){ B]=1; for(k=1;k<=n;k++){ for(m=1;m<=6;m++){ if (k!=i){ B*10+A]=1; } } } } } i=1; while(B){ i++;} printf("%d",i-1); return 0; }

Codeforces Round #444 (Div....

#include<stdio.h> char s; int main() { scanf(" %s",s); int x=0,y=0,z=0; while(s=='0') x++; while(s!=0) z++; for(int i=x+1;i<z;i++) if(s=='0')...

Codeforces Round #436 (Div....

#include<cstdio> #include<algorithm> #include<cstring> using namespace std; const int N = 3005, INF =...

Codeforces Round #436 (Div....

#include<iostream> #include<cstdio> #include<algorithm> #include<bitset> using namespace std; struct node{ int t,d,p,tot; }a; int f; bool cmp(node x,node y){ return...

Codeforces Round #436 (Div....

#include <bits/stdc++.h> using namespace std; int main(){ int k,sum=0,end,cap,f,tank; for(cin>>end>>cap>>f>>k,tank=cap;k--;f=end-f) if(tank<f||cap<end-f) return cout<<-1,0; else if(tank>=end+(k?end-f:0))...

Codeforces Round #436 (Div....

#include <stdio.h> int c; void reset(){ for(int i=0;i<26;i++){ c=0; } } int main(){ int n,i,cur=0,max=0; scanf("%d",&n); char a; scanf("%s",a); reset(); for(i=0;i<n;i++){ if(a>='A' &&...

Codeforces Round #436 (Div....

#include<cstdio> #include<iostream> using namespace std; int n,cnt,ans,A,B; int buck; int main(){ scanf("%d",&n); for(int i = 1;i...

Explore more titles

Stop scrolling! This Portable Door Lock Travel Home Security is insane!

Found the best Portable Door Lock Travel Home Security on Amazon today. 🛍️ VIEW LIVE PRICE & DETAILS ...

STOP staying in hotels without doing THIS! 🏨⚠️

I used to think my hotel room was safe until I realized literally anyone with a master key card could walk right in. 🛑...

Trending Today: Portable Door Lock Travel Home Security

Check out the amazing Portable Door Lock Travel Home Security on Amazon right now! 🛒 SEE DEALS ON AMAZON ...

STOP Scrubbing Your Life Away: Why This Gadget is Going Viral for All the Right Reasons! 🧼✨

Category: Home GadgetsLet’s be real for a second—is there anything more soul-crushing than getting on your hands and knees to scrub the grout in...

🔥 This Electric Spin Scrubber Pro is a Life-Saver!

Category: Home GadgetsEveryone is talking about this amazing Electric Spin Scrubber Pro.👉 SEE BEST PRICE ON AMAZON

🚫 STOP PICKING UP PLASTIC! The Summer Hack You Need! 💦🎈

If you’re still tying hundreds of tiny rubber balloons and picking up microplastic confetti from your lawn, please stop immediately! 🛑I just discovered these...

Screen Cleaner Kit

Screen Cleaner KitStop everything you are doing, because I have officially found the **holy grail of tech accessories.** 🛑✨ If you are anything like...

ImmunityBio, Inc. Securities Fraud Class Action Result of FDA Warning and 21% Stock Decline – Investors may Contact Lewis Kahn, Esq, at Kahn Swick...

ImmunityBio, Inc. Faces Securities Fraud Class Action After FDA Warning and Stock Decline Investors in ImmunityBio, Inc. (NASDAQ: IBRX) are navigating turbulent waters following the...

Byron Allen wanted to own Paramount. He’s buying BuzzFeed instead. – Business Insider

Byron Allen Shifts Focus: Acquires Controlling Stake in BuzzFeed In a move that has sent shockwaves through the digital media industry, mogul Byron Allen has...

Advertisement