Home
Blog
What’s New
Life Hacks
Entertainment
Hollywood
Bollywood
Gaming
News
Reviews
Movies
Others
Game
About Us
Contact Us
Search
E-Blogarithm
Home
Blog
What’s New
Life Hacks
Entertainment
Hollywood
Bollywood
Gaming
News
Reviews
Movies
Others
Game
About Us
Contact Us
Saturday, November 16, 2024
Home
Blog
What’s New
Life Hacks
Entertainment
Hollywood
Bollywood
Gaming
News
Reviews
Movies
Others
Game
About Us
Contact Us
Sign in
Welcome! Log into your account
your username
your password
Forgot your password? Get help
Create an account
Create an account
Welcome! Register for an account
your email
your username
A password will be e-mailed to you.
Password recovery
Recover your password
your email
A password will be e-mailed to you.
Sponsors
Tag:
Codeforces Round #411 (Div. 2)
Codeforces Round #411 (Div....
C/C++
July 24, 2017
#include <set> #include <vector> #include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int...
Read more
Codeforces Round #411 (Div....
C/C++
July 24, 2017
#include<cstdio> #include<cstring> #include<cstdlib> #include<algorithm> #include<set> using namespace std; const int MX=600111; int n,m; int pool,*c,s; int hed,nxt,t,ec,vis,vism,no; set<int>cur; inline void...
Read more
Codeforces Round #411 (Div....
C/C++
July 24, 2017
#include<bits/stdc++.h> using namespace std; int c,d,i,n,m,k,x,j=1000000007; string s; main(){ cin>>s; for(i=s.size()-1;i>=0;i--){ if(s=='b')c++;else{ k+=c;c*=2;k%=j;c%=j; } } cout<<k; }
Read more
Codeforces Round #411 (Div....
C/C++
July 24, 2017
#include<iostream> main(){int n;std::cin>>n;std::cout<<(n-1)/2;}
Read more
Codeforces Round #411 (Div....
Uncategorized
July 24, 2017
#include <cstdio> int n; int main (){ scanf("%d", &n); for (int i =...
Read more
Codeforces Round #411 (Div....
C/C++
July 24, 2017
#include <iostream> int l,r; int main() { std::cin>>l>>r; std::cout<<(l==r ? l:2); return 0; }
Read more
Advertisement