Sign in
Join
Home
Blog
What’s New
Life Hacks
Entertainment
Hollywood
Bollywood
Gaming
News
Reviews
Movies
Others
Game
About Us
Contact Us
Privacy Policy
Sign in
Welcome!
Log into your account
your username
your password
Forgot your password?
Create an account
Sign up
Welcome!
Register for an account
your email
your username
A password will be e-mailed to you.
Password recovery
Recover your password
your email
Search
Ani
Globe
Ani
Globe
Ani
Globe
My account
Get into your account.
Login
Register
Home
Blog
What’s New
Life Hacks
Entertainment
Hollywood
Bollywood
Gaming
News
Reviews
Movies
Others
Game
About Us
Contact Us
Privacy Policy
Search
7 Reasons This Viral...
Building India’s deep-tech enterprise...
Everything You Need to...
Dricus Du Plessis Eyes...
Tag:
Div. 1 + Div. 2)
Codeforces Round #473 (Div....
C/C++
April 18, 2018
#include<bits/stdc++.h> #define LL long long using namespace std; const int maxn =...
Read more
Codeforces Round #473 (Div....
C/C++
April 18, 2018
#include<bits/stdc++.h> using namespace std; map<string,int> ms; string str; int arr,temp,mn; int main() { int n,k,m;cin>>n>>k>>m; for(int i=1;i<=n;i++)cin>>str,ms=i; for(int...
Read more
Codeforces Round #443 (Div....
C/C++
November 8, 2017
#include<cstdio> #include<cstring> #include<algorithm> #include<set> using namespace std; int n,k; struct node { int maxx,minn,sz; node() { int x;sz = 1; for(int...
Read more
Codeforces Round #443 (Div....
C/C++
November 8, 2017
#include <stdio.h> struct node { __int64 ans,num; }s; int main() { int n,k,m; while(~scanf(“%d%d%d”,&n,&k,&m)) { scanf(“%I64d”,&s.num); s.ans=1; int len=1; for(int i=1;i<n;i++) { int x; scanf(“%d”,&x); if(x==s.num) { s.ans++; if(s.ans==k) { s.ans=0; len–; } } else { s.num=x; s.ans=1; len++; } } int...
Read more
Codeforces Round #443 (Div....
C/C++
November 8, 2017
#include <iostream> using namespace std; const int maxn = 5e5; int n,...
Read more
Codeforces Round #444 (Div....
C/C++
November 7, 2017
#include<bits/stdc++.h> #define maxn 1000050 using namespace std; int a,b,c,n,k,m,t; int main() { ...
Read more
Codeforces Round #444 (Div....
C/C++
November 7, 2017
#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; }
Read more
Codeforces Round #436 (Div....
C/C++
September 26, 2017
#include<cstdio> #include<algorithm> #include<cstring> using namespace std; const int N = 3005, INF =...
Read more
Codeforces Round #436 (Div....
C/C++
September 26, 2017
#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...
Read more
Codeforces Round #436 (Div....
C/C++
September 26, 2017
#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’ &&...
Read more
Codeforces Round #436 (Div....
C/C++
September 26, 2017
#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...
Read more
Codeforces Round #429 (Div....
Java
August 21, 2017
import java.io.*; import java.util.*; public class E { int a; static final int...
Read more
Advertisement