?
太弱了,简直不忍直视!!
?
?
| ZOJ MONTHLY, AUGUST 2014 |
| A |
Abs Problem |
39.87% (321/805) |
| B |
Bike in ZJU |
4.06% (5/123) |
| C |
Calculation |
8.23% (7/85) |
| D |
Determinant and Matrix |
7.14% (1/14) |
| E |
Easy 2048 Again |
18.12% (62/342) |
| F |
Function |
19.04% (8/42) |
| G |
YY's Minions |
52.73% (183/347) |
| H |
Machine |
25.91% (234/903) |
| I |
Incircle and Circumcircle |
18.08% (87/481) |
| J |
Just a Palindrome |
5.88% (2/34) |
| K |
The Sum of Unitary Totient |
28.57% (2/7) |
?
?
ZOJ 3798 Abs Problem
给你一个数 n ,要求构造一个 n 的排列 a1,a2,…,an ,令 bi=|ai?bi?1|,b1=a1 ,满足 bn 最大,同样构造一个满足 bn 最大。
打表找规律,就A了。。。
?
#include
#include
#include
#include
#include
#include
#include