codeforces Round #260(div2) A解题报告
程序员文章站
2024-01-15 17:09:40
...
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 and bi (1?≤?ai,?bi?≤?n), where ai is the price of the i-th laptop, and bi is the number that represents the quality of the i-th laptop (the larger the number is, the higher is the quality).
All ai are distinct. All bi are distinct.
上一篇: 哪位高手能推荐一本php的书啊
下一篇: 11个PHP 分页脚本推荐
推荐阅读
-
Codeforces Round #278 (Div. 1) 解题报告_html/css_WEB-ITnose
-
codeforces Round #259(div2) B解题报告
-
codeforces Round #260(div2) E解题报告
-
Codeforces Round #281 (Div. 2) 解题报告 A.B.C.D._html/css_WEB-ITnose
-
codeforces Round #260(div2) E解题报告
-
Codeforces Round #279 (Div. 2) 解题报告_html/css_WEB-ITnose
-
【解题报告】Codeforces Round #409 (rated, Div. 2, based on VK Cup 2017 Round 2)
-
Codeforces Round #260 (Div. 2) D. A Lot of Games(树上博弈)
-
B. Amr and Pins (Codeforces Round #287 (div2))
-
Codeforces Round #264 (div2)B. Caisa and Pylons