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
We Tested Viral Kitchen...
L&T wins ₹10,000-15,000 crore...
If a chatbot prompt...
We Tested Viral Kitchen...
Tag:
Codeforces Round #382 (Div. 1)
Codeforces Round #382 (Div....
C/C++
December 17, 2016
#include<iostream> #include<cstdio> #include<algorithm> #define N 3010 using namespace std; int n,m,f; struct ma{int x,y;}a; bool operator<(ma...
Read more
Codeforces Round #382 (Div....
C/C++
December 17, 2016
#include <bits/stdc++.h> using namespace std; const int N=2e3+1; int n,m,x,y; bitset<N*2> a; int...
Read more
Codeforces Round #382 (Div....
Electronics & Tech
December 17, 2016
#include <stdio.h> #include <string.h> #include <stdlib.h> #define M 1000000007 int add(int a, int b)...
Read more
Codeforces Round #382 (Div....
C/C++
December 17, 2016
#include<stdio.h> int isprime(int n); int main(){ int n; scanf("%d",&n); if(n%2==1){ if(isprime(n)){ printf("1"); }else{ printf("%d",3-isprime(n-2)); } }else{ printf("%d",1+(n>2)); } return 0; } int isprime(int n){ int i,j; for(i=2;i*i<=n;i++){ if(n%i==0){ return...
Read more
Codeforces Round #382 (Div....
C/C++
December 17, 2016
#include<stdio.h> main() { long long int n,i,j,c=0,a,b,k; scanf("%I64d",&n); a=1; b=1; k=a+b; while(k<=n) { c++; ...
Read more
Advertisement