Note: This article is available in Chinese only. 本文暂无英文版本。
View original
zoj 3633 - Alice's present(暴力?set)
Related
codeforces #323 div 2 C. GCD Table (暴力?)
·960 words·2 mins
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 (枚举)
·1452 words·3 mins
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.