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
Sunday, December 22, 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:
Div. 1 + Div. 2)
Codeforces Round #419 (Div....
C/C++
August 7, 2017
#include <cstdio> #include <iostream> #include <cstring> #include <cstdlib> using namespace std; #define ll long...
Read more
Codeforces Round #419 (Div....
C/C++
August 7, 2017
#include <bits/stdc++.h> #define inf 0x3f3f3f3f #define rep(i, n) for (int i...
Read more
Codeforces Round #421 (Div....
C/C++
August 5, 2017
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; import java.util.TreeMap; /** *...
Read more
Codeforces Round #421 (Div....
C/C++
August 5, 2017
#include<stdio.h> #include<stdlib.h> #define LL long long int p, cur; int main(void) { LL ans, sum; int...
Read more
Codeforces Round #421 (Div....
Java
August 5, 2017
import java.util.Scanner; public class C { public static void main(String args)...
Read more
Codeforces Round #421 (Div....
C/C++
August 5, 2017
#include <iostream> using namespace std; int main(){ int n,m,q; cin>>n>>m; q=(n*m+90)/180+2; if(q<n){ n=q; } if(n<3){ n=3; } cout<<"2 1 "<<n; return 0; }
Read more
Tinkoff Challenge – Final...
C/C++
July 24, 2017
#include<set> #include<map> #include<ctime> #include<cmath> #include<queue> #include<bitset> #include<string> #include<cstdio> #include<cctype> #include<vector> #include<cstdlib> #include<cstring> #include<cassert> #include<sstream> #include<numeric> #include<iostream> #include<algorithm> #include<functional> using namespace std; #define For(i,x,y) for(int i=x,_y=y;i<=_y;++i) #define Rep(i,x,y) for(int i=x,_y=y;i>=_y;--i) #define...
Read more
Tinkoff Challenge – Final...
C/C++
July 24, 2017
#include <cstdio> #include <iostream> #include <algorithm> #define N 100010 using namespace std; typedef long...
Read more
Tinkoff Challenge – Final...
C/C++
July 24, 2017
#include<iostream> #include<cstdio> #include<fstream> #include<algorithm> #include<vector> #include<map> #include<set> #include<queue> #include<cmath> #include<cstring> #include<cstdlib> using namespace std; int a,b; int main() { int n,i,x,y; cin>>n; for(i=1;i<=n;i=i+1) cin>>a; for(i=1;i<=n;i=i+1) { x=(i-1)-(n-i); if(x<0) x=-x; b=max(b,a); } for(i=1;i<n;i=i+1) { x=(i-1)-(n-i-1); if(x<0) x=-x; b=max(b,min(a,a)); } for(i=2;i<=n;i=i+1) b=max(b,b); for(i=1;i<n;i=i+1) cout<<b<<' '; cout<<b<<endl; return 0; }
Read more
Tinkoff Challenge – Final...
Uncategorized
July 24, 2017
#include<bits/stdc++.h> #define MAXN 300100 using namespace std; struct node{int y,next;}e; int n,m,len,Link,p,hash,col,vis,used; inline int...
Read more
Tinkoff Challenge – Final...
C/C++
July 24, 2017
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; #define MN 300000 char a,b,c; bool cmp(char x,char y){return...
Read more
Tinkoff Challenge – Final...
C/C++
July 24, 2017
#include<bits/stdc++.h> int main(){double p,l,i=1;std::cin>>p>>l;for(;i<p;)printf("%.7f ",sqrt(i++/p)*l);}
Read more
Advertisement