Sponsors

C/C++

Codeforces Round #429 (Div....

#include<cstdio> using namespace std; const int MAXN = 300000+5; const int MAXE...

Codeforces Round #429 (Div....

#include<bits/stdc++.h> using namespace std; int main(){ std::ios::sync_with_stdio(false); int m; cin>>m; int a,b; for(int i=0;i<m;i++) cin>>a; vector<pair<int,int> >br(m); for(int i=0;i<m;i++){ cin>>b; br=make_pair(b,i); } sort(a,a+m); int...

Codeforces Round #429 (Div....

#include<cstdio> int main() { int n;int t;scanf("%d",&n); for(int i=1;i<=n;i++) {scanf("%d",&t); if(t%2) { printf("First"); return 0; } } printf("Second"); return 0; }

Codeforces Round #429 (Div....

#include<iostream> using namespace std; int i,j,n,k,a; string s; main(){ for(cin>>n>>k>>s;i<s.size();)a-'a']++; for(i=0;j<26;)a>k?i=1:0; cout<<(i?"NOn":"YESn"); }

Codeforces Round #419 (Div....

#include <bits/stdc++.h> using namespace std; const int N=200007; int n,k,q,a,b,p,c,i; int main(){ cin>>n>>k>>q; for(i=0;i<n;i++)cin>>a>>b,p++,p--; for(i=1;i<N;i++)p+=p,c+=c+(p>=k); for(i=0;i<q;i++){cin>>a>>b;cout<<c-c<<'n'; } }

Codeforces Round #419 (Div....

#include<bits/stdc++.h> int m,s,t; int main(){ t=0; scanf("%d:%d",&m,&s); while(m/10+m%10*10!=s){ s++,t++; if(s>59)m++,s=0; if(m>23)m=0; } printf("%dn",t); }

Codeforces Round #419 (Div....

#include <bits/stdc++.h> using namespace std; typedef pair<long long,long long> ii; long long...

Codeforces Round #419 (Div....

#include <bits/stdc++.h> #define ll long long using namespace std; const int N...

Codeforces Round #419 (Div....

#include<cstdio> #include<algorithm> #include<queue> using namespace std; const int N=5010; int n,m,c,d,fa; int w,head,next; void add(int f,int...

Codeforces Round #419 (Div....

#include <cstdio> #include <iostream> #include <cstring> #include <cstdlib> using namespace std; #define ll long...

Codeforces Round #419 (Div....

#include <bits/stdc++.h> #define inf 0x3f3f3f3f #define rep(i, n) for (int i...

Codeforces Round #420 (Div....

#include <stdio.h> #define m 1000000007u typedef long long unsigned llu; typedef unsigned...

Explore more titles

I made one change and streaming instantly got better

The One TV Setting Change That Instantly Improves Your Streaming Experience If you've recently upgraded to a new smart TV and noticed that your favorite...

Which scientist born in 13 november?

Ernst Öpik: The Legendary Astrophysicist Born on November 13th In the vast calendar of scientific history, certain dates mark the beginning of groundbreaking lives. November...

Master Chief voice actor Steve Downes says AI voice cloning crosses a line and wants it to stop

Master Chief Voice Actor Steve Downes Slams Unauthorized AI Voice Cloning The iconic voice behind the legendary Master Chief of the Halo series, Steve Downes,...

Hotel software maker Mews nabs $300M at $2.5B valuation

Mews Secures Massive $300M Series D Round, Hitting $2.5 Billion Valuation The landscape of hospitality technology is rapidly evolving, and few companies are making a...

Lagos forum launches scholarship drive for indigent secondary students

Lagos Gentry Forum Launches Crucial Scholarship Drive for Indigent Students In a significant move aimed at democratizing access to tertiary education, the Lagos Gentry Forum...

Quick News: Red, Custom, Fix, Bambo, Kenan

President Claremont and King James III Return: 'Red, White & Royal Wedding' Sequel Confirmed Fans of the beloved romantic comedy Red, White & Royal Blue...

AGI Needs World Models and State of World Models

Demis Hassabis: AGI Requires 'World Models,' LLMs Alone Are Not Enough In the fiercely competitive race toward Artificial General Intelligence (AGI), the CEOs of leading...

PM gives management masterclass in the lexicology of Luxonese

The Art of Obfuscation: Deconstructing the Lexicology of ‘Luxonese’ In the high-stakes arena of modern governance, the way a leader communicates is often as important...

Drew Gill Wins MLF Bass Pro Tour B&W Trailer Hitches Stage 1 on Lake Guntersville Presented by Mercury

Drew Gill Dominates Lake Guntersville, Securing MLF Bass Pro Tour Stage 1 Victory The 2026 Major League Fishing (MLF) season kicked off with a stunning...

Advertisement