Sponsors

Tag: Codeforces.com

Playrix Codescapes Cup (Codeforces...

include<cstdio> using namespace std; inline int read(){ char c=getchar();int p=1,ret=0; while((c<'0')||(c>'9')){if(c=='-')p=-1;c=getchar();} while((c>='0')&&(c<='9'))ret=(ret<<1)+(ret<<3)+c-'0',c=getchar(); return ret*p; } int n,m; long...

Playrix Codescapes Cup (Codeforces...

#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; #define N 200010 #define ll long long #define INF...

Playrix Codescapes Cup (Codeforces...

#include <bits/stdc++.h> using namespace std; typedef int64_t ll; #define f(i,j,k) for(int i=j;i<k;i++) const...

Playrix Codescapes Cup (Codeforces...

#include <iostream> #include <algorithm> #include <vector> using namespace std; int n, c, d; int...

Playrix Codescapes Cup (Codeforces...

from heapq import heappush, heappop n = input() p = map(int,...

Playrix Codescapes Cup (Codeforces...

main(n,t,k,d){scanf("%d%d%d%d",&n,&t,&k,&d);puts(d<(n-1)/k*t?"YES":"NO");}

Codeforces Round #412 (rated,...

#include<bits/stdc++.h> #define ll long long ll multmod(ll a, ll b, ll...

Codeforces Round #412 (rated,...

import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.StringTokenizer; public class...

Codeforces Round #412 (rated,...

#include<bits/stdc++.h> using namespace std; int n; long long a; int check(int x){ int i,j,res,ress,t,sum; long...

Codeforces Round #412 (rated,...

#include<bits/stdc++.h> using namespace std; int a; int cnt; int n; int getsc(int id, bool...

Codeforces Round #412 (rated,...

#include <bits/stdc++.h> using namespace std; int p,x,y,i; int luc(int s){ s = (s/50)%475; for...

Codeforces Round #412 (rated,...

#include <iostream> using namespace std; int n,i,a,a1,b,f; string s={"maybe","unrated","rated"}; int main(){ cin>>n; for(;i<n;i++){ cin>>a>>b; if(a!=b){f=2;break;} if(i>0&&a>a1)f=1; a1=a; } cout<<s; }

Advertisement

spot_img