Codeforces Round #260 (Div. 2) 题解
程序员文章站
2024-04-05 10:08:42
...
Input The first line contains an integer n ( 1?≤? n ?≤?10 5 ) — the number of laptops. Next n lines contain two integers each, a i and b i (1?≤? a i ,? b i ?≤? n ) , where a i is the price of the i -th laptop, and b i is the number th
Input
The first line contains an integer n (1?≤?n?≤?105) — the number of laptops.
Next n lines contain two integers each,ai andbi(1?≤?ai,?bi?≤?n), whereai is the price of thei-th laptop, and bi is the number that represents the quality of thei-th laptop (the larger the number is, the higher is the quality).
All ai are distinct. Allbi are distinct.
上一篇: 自定义发送邮件解决思路
下一篇: Unix平台Oracle数据库优化简介
推荐阅读
-
Codeforces Round #260 (Div. 2) 题解
-
Codeforces Round #FF (Div. 2)E(线段树成段更新)_html/css_WEB-ITnose
-
codeforces Round #275(div2) D解题报告
-
Codeforces Round #260 (Div. 1)??Civilization_html/css_WEB-ITnose
-
codeforces Round #275(div2) D解题报告_html/css_WEB-ITnose
-
Codeforces Round #254 (Div. 2)D(估计)_html/css_WEB-ITnose
-
BestCoder Round #11 (Div. 2)_html/css_WEB-ITnose
-
Codeforces Round #546 (Div. 2) C. Nastya Is Transposing Matrices(矩阵转置的性质)
-
Codeforces Round #720 (Div. 2)题解
-
Codeforces Round #720 (Div. 2)