CF memsql Start[c]UP 2.0 A A. Golden System time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Piegirl got bored with binary, decimal and other integer based counting systems. Recently she dis…
CF memsql Start[c]UP 2.0 B B. Distributed Join time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Piegirl was asked to implement two table join operation for distributed database system, minim…
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output This year, as in previous years, MemSQL is inviting the top 25 competitors from the Start[c]up qualification round to compete onsite for the…
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A new set of desks just arrived, and it's about time! Things were getting quite cramped in the office. You've been put in charge of creating…
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The annual college sports-ball tournament is approaching, which for trademark reasons we'll refer to as Third Month Insanity. There are a to…
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You may have heard of the pie rule before. It states that if two people wish to fairly share a slice of pie, one person should cut the slice…
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Your security guard friend recently got a new job at a new security company. The company requires him to patrol an area of the city encompas…
http://codeforces.com/contest/452/problem/B B. 4-point polyline time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a rectangular grid of lattice points from (0, 0) to (n, m) i…
搞到凌晨4点一个没出,要gg了. A. Golden System http://codeforces.com/contest/458/problem/A #include<cstdio> #include<cstring> #include<cmath> #include<algorithm> using namespace std; )/; ; char a[M],b[M]; int sa[M],sb[M]; void gxrev(char c[]){…