↓ Skip to main content
  1. Posts/

codeforces #323 div 2 A. Asphalting Roads(暴力

Note: This article is available in Chinese only. 本文暂无英文版本。 View original

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.

codeforces #519 A A. Multiplication Table (暴力)

·385 words·1 min
A. Multiplication Table time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Let’s consider a table consisting of n rows and n columns. The cell located at the intersection of i-th row and j-th column contains number i × j. The rows and columns are numbered starting from 1.