【CF MEMSQL 3.0 B. Lazy Security Guard】】的更多相关文章

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…
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 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 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…
就像title说的,是昨天(2017/9/17)周赛的两道水题…… 题目链接:http://codeforces.com/problemset/problem/14/A time limit per test: 1 second memory limit per test: 64 megabytes A boy Bob likes to draw. Not long ago he bought a rectangular graph (checked) sheet with n rows and…
[链接]h在这里写链接 [题意] 围成对应面积的方块最少需要多少条边. [题解] 有特定的公式的. 2*ceil(2*根号下(n)); -> 自己找下规律也很简单的. [错的次数] 0 [反思] 在这了写反思 [代码] #include <bits/stdc++.h> using namespace std; int n; int main(){ //freopen("F:\\rush.txt","r",stdin); ios::sync_with…
time limit per test 1 second memory limit per test  256 megabytes input standard input output standard output Ivan is playing a strange game. He has a matrix a with n rows and m columns. Each element of the matrix is equal to either 0 or 1. Rows and…
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…