Posts
2015
codeforces #323 div 2 C. GCD Table (暴力?)
C. GCD Table
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
The GCD table G of size n × n for an array of positive integers a of length n is defined by formula
codeforces #322 div 2 D. Three Logos (枚举)
·3 分钟
D. Three Logos
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Three companies decided to order a billboard with pictures of their logos. A billboard is a big square board. A logo of each company is a rectangle of a non-zero area.
hdu 5481||bestcoder #57 div 2 C Desiderium (概率)
Desiderium # **Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 427 Accepted Submission(s): 167 **
codeforces #322 div 2 C. Developing Skills(乱搞)
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Petya loves computer games. Finally a game that he’s been waiting for so long came out!
codeforces #322 div 2 B. Luxurious Houses (思路)
B. Luxurious Houses
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
The capital of Berland has n multifloor buildings. The architect who built up the capital was very creative, so all the houses were built in one row.
codeforces #322 div 2 A. Vasya the Hipster(纱布题)
A. Vasya the Hipster
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
One day Vasya the Hipster decided to count how many socks he had. It turned out that he had a red socks and b blue socks.
[转自codeforces] How to come up with the solutions: techniques
As I work with students I often face the situation when if a problem doesn’t seem clear to a student at the first sight, it makes them unable to solve it. Indeed, you always hear about specific methods and techniques. But you don’t hear about how to think in order to apply them. In this note I’ll try to sum up my experience of solving programming contest problems. However, some pieces of advice will also be applicable for olympiads in mathematics and your first steps in academic research.
hdoj 5479 || bestcoder #57 div 2 A Scaena Felix(模拟)
模拟.
直接搞…
并不明白坑在哪里...
排在我前面被hack了100多人…